BSP Class Reference

#include <BSP.h>

Collaboration diagram for BSP:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Load (char *filename, int curveTesselation)
int CalculateCameraLeaf (const VECTOR3D &cameraPosition)
void CalculateVisibleFaces (const XYZ &cameraPosition, FRUSTUM &frustum, BITSET &segmentMask)
void buildSingleCluster ()
void DrawGLSL (ObjectShader &shader)
void setLightMapGamma (float gamma_val)
void showAll (bool show_all_in)
void disableVIS (bool disable_vis_in)
bool LoadVertices (FILE *file)
bool LoadFaces (FILE *file, int curveTesselation)
bool LoadTextures (FILE *file)
bool LoadLightmaps (FILE *file)
int isClusterVisible (int cameraCluster, int testCluster)
bool LoadBSPData (FILE *file)
 BSP ()
 ~BSP ()

Public Attributes

unsigned long shader_mask
bool show_all
bool disable_vis
BSP_HEADER header
int numVertices
BSP_VERTEXvertices
Object clusterObject
std::vector< unsigned long > face_test
int numTotalFaces
bool single_cluster
BSP_FACE_DIRECTORY_ENTRYfaceDirectory
int numPolygonFaces
BSP_POLYGON_FACEpolygonFaces
int * meshIndices
int numMeshFaces
BSP_MESH_FACEmeshFaces
int numPatches
BSP_PATCHpatches
BITSET facesToDraw
BITSET leafActive
float gamma
int numTextures
unsigned long * decalMaterials
unsigned long * decalTextures
bool * isTextureLoaded
bool * isTextureTGA
BSP_LOAD_TEXTUREloadTextures
int numLightmaps
unsigned long * lightmapTextures
GLuint whiteTexture
char * entityString
int numLeaves
BSP_LEAFleaves
int * leafFaces
int numPlanes
PLANEplanes
int numNodes
BSP_NODEnodes
cvrIndex nullMat
BSP_VISIBILITY_DATA visibilityData


Constructor & Destructor Documentation

BSP::BSP (  )  [inline]

BSP::~BSP (  )  [inline]


Member Function Documentation

bool BSP::Load ( char *  filename,
int  curveTesselation 
)

Here is the call graph for this function:

int BSP::CalculateCameraLeaf ( const VECTOR3D cameraPosition  ) 

void BSP::CalculateVisibleFaces ( const XYZ cameraPosition,
FRUSTUM frustum,
BITSET segmentMask 
)

Here is the call graph for this function:

void BSP::buildSingleCluster (  ) 

Here is the call graph for this function:

void BSP::DrawGLSL ( ObjectShader shader  ) 

Here is the call graph for this function:

void BSP::setLightMapGamma ( float  gamma_val  )  [inline]

void BSP::showAll ( bool  show_all_in  ) 

void BSP::disableVIS ( bool  disable_vis_in  ) 

bool BSP::LoadVertices ( FILE *  file  ) 

bool BSP::LoadFaces ( FILE *  file,
int  curveTesselation 
)

Here is the call graph for this function:

bool BSP::LoadTextures ( FILE *  file  ) 

Here is the call graph for this function:

bool BSP::LoadLightmaps ( FILE *  file  ) 

Here is the call graph for this function:

int BSP::isClusterVisible ( int  cameraCluster,
int  testCluster 
)

bool BSP::LoadBSPData ( FILE *  file  ) 

Here is the call graph for this function:


Member Data Documentation

unsigned long BSP::shader_mask

std::vector<unsigned long> BSP::face_test

float BSP::gamma

unsigned long* BSP::decalMaterials

unsigned long* BSP::decalTextures

unsigned long* BSP::lightmapTextures

cvrIndex BSP::nullMat


The documentation for this class was generated from the following files:

Generated on Thu Mar 19 19:35:09 2009 for CubicVR by  doxygen 1.5.6