[osg-users] Extracting embedded Textures

Robert Osfield robert.osfield at gmail.com
Tue Sep 23 07:27:41 PDT 2008


HI Frank,

Just load the .ive file then use a custom NodeVisitor to traverse the
scene and on encoutering StateSet on the Node and Drawables check from
Texture, then the Image's attached to the Textures.   There a examples
of NodeVisitor all over the OSG, and even some that do searches for
textures.  The osgUtil::GLObjectVisitor wouldn't be a bad guide for
you.

Robert.

On Tue, Sep 23, 2008 at 3:23 PM, Evans, Frank <fevans at harris.com> wrote:
> I need to extract the embedded textures in IVE files for use in another
> application.
> osgconv is not an option. Need to do it programmatically via the API.
>
> 1. Is there any mechanism, direct or circuitous, for getting a handle on an
> embedded texture in an IVE file?
> 2. Is there any spec document for the IVE format?
>
> Thanks in advance….
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list