Changeset 3502 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 11, 2005, 6:22:15 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.in
r3493 r3502 313 313 esac; \ 314 314 done; \ 315 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/Makefile'; \315 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 316 316 cd $(top_srcdir) && \ 317 $(AUTOMAKE) -- gnusrc/Makefile317 $(AUTOMAKE) --foreign src/Makefile 318 318 .PRECIOUS: Makefile 319 319 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/Makefile.in
r3493 r3502 181 181 esac; \ 182 182 done; \ 183 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/Makefile'; \183 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/Makefile'; \ 184 184 cd $(top_srcdir) && \ 185 $(AUTOMAKE) -- gnusrc/lib/Makefile185 $(AUTOMAKE) --foreign src/lib/Makefile 186 186 .PRECIOUS: Makefile 187 187 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/graphics/Makefile.in
r3493 r3502 175 175 esac; \ 176 176 done; \ 177 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/graphics/Makefile'; \177 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/graphics/Makefile'; \ 178 178 cd $(top_srcdir) && \ 179 $(AUTOMAKE) -- gnusrc/lib/graphics/Makefile179 $(AUTOMAKE) --foreign src/lib/graphics/Makefile 180 180 .PRECIOUS: Makefile 181 181 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/graphics/importer/Makefile.in
r3493 r3502 215 215 esac; \ 216 216 done; \ 217 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/graphics/importer/Makefile'; \217 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/graphics/importer/Makefile'; \ 218 218 cd $(top_srcdir) && \ 219 $(AUTOMAKE) -- gnusrc/lib/graphics/importer/Makefile219 $(AUTOMAKE) --foreign src/lib/graphics/importer/Makefile 220 220 .PRECIOUS: Makefile 221 221 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/gui/Makefile.in
r3493 r3502 177 177 esac; \ 178 178 done; \ 179 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/gui/Makefile'; \179 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/gui/Makefile'; \ 180 180 cd $(top_srcdir) && \ 181 $(AUTOMAKE) -- gnusrc/lib/gui/Makefile181 $(AUTOMAKE) --foreign src/lib/gui/Makefile 182 182 .PRECIOUS: Makefile 183 183 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/gui/console/Makefile.in
r3493 r3502 203 203 esac; \ 204 204 done; \ 205 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/gui/console/Makefile'; \205 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/gui/console/Makefile'; \ 206 206 cd $(top_srcdir) && \ 207 $(AUTOMAKE) -- gnusrc/lib/gui/console/Makefile207 $(AUTOMAKE) --foreign src/lib/gui/console/Makefile 208 208 .PRECIOUS: Makefile 209 209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/gui/gui/Makefile.in
r3493 r3502 236 236 esac; \ 237 237 done; \ 238 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/gui/gui/Makefile'; \238 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/gui/gui/Makefile'; \ 239 239 cd $(top_srcdir) && \ 240 $(AUTOMAKE) -- gnusrc/lib/gui/gui/Makefile240 $(AUTOMAKE) --foreign src/lib/gui/gui/Makefile 241 241 .PRECIOUS: Makefile 242 242 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/story_entities/world.cc
r3475 r3502 72 72 this->localCamera->destroy(); 73 73 this->nullParent->destroy(); 74 delete this->skySphere;74 //delete this->skySphere; 75 75 76 76 //delete this->trackManager; … … 225 225 // Create SkySphere 226 226 skySphere = new Skysphere("../data/pictures/sky-replace.jpg"); 227 this->localPlayer->addChild(this->skySphere); 227 228 228 229 /*monitor progress*/ … … 277 278 // Create SkySphere 278 279 skySphere = new Skysphere("../data/pictures/sky-replace.jpg"); 280 this->localPlayer->addChild(this->skySphere); 279 281 280 282 break; … … 825 827 entity = entities->nextElement(); 826 828 } 827 skySphere->updatePosition(localCamera->absCoordinate);829 //skySphere->updatePosition(localCamera->absCoordinate); 828 830 829 831 /* update tick the rest */ -
orxonox/trunk/src/world_entities/skysphere.cc
r3484 r3502 106 106 void Skysphere::updatePosition(Vector sphereCenter) 107 107 { 108 this->sphereCenter = sphereCenter; 108 //this->sphereCenter = sphereCenter; /* absolete */ 109 this->absCoordinate = sphereCenter; 109 110 } 110 111 112 113 void Skysphere::tick(float time) 114 {} 111 115 112 116 /** … … 120 124 skyMaterial->select(); 121 125 glPushMatrix(); 122 glTranslatef(this->sphereCenter.x,this->sphereCenter.y,this->sphereCenter.z);126 //glTranslatef(this->sphereCenter.x,this->sphereCenter.y,this->sphereCenter.z); /* absolete */ 123 127 128 glTranslatef(this->absCoordinate.x, 129 this->absCoordinate.y, 130 this->absCoordinate.z); 131 132 124 133 glRotatef(-30, 1, 0, 0); 125 134 glRotatef(95.0f, 0.0f, 0.0f, 1.0f); -
orxonox/trunk/src/world_entities/skysphere.h
r3484 r3502 15 15 /* INCLUDES */ 16 16 #include "p_node.h" 17 #include "world_entity.h" 17 18 18 19 /* FORWARD DEFINITION */ … … 21 22 22 23 //! A Class to handle a SkySphere 23 class Skysphere : public PNode24 class Skysphere : public WorldEntity 24 25 { 25 26 … … 33 34 34 35 void updatePosition(Vector sphereCenter); 35 void draw(); 36 37 virtual void draw(); 38 virtual void tick(float time); 36 39 37 40 private: 38 41 GLUquadricObj *sphereObj; //!< A Placeholder for the SkySphere. 39 42 Material *skyMaterial; //!< A Material for the SkySphere. 43 40 44 Vector sphereCenter; //!< Center of the SkySphere. 41 45 float sphereRadius; //!< Radius of the SkySphere. This should match the frustum maximum range.
Note: See TracChangeset
for help on using the changeset viewer.