Changeset 1480 for GTP/trunk/App/Demos/Illum/PathMap/PathMapEffect.h
- Timestamp:
- 09/22/06 20:58:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/PathMap/PathMapEffect.h
r896 r1480 10 10 #define DBLATLASSIZE (ATLASSIZE * 2.0) 11 11 12 #define NRADIONS 409612 #define NRADIONS (4096) 13 13 #define NCLUSTERS 32 14 14 #define DEPTHMAPRES 512 … … 93 93 struct RenderMesh 94 94 { 95 char name[256]; 96 95 97 unsigned int nSubsets; //!< number of submeshes (with possible different material) 96 98 LPD3DXMESH mesh; //!< D3D mesh … … 132 134 struct Entity 133 135 { 136 char name[256]; 137 char prmfilename[256]; 138 int nNearClusters; 139 int rpmAtlasSize; 140 134 141 PathMapEffect* owner; //!< enclosing class instance 135 142 … … 152 159 153 160 //! array of cluster indices storing which clusters are relevant. PRM tiles correspond to these clusters 154 unsigned int nearClusterIndices[ NCLUSTERSPERENTITY];161 unsigned int nearClusterIndices[32]; 155 162 156 163 //! fill the nearClusterIndices array … … 245 252 //! restore all precomputed data for the scene from folder prm 246 253 void loadPathMaps(); 254 255 void exportEntityData(); 256 257 void loadScene(const char* sceneFileName); 247 258 };
Note: See TracChangeset
for help on using the changeset viewer.