Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6471 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jan 11, 2006, 12:28:17 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: testing, but not working

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/vertex_array_model.cc

    r6456 r6471  
    137137  PRINTF(4)("drawing 3D-VertexArrayModel %s\n", this->getName());
    138138  glEnableClientState(GL_VERTEX_ARRAY );
    139   glEnableClientState(GL_TEXTURE_COORD_ARRAY );
     139  //glEnableClientState(GL_TEXTURE_COORD_ARRAY );
    140140  glEnableClientState(GL_NORMAL_ARRAY );
    141141  glEnableClientState(GL_COLOR_ARRAY );
     
    144144  glVertexPointer(3, GL_FLOAT, 0, &this->vertices[0]);
    145145  glNormalPointer(GL_FLOAT, 0, &this->normals[0]);
    146   glTexCoordPointer(2, GL_FLOAT, 0, &this->texCoords[0]);
     146  //glTexCoordPointer(2, GL_FLOAT, 0, &this->texCoords[0]);
    147147  glColorPointer(3, GL_FLOAT, 0, &this->colors[0]);
    148148
  • trunk/src/world_entities/environments/water.cc

    r6470 r6471  
    105105void Water::draw() const
    106106{
    107   //SkyBox::enableCubeMap();
     107  SkyBox::enableCubeMap();
    108108
    109109 // this->waterShader->activateShader();
     
    112112  //Shader::deactivateShader();
    113113
    114   //SkyBox::disableCubeMap();
     114  SkyBox::disableCubeMap();
    115115}
    116116
Note: See TracChangeset for help on using the changeset viewer.