Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

Scene Class Reference
[Graphics]

Scene object. More...

#include <scene.h>

List of all members.

Public Member Functions

void addPTObject (Object *o)
 Add partially transparent object.

void addSurfaceObject (Object *o)
 Add surface object.

void init ()
void draw ()
 Scene ()

Public Attributes

AdsoTexturegroundTex
AdsoTextureearthTex
AdsoTexturesunTex
AdsoHierSurfhs
int draw_shadows
int draw_far_objects
int draw_vehicle
int draw_surface
Camera eye
int starCount
Starstars
v3f earthV1
v3f earthV2
v3f earthV3
v3f earthV4
v3f sunPos
float farObjectDistance
GLuint groundTI
GLuint earthTI
GLuint shadowTI
GLuint photonTI
int ground_shadows
GLubyte * shadowMap
int shadowMapDim
float shadowMapSize
float subShadowSize
int clearShadow1X
int clearShadow1Y
int clearShadow1Dim
int clearShadow1
int clearShadow2X
int clearShadow2Y
int clearShadow2Dim
int clearShadow2
v3f lightPos


Detailed Description

Scene object.

The scene defines the environment containing the planet and background objects as well as objects on the planet (vehicles, epsilon object), The scene is responsible for drawing the planet and background objects and calling the draw method in each object registered in the scene.


Constructor & Destructor Documentation

Scene::Scene  ) 
 


Member Function Documentation

void Scene::addPTObject Object o  ) 
 

Add partially transparent object.

void Scene::addSurfaceObject Object o  ) 
 

Add surface object.

void Scene::draw  ) 
 

void Scene::init  ) 
 


Member Data Documentation

int Scene::clearShadow1
 

int Scene::clearShadow1Dim
 

int Scene::clearShadow1X
 

int Scene::clearShadow1Y
 

int Scene::clearShadow2
 

int Scene::clearShadow2Dim
 

int Scene::clearShadow2X
 

int Scene::clearShadow2Y
 

int Scene::draw_far_objects
 

int Scene::draw_shadows
 

int Scene::draw_surface
 

int Scene::draw_vehicle
 

AdsoTexture* Scene::earthTex
 

GLuint Scene::earthTI
 

v3f Scene::earthV1
 

v3f Scene::earthV2
 

v3f Scene::earthV3
 

v3f Scene::earthV4
 

Camera Scene::eye
 

float Scene::farObjectDistance
 

int Scene::ground_shadows
 

AdsoTexture* Scene::groundTex
 

GLuint Scene::groundTI
 

AdsoHierSurf* Scene::hs
 

v3f Scene::lightPos
 

GLuint Scene::photonTI
 

GLubyte* Scene::shadowMap
 

int Scene::shadowMapDim
 

float Scene::shadowMapSize
 

GLuint Scene::shadowTI
 

int Scene::starCount
 

Star* Scene::stars
 

float Scene::subShadowSize
 

v3f Scene::sunPos
 

AdsoTexture* Scene::sunTex
 


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 10:44:48 2003 for Rover by doxygen 1.3.2