Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 18, 2006, 1:18:40 PM (18 years ago)
Author:
bottac
Message:

Some bugs fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/height_map/src/world_entities/terrain.cc

    r6472 r6529  
    6767 char* colourmapName = ResourceManager::getFullName("pictures/heightmapHelloCM.bmp");
    6868 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));
    7070 hm->shift(Vector(-1000.0,-90.0,-4000.0));
    7171 hm->load();
     
    235235 
    236236 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 
    237240   
    238241 hm->draw();
Note: See TracChangeset for help on using the changeset viewer.