[osg-users] Extracting embedded Textures

Evans, Frank fevans at harris.com
Tue Sep 23 09:45:30 PDT 2008


Thanks Robert, grinding through the learning curve now. Getting to the
vertices was easy (getVertexArray). Was looking for something similar
for image/textures.

Is there any documentation on the IVE format? A spec file?

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Tuesday, September 23, 2008 10:28 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Extracting embedded Textures


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.or
g
>
>
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g



More information about the osg-users mailing list