Changeset 9149 in orxonox.OLD
- Timestamp:
- Jul 4, 2006, 3:53:25 PM (18 years ago)
- Location:
- branches/presentation/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/story_entities/game_world_data.cc
r9019 r9149 343 343 LoadParamXML(root, "GameRule", this, GameWorldData, loadGameRule); 344 344 345 LoadParam(root, "clip-region", this->localCamera, Camera, setClipRegion); 346 345 347 346 348 //LoadParamXML(root, "ParticleEngine", ParticleEngine::getInstance(), ParticleEngine, loadParams); 347 349 //LoadParamXML(root, "PhysicsEngine", PhysicsEngine::getInstance(), PhysicsEngine, loadParams); 348 350 349 this->localCamera->setClipRegion(1, 10000.0);350 351 if( this->sky != NULL) 351 352 this->localCamera->addChild(this->sky); -
branches/presentation/src/world_entities/camera.cc
r7868 r9149 36 36 this->setFovy(90); 37 37 this->setAspectRatio(1.2f); 38 this->setClipRegion(.1, 2000);38 this->setClipRegion(.1, 10000); 39 39 40 40 this->setViewMode(Camera::ViewNormal); -
branches/presentation/src/world_entities/skydome.cc
r9121 r9149 1 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 4 4 Copyright (C) 2006 orx 5 5 6 6 This program is free software; you can redistribute it and/or modify 7 7 it under the terms of the GNU General Public License as published by 8 8 the Free Software Foundation; either version 2, or (at your option) 9 9 any later version. 10 10 11 11 ### File Specific: 12 12 main-programmer: hdavid, amaechler … … 47 47 this->toList(OM_BACKGROUND); 48 48 this->toReflectionList(); 49 49 this->indices = NULL; 50 this->vertices = NULL; 51 this->shader = NULL; 50 52 activateDome = false; 51 53 … … 91 93 if(!activateDome) 92 94 return; 93 95 94 96 glPushAttrib(GL_ENABLE_BIT); 95 97 -
branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc
r9131 r9149 299 299 300 300 State::getCameraNode()->setParentSoft(this->travelNode); 301 State::getCameraNode()->setRelCoorSoft(-3, 50,0);301 State::getCameraNode()->setRelCoorSoft(-3, 100,0); 302 302 State::getCameraTargetNode()->setParentSoft(this->travelNode); 303 303 State::getCameraTargetNode()->setRelCoorSoft(5,0,1);
Note: See TracChangeset
for help on using the changeset viewer.