[osg-users] Does osgb file has compatible issues with older osg versions?

Han Hu huhan8807 at gmail.com
Wed Jun 7 08:12:35 PDT 2017


Hi robbert,

Thank you for your reply.

I read the codes about osgDB::OutputStream and set/getFileVersion() method. Howere, the variable _domainVersionMap seems to record custom domains. My problem is not to serialize custom classes but to save data in old osgb format. I'm not sure if the method will solve the problem. Could you give me more tips?

Thank you wery much!


robertosfield wrote:
> Hi Han,
> 
> I'm not the original author of the serialzer so haven't tested it
> personally, but the osgDB::OutputStream class has a setFileVersion()
> method may allow you to specify the SO version which to limit the
> export to.  You'll need to use this class directly rather than rely
> upon the osg plugin to create and use this for you.
> 
> Robert.
> 
> On 6 June 2017 at 13:01, Han Hu <> wrote:
> 
> > Hi,
> > 
> > I have developed an triangle mesh editing software, the data edited are a pagedlod data in osgb format. And I have used the latest development release to save the output in osgb. The accompanying osgViewer is capable to open my exported data.
> > 
> > However, my target software to use my data is a commercial software, called skyline, it uses an older version of osg, the osg80 seen from the dll name. And it fails to open the exported data.
> > 
> > So my question is, if there is any issues with the osgb format that breaks the compatibility? If so, is there any options to export an compatible osgb format?
> > 
> > P.S. the input before my editing is both good to be open in my software and skyline.
> > 
> > Thank you!
> > 
> > Cheers,
> > Han
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=71018#71018
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71021#71021








More information about the osg-users mailing list