Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4620 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Jun 13, 2005, 11:06:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: the Sky is farther now

Location:
orxonox/trunk/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4610 r4620  
    457457  localCamera->lookAt(tn);
    458458  localCamera->setParentMode(PNODE_MOVEMENT);
     459  localCamera->setClipRegion(1, 10000.0);
     460  this->sky->setSize(10000.0);
    459461  this->localPlayer->setParentMode(PNODE_ALL);
    460462  Vector* cameraOffset = new Vector (0, 5, -10);
     
    639641
    640642        // Create SkySphere
    641         this->sky = new Skysphere("pictures/sky-replace.jpg");
    642         this->sky->setName("SkySphere");
    643         this->spawn(this->sky);
     643//         this->sky = new Skysphere("pictures/sky-replace.jpg");
     644//         this->sky->setName("SkySphere");
     645//         this->spawn(this->sky);
    644646        this->localCamera->addChild(this->sky);
    645647        this->sky->setParentMode(PNODE_MOVEMENT);
  • orxonox/trunk/src/story_entities/world.h

    r4558 r4620  
    2727class PilotNode;
    2828class EventHandler;
     29class SkyBox;
    2930
    3031//! The game world Interface
     
    120121  ParticleEngine* particleEngine;     //!< The ParticleEngine of the World.
    121122  Camera* localCamera;                //!< The current Camera
    122   WorldEntity* sky;                   //!< The Environmental Heaven of orxonox \todo insert this to environment insted
     123  SkyBox* sky;                        //!< The Environmental Heaven of orxonox \todo insert this to environment insted
    123124  LightManager* lightMan;             //!< The Lights of the Level
    124125  Terrain* terrain;                   //!< The Terrain of the World.
Note: See TracChangeset for help on using the changeset viewer.