Cafu Engine
BspTreeBuilderT Class Reference

Public Member Functions

 BspTreeBuilderT (cf::SceneGraph::BspTreeNodeT *BspTree_, bool MostSimpleTree, bool BspSplitFaces, bool ChopUpFaces)
 
void Build (bool IsWorldspawn, const ArrayT< Vector3dT > &FloodFillSources_, const ArrayT< Vector3dT > &OutsidePointSamples, const std::string &MapFileName)
 
void ChopUpFaces ()
 
void PrepareLeakDetection (const ArrayT< Vector3dT > &FloodFillSources, MaterialT *LeakDetectMat)
 
void BuildBSPTree ()
 
void Portalize ()
 
void FloodFillInside (const ArrayT< VectorT > &FloodFillOrigins, const ArrayT< VectorT > &WorldOutsidePointSamples)
 
void DetectLeaks (const ArrayT< VectorT > &FloodFillOrigins, const std::string &WorldFileName, MaterialT *LeakDetectMat)
 
void AssignOtherChildrenToLeaves ()
 
void RemoveOuterFaces ()
 
void RemoveOuterPortals ()
 
void MergeFaces ()
 
void SortFacesIntoTexNameOrder ()
 
void ChopUpForMaxLightMapSize ()
 
void ChopUpForMaxSHLMapSize ()
 
void CreateFullBrightLightMaps ()
 
void CreateZeroBandSHLMaps ()
 
void ComputeDrawStructures ()
 
void CreateFullVisPVS ()
 

Public Attributes

cf::SceneGraph::BspTreeNodeTBspTree
 
ArrayT< uint32_t > & PVS
 
ArrayT
< cf::SceneGraph::FaceNodeT * > & 
FaceChildren
 
ArrayT
< cf::SceneGraph::GenericNodeT * > & 
OtherChildren
 
ArrayT< VectorT > & GlobalDrawVertices
 

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