Changeset 8455 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.cc
- Timestamp:
- Jun 15, 2006, 1:12:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.cc
r8261 r8455 65 65 66 66 67 boolCloudEffect::init()67 void CloudEffect::init() 68 68 { 69 69 PRINTF(1)("Initializing CloudEffect\n"); … … 84 84 float bbox[3] = {0}; 85 85 cloudModel.GetDimensions(bbox[0], bbox[1], bbox[2]); 86 86 87 87 // Load Shaders 88 88 this->cloudShader = new Shader( ResourceManager::getInstance()->getDataDir() + "/shaders/sky.vert", ResourceManager::getInstance()->getDataDir() +"/shaders/sky.frag"); … … 115 115 116 116 117 boolCloudEffect::activate()117 void CloudEffect::activate() 118 118 { 119 119 PRINTF(0)( "Activating CloudEffect with Material %s\n", this->cloudTexture.c_str()); … … 122 122 } 123 123 124 boolCloudEffect::deactivate()124 void CloudEffect::deactivate() 125 125 { 126 126 PRINTF(0)("Deactivating CloudEffect\n"); … … 133 133 if (!this->cloudActivate) 134 134 return; 135 135 136 136 // glMatrixMode(GL_MODELVIEW); 137 137 // glPushMatrix(); … … 159 159 // glCullFace(GL_BACK); 160 160 // glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); 161 161 162 162 // glLineWidth(3.0f); 163 163 … … 209 209 210 210 glPopMatrix(); 211 211 212 212 } 213 213
Note: See TracChangeset
for help on using the changeset viewer.