Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 510


Ignore:
Timestamp:
Dec 13, 2007, 1:52:36 PM (16 years ago)
Author:
nicolape
Message:

Added one more skybox

Location:
code/branches/FICN
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/Media/materials/scripts/Orxonox.material

    r509 r510  
    1 material Orxonox/SampleSkyBox
     1material Orxonox/StarSkyBox
    22{
    33        technique
     
    1616        }
    1717}
     18
     19material Orxonox/BlueStarSkyBox
     20{
     21        technique
     22        {
     23                pass
     24                {
     25                        lighting off
     26                        depth_write off
     27
     28                        texture_unit
     29                        {
     30                                cubic_texture bluestar.png separateUV
     31                                tex_address_mode clamp
     32                        }
     33                }
     34        }
     35}
  • code/branches/FICN/bin/levels/sample.oxw

    r508 r510  
    1818                <Ambient colourvalue="1,1,1" />
    1919               
    20                 <Skybox src="Orxonox/SampleSkyBox" />
     20                <Skybox src="Orxonox/BlueStarSkyBox" />
    2121                               
    2222        </world>
  • code/branches/FICN/src/orxonox/orxonox.cc

    r507 r510  
    361361   
    362362    Camera *cam = mgr->createCamera("Camera");
    363     cam->setPosition(Vector3(0,0,-250));
     363    cam->setPosition(Vector3(0,0,+250));
    364364    cam->lookAt(Vector3(0,0,0));
    365365    Viewport *vp = ogre_->getRoot()->getAutoCreatedWindow()->addViewport(cam);
Note: See TracChangeset for help on using the changeset viewer.