Changeset 2274 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 03/21/07 11:08:10 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h
r2272 r2274 46 46 String("head.mesh")}; 47 47 48 float objectscales[] = {0.01 ,1.7,1,0.1};48 float objectscales[] = {0.015,1.7,1,0.1}; 49 49 float scenescales[] = {0.3,1, 2.7}; 50 50 … … 481 481 482 482 mCamera->getParentSceneNode()->translate(0.944, 1.857, 1.054); 483 mCamera->lookAt(Vector3(0.11, 1.043, -0.102));483 //mCamera->lookAt(Vector3(0.11, 1.043, -0.102)); 484 484 485 485 object = mSceneMgr->createEntity("object", objectNames[currentObject]); -
GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/ReflectionTest.cpp
r1720 r2274 41 41 #endif 42 42 { 43 43 std::vector<String> args = StringUtil::split(String(strCmdLine)); 44 for(int i = 0; i < args.size(); i += 2) 45 { 46 if(args[i] == "-o") 47 currentObject = StringConverter::parseInt(args[i+1]); 48 else if (args[i] == "-s") 49 scene = StringConverter::parseInt(args[i+1]); 50 else if(args[i] == "-m") 51 currentMaterial = StringConverter::parseInt(args[i+1]); 52 } 44 53 // Create application object 45 54 RaytraceDemoApplication app;
Note: See TracChangeset
for help on using the changeset viewer.