Changeset 7976 in orxonox.OLD for branches/atmospheric_engine/src
- Timestamp:
- May 30, 2006, 1:21:55 PM (18 years ago)
- Location:
- branches/atmospheric_engine/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.cc
r7810 r7976 63 63 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); 64 64 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); 65 66 glGenTextures(2, &texID[0]); 65 67 66 68 // Generate noise map a … … 101 103 } 102 104 103 glGenTextures(2, &texID[0]);104 105 glBindTexture(GL_TEXTURE_2D, texID[0]); 106 107 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 256, 256, GL_RGB, GL_UNSIGNED_BYTE, cloudTexture); 105 108 gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGB, 256, 256, GL_RGB, GL_UNSIGNED_BYTE, cloudTexture); 109 106 110 } 107 111 … … 145 149 //map32anim = (map32a * (10 - timer)) + (map32b * timer); 146 150 CloudEffect::calcAnimMap(timer); 147 148 CloudEffect::overlapOctaves(); 149 CloudEffect::expFilter(); 151 //CloudEffect::overlapOctaves(); 152 //CloudEffect::expFilter(); 150 153 CloudEffect::genCloudTexture(); 151 154 -
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
r7810 r7976 34 34 35 35 CREATE_FACTORY(RainEffect, CL_RAIN_EFFECT); 36 37 // TODO: Dim Light with Rain, Finish preCaching, check out if multiple rain emitters work 36 38 37 39 RainEffect::RainEffect(const TiXmlElement* root)
Note: See TracChangeset
for help on using the changeset viewer.