Re: [osg-users] Extracting embedded Textures

2008-09-24 Thread Robert Osfield
Hi Frank, On Tue, Sep 23, 2008 at 6:26 PM, Evans, Frank [EMAIL PROTECTED] wrote: Thanks once again for the incredibly fast response. Up to now I've been using the OsgDotNet wrappers, so writing a Custom Visitor class means maintaining and updating the wrappers as well. At least, if I

Re: [osg-users] Extracting embedded Textures

2008-09-24 Thread Evans, Frank
: Re: [osg-users] Extracting embedded Textures I almost hate to draw attention to this but just in case it ever matters... For various reasons, I ended up writing some IVE readers in Java. Mostly because I had some .ive files that no version of OSG I had available would load correctly. And partly

[osg-users] Extracting embedded Textures

2008-09-23 Thread Evans, Frank
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

Re: [osg-users] Extracting embedded Textures

2008-09-23 Thread Robert Osfield
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

Re: [osg-users] Extracting embedded Textures

2008-09-23 Thread Evans, Frank
] 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

Re: [osg-users] Extracting embedded Textures

2008-09-23 Thread Robert Osfield
On Tue, Sep 23, 2008 at 5:45 PM, Evans, Frank [EMAIL PROTECTED] wrote: Thanks Robert, grinding through the learning curve now. Getting to the vertices was easy (getVertexArray). Was looking for something similar for image/textures. It's straight forward, just look at the NodeVisitor examples I

Re: [osg-users] Extracting embedded Textures

2008-09-23 Thread Evans, Frank
loader. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, September 23, 2008 12:53 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Extracting embedded Textures On Tue, Sep 23, 2008 at 5:45 PM, Evans, Frank [EMAIL

Re: [osg-users] Extracting embedded Textures

2008-09-23 Thread Paul Speed
] On Behalf Of Robert Osfield Sent: Tuesday, September 23, 2008 12:53 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Extracting embedded Textures On Tue, Sep 23, 2008 at 5:45 PM, Evans, Frank [EMAIL PROTECTED] wrote: Thanks Robert, grinding through the learning curve now. Getting to the vertices