Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8056 in orxonox.OLD


Ignore:
Timestamp:
Jun 1, 2006, 1:18:34 PM (18 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: draw bugfix, halleluja!

Location:
branches/atmospheric_engine/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.cc

    r8054 r8056  
    103103        */
    104104
    105         glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
     105        // glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    106106
    107107  this->material->setDiffuseMap("maps/lightning_bolt.png");
     
    109109
    110110        glPushMatrix();
    111         glEnable(GL_TEXTURE_2D);
     111        // glEnable(GL_TEXTURE_2D);
    112112
    113         glBindTexture(GL_TEXTURE_2D, texID[0]);
     113        // glBindTexture(GL_TEXTURE_2D, texID[0]);
     114        PRINTF(0)("Draw tralala\n");
    114115
    115116        // FIXME : Bind this to the sky - how do I do this?
  • branches/atmospheric_engine/src/story_entities/game_world.cc

    r7810 r8056  
    526526  GraphicsEngine* engine = GraphicsEngine::getInstance();
    527527
    528   AtmosphericEngine::getInstance()->draw();
    529 
    530528  // set camera
    531529  this->dataTank->localCamera->apply ();
     
    533531  LightManager::getInstance()->draw();
    534532
    535   /* draw all WorldEntiy groups */
     533  AtmosphericEngine::getInstance()->draw();
     534
     535  /* draw all WorldEntity groups */
    536536  for (unsigned int i = 0; i < this->dataTank->drawLists.size(); ++i)
    537537    this->drawEntityList(State::getObjectManager()->getObjectList(this->dataTank->drawLists[i]));
Note: See TracChangeset for help on using the changeset viewer.