Hi Robert,

In VPB there isn't any support for substituting a custom value for
NoDataValue elements,
this could be added though.

That would be great if you can added to VPB. Please let me know when you have it in so I can test it. :) Thanks Robert.

FYI, I'm now back working on VPB for the majority of this month so
it's a good time to throw
questions in my direction.  Its also a very good time to test VPB as
this month I will go for
making the 1.0 stable release.   Have you been able to move up to
using OSG2.x and VPB>

Yes, I have spent the last few weeks to migrate over to OSG-2.4 using osgViewer now, which I think is easier to use than osgProducer::Viewer.

Norman Vine wrote: Or use gdal_translate on your file ahead of time to set this

-a_nodata value:
Assign a specified nodata value to output bands.
Also note that you can use GDAL's vrt format to do this
http://gdal.org/gdal_vrttut.html

And then pass the .vrt file to VPB instead of your .tif

I have tried this but VPB didn't support the NoDataValue elements and still inserted 0's for where there were no data.

Thank you,
Linh

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to