Changeset 6472 in orxonox.OLD for branches/height_map/src/world_entities
- Timestamp:
- Jan 11, 2006, 2:11:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/world_entities/terrain.cc
r6329 r6472 58 58 tmp_mat->specularTexture = NULL; 59 59 60 const char* texture_name = "pictures/ground 1.tga";60 const char* texture_name = "pictures/ground.tga"; 61 61 tmp_mat->setDiffuseMap(texture_name); 62 62 tmp_mat->setAmbientMap(texture_name); … … 67 67 char* colourmapName = ResourceManager::getFullName("pictures/heightmapHelloCM.bmp"); 68 68 hm = new HeightMap(heightmapName, colourmapName); 69 hm->scale(Vector( 43.0f,1.10f,43.0f));70 hm->shift(Vector(-1000.0,- 1500.0,-1000.0));69 hm->scale(Vector(23.0f,0.7f,23.0f)); 70 hm->shift(Vector(-1000.0,-90.0,-4000.0)); 71 71 hm->load(); 72 72 this->model=hm; … … 235 235 236 236 this->tmp_mat->select(); 237 237 238 hm->draw(); 238 239 /* if (this->objectList)
Note: See TracChangeset
for help on using the changeset viewer.