Re: [osg-users] Promoting Drawable from being subclassed from osg::Object to osg::Node
1 view
Skip to first unread message
Pjotr Svetachov
unread,
Jun 27, 2014, 5:14:23 AM6/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osg-...@lists.openscenegraph.org
I was trying to save a file to .ive format today but that failed with the message: "Unknown node in Group::write(), className()=Geometry"
So right now it looks like it's impossible to write to .ive files.
While osgt/osgb files work I looked at the code and noticed that the osg::Drawable does not have an osg::Node associate which means that node specific fields like _cullingActive and _nodeMask are not saved.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osg-...@lists.openscenegraph.org
Hi Robert,
I made a small change to DataOutputStream.cpp which makes saving Geodes possible again. This is only half a fix as it only will save a Drawable that is part of a Geode. But this change does not require a version bump of the .ive format. I tried it with a few datasets we have here with the 3.2 stable branch and the trunk with this patch and there was no difference in the .ive files that were produced.