Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4247 in orxonox.OLD for orxonox/branches


Ignore:
Timestamp:
May 21, 2005, 12:52:50 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: skybox is right now

Location:
orxonox/branches/levelLoader/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/story_entities/world.cc

    r4239 r4247  
    422422  glEndList();
    423423
    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);
    427427
    428428
  • orxonox/branches/levelLoader/src/world_entities/skybox.cc

    r4242 r4247  
    207207
    208208  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); // top
     209  this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 2,0,3, 3,1,3, 5,2,3, 4,3,3); // top
    210210  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); // bottom
     211  this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,0,1, 7,1,1, 1,2,1, 0,3,1); // bottom
    212212  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); // left
     213  this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 4,2,2, 5,3,2, 7,0,2, 6,1,2); // left
    214214  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); // right
     215  this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 0,0,0, 1,1,0, 3,2,0, 2,3,0); // right
    216216  this->skyModel->setMaterial(material[4]);
    217217  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.