- Timestamp:
- 05/05/06 15:19:28 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/LBBC/LBBCBillboardViewMode.h
r900 r909 25 25 bool frameStarted(const Ogre::FrameEvent& evt, Ogre::InputReader *inputReader) 26 26 { 27 Ogre::LogManager::getSingleton().logMessage("Before reloading the textureUnitState:" + mBillboardCloudEntity->getSubEntity(0)->getMaterial()->getBestTechnique()->getPass(0)->getTextureUnitState(1)->getName()); 28 Ogre::TextureManager::getSingleton().load(mBillboardCloudEntity->getSubEntity(0)->getMaterial()->getBestTechnique()->getPass(0)->getTextureUnitState(1)->getName(), Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 29 //mBillboardCloudEntity->getSubEntity(0)->getMaterial()->getBestTechnique()->getPass(0)->getTextureUnitState(1)->_load(); 30 Ogre::LogManager::getSingleton().logMessage("After reloading the textureUnitState:" + mBillboardCloudEntity->getSubEntity(0)->getMaterial()->getBestTechnique()->getPass(0)->getTextureUnitState(1)->getName()); 31 //mWindow->setDebugText(mBillboardCloudEntity->getSubEntity(0)->getMaterial()->getBestTechnique()->getPass(0)->getTextureUnitState(1)->getName()); 32 27 33 showDebugOverlay(true); 28 34 mWindow->getViewport(0)->setBackgroundColour(Ogre::ColourValue(0.0, 0.0, 0.0, 1.0)); 29 mEpsilonText = Ogre::String("Epsilon:") + Ogre::StringConverter::toString(epsilonX) + Ogre::String(",") + Ogre::StringConverter::toString(epsilonY);30 mWindow->setDebugText(mEpsilonText);31 35 //mEpsilonText = Ogre::String("Epsilon:") + Ogre::StringConverter::toString(epsilonX) + Ogre::String(",") + Ogre::StringConverter::toString(epsilonY); 36 //mWindow->setDebugText(mEpsilonText); 37 32 38 return OgreFrameListenerMode::frameStarted(evt, inputReader); 33 39 }
Note: See TracChangeset
for help on using the changeset viewer.