Try:

> osgconv --format osg
Plugin osgPlugins-2.9.3/osgdb_osg.so
{
    ReaderWriter : OSG Reader/Writer
    {
        features   : readObject readNode writeObject writeNode
        extensions : .osg                  OpenSceneGraph Ascii file format
        extensions : .osgs                 Psuedo OpenSceneGraph file
loaded, with file encoded in filename string
        options    : OutputTextureFiles    Write out the texture
images to file
        options    : precision             Set the floating point
precision when writing out files
    }
}

Then:

osgconv myfile.ive myfile.osg -O OutputTextureFiles

Worked for me, but only if the directories that the original files
came from were already created.

Robert.


On Mon, Apr 20, 2009 at 3:27 PM, Jean-Sébastien Guay
<[email protected]> wrote:
> Hi all,
>
> I would like to convert an .ive to .osg including textures. I've looked
> through osgconv --help but didn't find anything to help me do this. When I
> run osgconv file.ive file.osg I just get the .osg file, the textures which
> were embedded in the .ive file are not extracted for the .osg file to use.
> In fact, viewing the .osg file does not even give warnings that textures are
> missing, so I guess the osgconv process just removed all references to the
> textures.
>
> Perhaps I've done it in the past and just forget how I did it... Perhaps
> it's staring me in the face. Is there a command line switch to do this? Or
> will I have to write a tool to do it with a visitor?
>
> Thanks in advance,
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    [email protected]
>                               http://www.cm-labs.com/
>                        http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to