<div dir="ltr"><div><div><div><div><br></div>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.<br><br></div>So you would have to go through an intermediate file format, say, e.g. .obj, Collada (DAE)<br></div> and use the new osgconv version for reading and converting to DAE and an older osgconv version for converting from DAE to osgb.<br><br></div><div>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.<br><br></div>Christian<br><br><div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-19 2:56 GMT+02:00 tianzjyh <span dir="ltr"><<a href="mailto:tianzjyh@126.com" target="_blank">tianzjyh@126.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, Yu,</div><div> You can manually use osgconv.exe to convert between model files. Run "osgconv.exe --help" for help.</div><div> Also, u can use osgDB::readNodeFile() and osgDB::writeNodeFile() respectively with filenames with proper extension, such as ".osg" and ".osgb". </div><div style="zoom:1">--<br><div><br></div><div>Cheers, </div><div>---</div><div>TianZJ</div><div style="clear:both"></div></div><div id="m_-3973516258423756210divNeteaseMailCard"></div><br><pre><span class=""><br>At 2017-06-18 16:14:01, "Haojia Yu" <<a href="mailto:haojia521@hotmail.com" target="_blank">haojia521@hotmail.com</a></span>> 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
>...
</pre></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br></div></div></div>