Ignore:
Timestamp:
02/15/07 19:08:55 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2118 r2121  
    494494         
    495495        // Create a skybox 
    496         mSceneMgr->setSkyBox(true, "Examples/CloudyNoonSkyBox", 5000, true); 
     496        mSceneMgr->setSkyBox(true, "Examples/CloudyNoonSkyBox", 50000, true); 
    497497         
    498498        // terrain creation 
     
    508508        //-- CEGUI setup 
    509509        setupGui(); 
    510  
    511         // occluder plane to test visibility 
    512         if (0) 
    513         { 
    514                 Plane plane;  
    515                 plane.normal = Vector3::UNIT_Y;  
    516                 plane.d = -60; 
    517  
    518                 MeshManager::getSingleton().createPlane("Myplane", 
    519                         ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, plane, 
    520                         5000,5000,100,100,true,1,5,5,Vector3::UNIT_Z); 
    521  
    522                 Entity* pPlaneEnt = mSceneMgr->createEntity( "plane", "Myplane" ); 
    523                 pPlaneEnt->setMaterialName("Examples/Rockwall"); 
    524                 pPlaneEnt->setCastShadows(true); 
    525                 mSceneMgr->getRootSceneNode()->createChildSceneNode()->attachObject(pPlaneEnt); 
    526         } 
    527510 
    528511        // Warning: In GL since we can't go higher than the window res 
Note: See TracChangeset for help on using the changeset viewer.