Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 2 (modified by landauf, 17 years ago) (diff)

HeightMap

Author
Claudio

Goal
Orxonox should be able to load models stored in heightmaps.

A .oxw-file could look as follows :

 .
 .
 .
 <Terrain>
      <name>HardCore</name>
      <model>worlds/environ.jpg</model>
      <abs-coor>0,0,100</abs-coor>
 </Terrain>
  .
  .
  .


Design

UML-Diagram


Terrain::Terrain (const TiXmlElement* root)
{
//Change PATH
 HeightMap * hm = new HeightMap("~/svn/data/pictures/heightmapHello.bmp");

Current State
Thu, Dec 8 - HeightMap seems to work correctly with 8-Bit bmps :-)
Wed, Dec 7 - HeightMap is now able to read 8-Bit Bitmaps from files and to create a Model based on them.Howewer, there are some awful bugs to fix!
Tue, Dec 6 - class HeightMap draws a cube for testing. (I use revision 110 of Data)
Tue, Dec 6 - branch height_map added to svn-repository

Resources

Attachments (4)

Download all attachments as: .zip