- Timestamp:
- 06/25/07 17:50:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/FPSPlayer.cpp
r2465 r2468 83 83 attachNode = meshNode->createChildSceneNode(name + "_AttachNode"); 84 84 fireBallNode = attachNode->createChildSceneNode(name + "_FireBallNode"); 85 //fireBallNode->attachObject(mFireBallLight);85 fireBallNode->attachObject(mFireBallLight); 86 86 BillboardSet* bbs = ((BillboardParticleRenderer*)mFireBall->getRenderer())->getBillboardSet(); 87 87 fireBallNode->attachObject(mFireBall); … … 149 149 isActive = true; 150 150 mFireBall->setVisible(true); 151 //mFireBallLight->setVisible(true);151 mFireBallLight->setVisible(true); 152 152 fireBallNode->attachObject(mFireBall); 153 fireBallNode->attachObject(mFireBallLight);153 // fireBallNode->attachObject(mFireBallLight); 154 154 //mFireBallLight->setPowerScale(200); 155 155 CompositorManager::getSingleton().setCompositorEnabled( … … 162 162 isActive = false; 163 163 fireBallNode->detachObject(mFireBall); 164 fireBallNode->detachObject(mFireBallLight);164 // fireBallNode->detachObject(mFireBallLight); 165 165 //mFireBallLight->setPowerScale(0); 166 166 mFireBall->setVisible(false); 167 //mFireBallLight->setVisible(false);167 mFireBallLight->setVisible(false); 168 168 CompositorManager::getSingleton().setCompositorEnabled( 169 169 OgreIlluminationManager::getSingleton().getMainViewport(),
Note: See TracChangeset
for help on using the changeset viewer.