Changeset 1850 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 12/05/06 11:33:20 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h
r1849 r1850 288 288 Entity* object = mSceneMgr->createEntity("object", "teapot.mesh"); 289 289 object->setMaterialName("MetalTeapotMultipleBounce"); 290 objectNode = rootNode->createChildSceneNode( );290 objectNode = rootNode->createChildSceneNode("objectNode"); 291 291 objectNode->attachObject(object); 292 292 objectNode->scale(0.5,0.5,0.5); … … 295 295 objectNode->_updateBounds(); 296 296 297 capture->addAnimableNode(objectNode); 297 298 capture->addAnimableNode(mCamera->getParentSceneNode()); 298 capture->addAnimableNode(objectNode); 299 299 300 300 Entity* room = mSceneMgr->createEntity("scene", "difflab.mesh"); 301 301 //room->setMaterialName("GameTools/Phong");
Note: See TracChangeset
for help on using the changeset viewer.