[osg-users] About the osgTerrain segments

Robert Osfield robert.osfield at gmail.com
Fri Aug 17 01:55:52 PDT 2007


Hi Lix,

On 8/17/07, lix xs <lixs.osg at gmail.com> wrote:
> what is the heightFile 's format,  jpg?  png? or others?
> thanks.

Do you mean HeightField?  Or just how to assign an ElevationLayer to a
Terrain.  The ElevationLayer can be either of a HeightFieldLayer or an
ImageLayer.  An ImageLayer can tack any image object so any of jpg,
png etc.

For height fields you have a move limited set of formats that directly
support readHeightField, the principle one being the GDAL plugin now
restored to the SVN version of the OSG - this you'll use DEMs.

Robert.


More information about the osg-users mailing list