2009/7/22 Pierre BOURDIN <[email protected]>: > 2009/7/22 Markus Husseini <[email protected]>: >> Thanks for the answers. >> >> @declic creation: I think this is a little bit to much for my project. >> >> @Kim Bale: This looks nice, but my problem is that i have to use the osg API >> only and there I need the opengl libs ;(. Or i must write my own Code to >> load an image and get there data. >> >> I read something about the Terrainclass but i did not find something for use >> and the Reference is not realy helpfull. > > Then why not looking at the osgterrain example source ? > > It should give you at least the first step to go... > > What is the file format of your heightmap ? > > If you have a DEM or any other "standard" heightmap format, I think > you can even go with osgviewer using the --dem flag. > > Osg is relaying on GDAL project for osgterrain so you need to have it > otherwise you'll have an error like not supported format...
Little correction after checking... It works for me explicitly loading the gdal plugin: osgviewer -l osgdb_gdal.so --dem model.dem Pierre. > > Pierre. >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=15264#15264 >> >> >> >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

