Changeset 861 for GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/IBRBillboardCloudTreeApplication.cpp
- Timestamp:
- 04/28/06 19:49:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/IBRBillboardCloudTreeApplication.cpp
r778 r861 206 206 207 207 { 208 LBBC::EntityTextureAtlasViewMode *textureAtlasFrameListenerMode; 209 textureAtlasFrameListenerMode = new LBBC::EntityTextureAtlasViewMode(mWindow,mFrameListener->getNumFrameListenerModes()); 210 textureAtlasFrameListenerMode->chooseSceneManager(); 211 textureAtlasFrameListenerMode->createCamera(); 212 textureAtlasFrameListenerMode->createViewports(); 213 textureAtlasFrameListenerMode->setTextureAtlasSize(mSampleConfigFile->getBillboardCloudDiffuseColorEntityTextureAtlasSize()); 214 textureAtlasFrameListenerMode->setTextureAtlasBitRange(mSampleConfigFile->getBillboardCloudDiffuseColorEntityTextureAtlasBitRange()); 215 textureAtlasFrameListenerMode->setTextureAtlasNumSamples(mSampleConfigFile->getBillboardCloudDiffuseColorEntityTextureAtlasNumSamples()); 216 textureAtlasFrameListenerMode->setTextureName(mSampleConfigFile->getBillboardCloudDiffuseColorEntityTextureName()); 217 textureAtlasFrameListenerMode->setTextureAtlasName(mSampleConfigFile->getBillboardCloudDiffuseColorEntityTextureAtlasName()); 218 textureAtlasFrameListenerMode->setTextureAtlasFolder(mSampleConfigFile->getBillboardCloudFolder()); 219 220 mFrameListener->addFrameListenerMode(textureAtlasFrameListenerMode); 221 textureAtlasFrameListenerMode->createScene(); 222 } 223 224 { 208 225 LBBC::BillboardViewMode *anotherFrameListenerMode; 209 226 anotherFrameListenerMode = new LBBC::BillboardViewMode(mWindow,mFrameListener->getNumFrameListenerModes()); … … 211 228 anotherFrameListenerMode->createCamera(); 212 229 anotherFrameListenerMode->createViewports(); 213 //anotherFrameListenerMode->setBillboardCloudMeshName(mSampleConfigFile->getBillboardCloudGroupedMeshName());230 anotherFrameListenerMode->setBillboardCloudMeshName(mSampleConfigFile->getBillboardCloudGroupedMeshName()); 214 231 anotherFrameListenerMode->createScene(); 215 232 mFrameListener->addFrameListenerMode(anotherFrameListenerMode); … … 222 239 anotherFrameListenerMode->createCamera(); 223 240 anotherFrameListenerMode->createViewports(); 224 //anotherFrameListenerMode->setEntityClustersMeshName(mSampleConfigFile->getEntityClustersGroupedMeshName());241 anotherFrameListenerMode->setEntityClustersMeshName(mSampleConfigFile->getEntityClustersGroupedMeshName()); 225 242 anotherFrameListenerMode->createScene(); 226 243 mFrameListener->addFrameListenerMode(anotherFrameListenerMode);
Note: See TracChangeset
for help on using the changeset viewer.