Commit 53a361aa authored by Ken Martin's avatar Ken Martin
Browse files

new rendering arch

parent 714269ae
......@@ -21,17 +21,17 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#ifndef __vlXglrCamera_hh
#define __vlXglrCamera_hh
#include "Camera.hh"
#include "CamDev.hh"
class vlXglrRenderer;
class vlXglrCamera : public vlCamera
class vlXglrCamera : public vlCameraDevice
{
public:
char *GetClassName() {return "vlXglrCamera";};
void Render(vlRenderer *ren);
void Render(vlXglrRenderer *ren);
void Render(vlCamera *cam, vlRenderer *ren);
void Render(vlCamera *cam, vlXglrRenderer *ren);
};
......
......@@ -21,19 +21,19 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#ifndef __vlXglrLight_hh
#define __vlXglrLight_hh
#include "Light.hh"
#include "LgtDev.hh"
class vlXglrRenderer;
class vlXglrLight : public vlLight
class vlXglrLight : public vlLightDevice
{
protected:
public:
char *GetClassName() {return "vlXglrLight";};
void Render(vlRenderer *ren,int light_index);
void Render(vlXglrRenderer *ren,int light_index);
void Render(vlLight *lgt, vlRenderer *ren,int light_index);
void Render(vlLight *lgt, vlXglrRenderer *ren,int light_index);
};
......
......@@ -21,17 +21,17 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#ifndef __vlXglrProperty_hh
#define __vlXglrProperty_hh
#include "Property.hh"
#include "PropDev.hh"
class vlXglrRenderer;
class vlXglrProperty : public vlProperty
class vlXglrProperty : public vlPropertyDevice
{
public:
char *GetClassName() {return "vlXglrProperty";};
void Render(vlRenderer *ren);
void Render(vlXglrRenderer *ren);
void Render(vlProperty *prop, vlRenderer *ren);
void Render(vlProperty *prop, vlXglrRenderer *ren);
};
#endif
......@@ -36,11 +36,10 @@ public:
void PrintSelf(ostream& os, vlIndent indent);
vlRenderer *MakeRenderer();
vlActor *MakeActor();
vlLight *MakeLight();
vlCamera *MakeCamera();
vlProperty *MakeProperty();
vlTexture *MakeTexture();
vlLightDevice *MakeLight();
vlCameraDevice *MakeCamera();
vlPropertyDevice *MakeProperty();
vlTextureDevice *MakeTexture();
void Start(void);
void Frame(void);
......
......@@ -21,18 +21,18 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#ifndef __vlXglrTexture_hh
#define __vlXglrTexture_hh
#include "Texture.hh"
#include "TextDev.hh"
class vlXglrRenderer;
class vlXglrTexture : public vlTexture
class vlXglrTexture : public vlTextureDevice
{
public:
vlXglrTexture();
char *GetClassName() {return "vlXglrTexture";};
void Load(vlRenderer *ren);
void Load(vlXglrRenderer *ren);
void Load(vlTexture *txt, vlRenderer *ren);
void Load(vlTexture *txt, vlXglrRenderer *ren);
protected:
vlTimeStamp LoadTime;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment