Changeset 6529 in orxonox.OLD for branches/height_map/src/world_entities
- Timestamp:
- Jan 18, 2006, 1:18:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/world_entities/terrain.cc
r6472 r6529 67 67 char* colourmapName = ResourceManager::getFullName("pictures/heightmapHelloCM.bmp"); 68 68 hm = new HeightMap(heightmapName, colourmapName); 69 hm->scale(Vector(23.0f, 0.7f,23.0f));69 hm->scale(Vector(23.0f,3.5f,23.0f)); 70 70 hm->shift(Vector(-1000.0,-90.0,-4000.0)); 71 71 hm->load(); … … 235 235 236 236 this->tmp_mat->select(); 237 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); 238 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); 239 237 240 238 241 hm->draw();
Note: See TracChangeset
for help on using the changeset viewer.