On 12/03/2010 10:35 AM, John Farmer wrote:
Okay, the aircraft has a "skin" or texture that I would like to change.  I 
would like to change the color and how it looks on the model but I don't know how.  The 
.IVE has everything in it.  So How would I edit/modify the texture and still keep the 
.IVE intact?  As you can tell I don't know much about the lingo used for this OSG stuff, 
but I'm learning.

We get that part, but you still haven't completely answered the question. Do you want to change the texture while the OSG application is running, or do you want to change it before running the application? Your answer to this will determine how you'll want to make the change.

If I had to guess, I'd assume it's the latter. In this case you can do this:

osgconv -O OutputTextureFiles aircraft.ive aircraft.osg

This will convert the model to a .osg file and write out the embedded textures as image files. You can then alter the images as necessary. You can use osgviewer to see how your changes affect the model. When you're done, you can run:

osgconv aircraft.osg aircraft_modified.ive

to convert it back to a .ive file.


There are other options as well, if you need more control than just editing the images. For example, if you have a copy of MultiGen Creator available, you can convert the model to a .flt file instead, and then use Creator to edit it as necessary.

--"J"

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

Reply via email to