- Timestamp:
- Feb 20, 2005, 4:21:42 PM (20 years ago)
- Location:
- orxonox/branches/dave/src
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/src/Makefile.am
r3407 r3411 37 37 curve.cc \ 38 38 glmenu_imagescreen.cc\ 39 sky box.cc39 skysphere.cc 40 40 41 41 … … 80 80 glmenu_imagescreen.h \ 81 81 debug.h\ 82 sky box.h82 skysphere.h 83 83 84 84 -
orxonox/branches/dave/src/Makefile.in
r3407 r3411 238 238 curve.cc \ 239 239 glmenu_imagescreen.cc\ 240 sky box.cc240 skysphere.cc 241 241 242 242 noinst_HEADERS = ability.h \ … … 280 280 glmenu_imagescreen.h \ 281 281 debug.h\ 282 sky box.h282 skysphere.h 283 283 284 284 EXTRA_DIST = orxonox.conf -
orxonox/branches/dave/src/world.cc
r3410 r3411 28 28 #include "helper_parent.h" 29 29 #include "glmenu_imagescreen.h" 30 #include "sky box.h"30 #include "skysphere.h" 31 31 #include "importer/material.h" 32 32 … … 292 292 293 293 // create skybox 294 this->sky box =new Skybox();294 this->skysphere =new Skysphere(); 295 295 296 296 … … 389 389 boden->setIllum(3); 390 390 391 //Initializing the Sky, and loading a Texture into it. 392 //GLUquadricObj *sphereObj=0; 393 //sphereObj=gluNewQuadric(); 394 //gluQuadricTexture(sphereObj,GL_TRUE); 395 396 397 sky = new Material("Sky"); 398 sky->setDiffuseMap("../data/pictures/sky-replace.jpg"); 399 sky->setIllum(3); 400 401 402 403 391 404 392 objectList = glGenLists(1); 405 393 glNewList (objectList, GL_COMPILE); … … 595 583 596 584 glEnable(GL_TEXTURE_2D); 597 sky->select();598 sky box->draw();585 586 skysphere->draw(); 599 587 600 588 } … … 679 667 } 680 668 681 sky box->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z);669 skysphere->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z); 682 670 683 671 //for( int i = 0; i < tracklen; i++) track[i].tick (seconds); -
orxonox/branches/dave/src/world.h
r3408 r3411 10 10 #include "stdincl.h" 11 11 #include "story_entity.h" 12 #include "sky box.h"12 #include "skysphere.h" 13 13 class Material; 14 14 … … 86 86 87 87 WorldEntity* localPlayer; 88 Skybox* skybox; 89 Material* sky; 88 Skysphere* skysphere; 90 89 PNode* nullParent; 91 90
Note: See TracChangeset
for help on using the changeset viewer.