TerrainDemo

Jun 21, 2011 at 1:16 PM

Hi,

Looking at the TerrainDemo project, it uses a .btz file. How can i create such a file? Can't really find anything on google regarding this...

And also, could you do a MultiTouchDemo that uses multi touch input to navigate the HelixView3D.

Thanks for this awesome project.

Regards

Coordinator
Jun 22, 2011 at 8:18 AM
Edited Jun 22, 2011 at 10:30 PM

.btz is just a gzip compressed .bt file (binary terrain file). It is only used inside Helix toolkit to reduce the size of the .bt files. You can use GZipStream to compress a .bt file, and the TerrainModel class should be able to read it. You find the TerrainModel class in Visual3Ds/Composite/TerrainVisual3D.cs

Note that this class does not implement a level of detail algorithm, so it is only useful for small models. (You can find LOD implementations on http://www.vterrain.org/)

For documentation on .bt files, see http://www.vterrain.org/Implementation/Formats/BT.html

A multi-touch demo would be very interesting, but I don't have any hardware to test it on myself!