Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of ~archive/HeightMap


Ignore:
Timestamp:
Nov 27, 2007, 10:28:18 PM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/HeightMap

    v1 v1  
     1== HeightMap ==
     2'''Author''' [[BR]]
     3Claudio [[BR]]
     4
     5
     6'''Goal''' [[BR]]
     7Orxonox should be able to load models stored in heightmaps. [[BR]]
     8
     9A .oxw-file could look as follows :
     10{{{
     11 .
     12 .
     13 .
     14 <Terrain>
     15      <name>HardCore</name>
     16      <model>worlds/environ.jpg</model>
     17      <abs-coor>0,0,100</abs-coor>
     18 </Terrain>
     19  .
     20  .
     21  .
     22}}}
     23
     24[[BR]]
     25
     26'''Design''' [[BR]]
     27
     28UML-Diagram [[BR]]
     29
     30http://people.ee.ethz.ch/~bottac/res/HightMap.jpg
     31
     32[[BR]]
     33
     34{{{
     35Terrain::Terrain (const TiXmlElement* root)
     36{
     37//Change PATH
     38 HeightMap * hm = new HeightMap("~/svn/data/pictures/heightmapHello.bmp");
     39}}}
     40
     41
     42'''Current State''' [[BR]]
     43Thu, Dec 8    -   HeightMap seems to work correctly with 8-Bit bmps :-) [[BR]]
     44Wed, 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! [[BR]]
     45Tue, Dec 6    -   class HeightMap draws a cube for testing. (I use revision 110 of Data) [[BR]]
     46Tue, Dec 6    -   branch height_map added to svn-repository [[BR]]
     47
     48
     49'''Resources''' [[BR]]
     50 * source:/branches/height_map/src/lib/graphics/importer/model.cc - an example for the model application (line 1048)
     51 * source:/branches/height_map/src/world_entities/terrain.cc -  an example for the model application (line 286)