Ignore:
Timestamp:
12/05/06 11:33:20 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h

    r1849 r1850  
    288288                Entity* object = mSceneMgr->createEntity("object", "teapot.mesh"); 
    289289                object->setMaterialName("MetalTeapotMultipleBounce"); 
    290                 objectNode = rootNode->createChildSceneNode(); 
     290                objectNode = rootNode->createChildSceneNode("objectNode"); 
    291291                objectNode->attachObject(object); 
    292292                objectNode->scale(0.5,0.5,0.5); 
     
    295295                objectNode->_updateBounds(); 
    296296 
     297                capture->addAnimableNode(objectNode); 
    297298                capture->addAnimableNode(mCamera->getParentSceneNode()); 
    298                 capture->addAnimableNode(objectNode); 
    299  
     299                 
    300300                Entity* room = mSceneMgr->createEntity("scene", "difflab.mesh"); 
    301301                //room->setMaterialName("GameTools/Phong"); 
Note: See TracChangeset for help on using the changeset viewer.