Changeset 4247 in orxonox.OLD for orxonox/branches
- Timestamp:
- May 21, 2005, 12:52:50 PM (20 years ago)
- Location:
- orxonox/branches/levelLoader/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/story_entities/world.cc
r4239 r4247 422 422 glEndList(); 423 423 424 terrain = new Terrain("worlds/newGround.obj");425 terrain->setRelCoor(Vector(0,-10,0));426 this->spawn(terrain);424 // terrain = new Terrain("worlds/newGround.obj"); 425 // terrain->setRelCoor(Vector(0,-10,0)); 426 // this->spawn(terrain); 427 427 428 428 -
orxonox/branches/levelLoader/src/world_entities/skybox.cc
r4242 r4247 207 207 208 208 this->skyModel->setMaterial(material[0]); 209 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 2, 1,3, 3,2,3, 5,3,3, 4,0,3); // top209 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 2,0,3, 3,1,3, 5,2,3, 4,3,3); // top 210 210 this->skyModel->setMaterial(material[1]); 211 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 6, 3,1, 7,0,1, 1,1,1, 0,2,1); // bottom211 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,0,1, 7,1,1, 1,2,1, 0,3,1); // bottom 212 212 this->skyModel->setMaterial(material[2]); 213 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 0,0,2, 1,1,2, 3,2,2, 2,3,2); // left213 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 4,2,2, 5,3,2, 7,0,2, 6,1,2); // left 214 214 this->skyModel->setMaterial(material[3]); 215 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 4,2,0, 5,3,0, 7,0,0, 6,1,0); // right215 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 0,0,0, 1,1,0, 3,2,0, 2,3,0); // right 216 216 this->skyModel->setMaterial(material[4]); 217 217 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,0,5, 7,1,5, 5,2,5, 3,3,6); // front
Note: See TracChangeset
for help on using the changeset viewer.