Ignore:
Timestamp:
04/28/06 19:49:56 (18 years ago)
Author:
igarcia
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/IBRBillboardCloudTreeApplication.cpp

    r778 r861  
    206206 
    207207        { 
     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        { 
    208225                LBBC::BillboardViewMode *anotherFrameListenerMode; 
    209226                anotherFrameListenerMode = new LBBC::BillboardViewMode(mWindow,mFrameListener->getNumFrameListenerModes()); 
     
    211228                anotherFrameListenerMode->createCamera(); 
    212229                anotherFrameListenerMode->createViewports(); 
    213                 //anotherFrameListenerMode->setBillboardCloudMeshName(mSampleConfigFile->getBillboardCloudGroupedMeshName()); 
     230                anotherFrameListenerMode->setBillboardCloudMeshName(mSampleConfigFile->getBillboardCloudGroupedMeshName()); 
    214231                anotherFrameListenerMode->createScene(); 
    215232                mFrameListener->addFrameListenerMode(anotherFrameListenerMode); 
     
    222239                anotherFrameListenerMode->createCamera(); 
    223240                anotherFrameListenerMode->createViewports(); 
    224                 //anotherFrameListenerMode->setEntityClustersMeshName(mSampleConfigFile->getEntityClustersGroupedMeshName()); 
     241                anotherFrameListenerMode->setEntityClustersMeshName(mSampleConfigFile->getEntityClustersGroupedMeshName()); 
    225242                anotherFrameListenerMode->createScene(); 
    226243                mFrameListener->addFrameListenerMode(anotherFrameListenerMode); 
Note: See TracChangeset for help on using the changeset viewer.