osgconv is always built against one specific OSG version.  If it can read a
newer osgb format, it probably wouldn't write an older format. If it writes
an old format, it can't read the newer format properly.

So you would have to go through an intermediate file format, say, e.g.
.obj, Collada (DAE)
 and use the new osgconv version for reading and converting to DAE and an
older osgconv version for converting from DAE to osgb.

My recommendation is to use the binary osgb, ive formats only where
performance absolute requires this and where such file versioning issues
will not occur.

Christian


2017-06-19 2:56 GMT+02:00 tianzjyh <[email protected]>:

> Hi, Yu,
>     You can manually use osgconv.exe to convert between model files.  Run
> "osgconv.exe --help" for help.
>     Also, u can use osgDB::readNodeFile() and osgDB::writeNodeFile()
> respectively with filenames with proper extension, such as ".osg" and
> ".osgb".
> --
>
> Cheers,
> ---
> TianZJ
>
>
> At 2017-06-18 16:14:01, "Haojia Yu" <[email protected]> wrote:
> >Hi,
> >
> >I am working on an application based on osg 3.5.3, and i use it to generate 
> >lots
> >of modles saved as osgb format. However, there are some other softwares based
> >on older osg versions, maybe osg 3.4.0 or 3.0.0 or even earlier, and they
> >...
>
>
>
>
>
>
> _______________________________________________
> 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