OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Does osgb file has compatible issues with older osg versions?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
saedrna1
Newbie


Joined: 31 Jul 2016
Posts: 9

PostPosted: Tue Jun 06, 2017 12:01 pm    Post subject:
Does osgb file has compatible issues with older osg versions?
Reply with quote

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
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11154

PostPosted: Tue Jun 06, 2017 1:00 pm    Post subject:
Does osgb file has compatible issues with older osg versions?
Reply with quote

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:
Quote:
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








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
saedrna1
Newbie


Joined: 31 Jul 2016
Posts: 9

PostPosted: Wed Jun 07, 2017 3:12 pm    Post subject:
Re: Does osgb file has compatible issues with older osg versions?
Reply with quote

Hi robert,

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:
Quote:
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








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11154

PostPosted: Wed Jun 07, 2017 3:50 pm    Post subject:
Does osgb file has compatible issues with older osg versions?
Reply with quote

Hi Han,

On 7 June 2017 at 16:12, Han Hu <> wrote:
Quote:
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?

I'm afraid I can't help with a quick reply, I haven't tried
restricting the version number so the pointers I provided were just
what I thought might help from scanning the relevant files.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts OSG compatible models in obj and othe... jaisingla General 0 Mon Sep 18, 2017 4:45 am View latest post
No new posts OSG compatible models in obj and othe... jaisingla General 0 Mon Sep 18, 2017 4:45 am View latest post
No new posts OSG compatible models in obj and othe... jaisingla General 0 Mon Sep 18, 2017 4:44 am View latest post
No new posts Error with InputStream reading osgb f... Riccardo Corsi General 28 Thu Jun 08, 2017 11:20 am View latest post
No new posts how to convert osgb files to old version Haojia General 1 Fri Jun 02, 2017 4:35 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP