Hi Shayne, If you want to use the gdal plugin in this way you'll either need to preload the gdal plugin or append the .gdal extension to your filename so that the OSG knows to load the gdal plugin to attempt the load the data.
Robert. On 11 April 2013 23:19, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC < [email protected]> wrote: > All, > > I'm attempting to load a height field by using > > osg::HeightField *grid = osgDB::readHeightFieldFile(...) > > where the file is a gdal supported dem/image file format. When I attempt > to read the file, I'm getting the error > > "Warning: could not find plugin to read objects from file..." > > Is this because readHeightFieldFile() doesn't support the formats gdal > supports or is there something wrong with my environment so that my > plugins aren't loading correctly? > > My environment is window 7 and OSG 3.0.1... > > Thanks, > -Shayne > _______________________________________________ > 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

