Robert,

I did try the extension of gdal and that successfully loaded the file.
However, the data doesn't display when I add by HeightField object to my
geode for display. The osgviewer app doesn't display the data correctly
either...

Any thoughts as to why?

-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert
Osfield
Sent: Friday, April 12, 2013 12:24 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] reading dem/image files...

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.or
g
        


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

Reply via email to