Changeset 1879 for GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest
- Timestamp:
- 12/11/06 16:30:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h
r1863 r1879 30 30 #include "FrameCapture.h" 31 31 32 int scene = 3;32 int scene = 1; 33 33 FrameCapture* capture; 34 34 … … 311 311 SceneNode* rootNode = mSceneMgr->getRootSceneNode(); 312 312 313 mCamera->setPosition(0.532,1.232,1.529); 314 mCamera->lookAt(Vector3(0,1.2,0.0)); 315 316 Entity* object = mSceneMgr->createEntity("object", "teapot.mesh"); 313 mCamera->getParentSceneNode()->translate(1.1,0.8,1.0); 314 //mCamera->lookAt(Vector3(0,1.2,0.0)); 315 316 bool teapot = true; 317 Entity* object; 318 if(teapot) 319 object = mSceneMgr->createEntity("object", "teapot.mesh"); 320 else 321 object = mSceneMgr->createEntity("object", "sphere.mesh"); 322 317 323 object->setMaterialName("MetalTeapotMultipleBounce"); 318 324 objectNode = rootNode->createChildSceneNode("objectNode"); 319 325 objectNode->attachObject(object); 326 if(teapot) 320 327 objectNode->scale(0.5,0.5,0.5); 328 else 329 objectNode->scale(0.005,0.005,0.005); 321 330 //objectNode->scale(0.005,0.005,0.005); 322 331 objectNode->setPosition(0,1.2,0);
Note: See TracChangeset
for help on using the changeset viewer.