Changeset 2274


Ignore:
Timestamp:
03/21/07 11:08:10 (17 years ago)
Author:
szirmay
Message:
 
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  
    4646                                                String("head.mesh")}; 
    4747 
    48 float objectscales[] = {0.01,1.7,1,0.1}; 
     48float objectscales[] = {0.015,1.7,1,0.1}; 
    4949float scenescales[] = {0.3,1, 2.7}; 
    5050 
     
    481481                 
    482482                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)); 
    484484                         
    485485                object = mSceneMgr->createEntity("object", objectNames[currentObject]); 
  • GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/ReflectionTest.cpp

    r1720 r2274  
    4141#endif 
    4242{ 
    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        } 
    4453    // Create application object 
    4554    RaytraceDemoApplication app; 
Note: See TracChangeset for help on using the changeset viewer.