Ignore:
Timestamp:
09/22/06 20:58:26 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/PathMap/PathMapEffect.h

    r896 r1480  
    1010#define DBLATLASSIZE (ATLASSIZE * 2.0) 
    1111 
    12 #define NRADIONS        4096 
     12#define NRADIONS                (4096) 
    1313#define NCLUSTERS       32 
    1414#define DEPTHMAPRES     512 
     
    9393        struct RenderMesh 
    9494        { 
     95                char                            name[256]; 
     96 
    9597                unsigned int            nSubsets;       //!< number of submeshes (with possible different material) 
    9698                LPD3DXMESH                      mesh;           //!< D3D mesh 
     
    132134        struct Entity 
    133135        { 
     136                char                            name[256]; 
     137                char                            prmfilename[256]; 
     138                int                                     nNearClusters; 
     139                int                                     rpmAtlasSize; 
     140 
    134141                PathMapEffect* owner;   //!< enclosing class instance 
    135142 
     
    152159 
    153160                //! 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]; 
    155162 
    156163                //! fill the nearClusterIndices array 
     
    245252        //! restore all precomputed data for the scene from folder prm 
    246253        void loadPathMaps(); 
     254 
     255        void exportEntityData(); 
     256 
     257        void loadScene(const char* sceneFileName); 
    247258}; 
Note: See TracChangeset for help on using the changeset viewer.