Hi Mike,

On 6/28/06, Mike Weiblen <[EMAIL PROTECTED]> wrote:
I was trying to quickly view a heightfield image using the "--dem" flag, but it
doesn't seem to work.  Seems only the gdal plug implements readHeightField(),
but I thought this worked directly with some image plugins in the past?

--dem only really exists to exercise the GDAL plugin, you need all the
coordinates of geotiff or a dem that only GDAL can read, the other
plugins just read images so don't have enough info to help create a
properly sized image.

Any suggestions how to view a height image without generating with osgdem?
Perhaps could --dem force gdal to load the image?

You could possibly have other plugins that could support the
readHeightField, so tiring tothe GDAL plugin doesn't seem appropriate.
Can't you just pre load the gdal plugin?

 osgviewer -e gdal --dem mymodel.tif

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to