HI Eduardo,

On Mon, Mar 28, 2011 at 6:52 PM, Eduardo Poyart <poy...@gmail.com> wrote:
> I did it with the serializers. The document on the Wiki helped a lot. I
> would be lost without it.
> The only funny thing is that I had to make my class derive from Node and add
> it to the scene graph, even though it's not graphics related at all!

I don't know the specifics of your case, but serializers work for any
object subclassed from osg::Object
so there isn't any need to subclass from osg::Node.  So if you had
some custom user data you could
subclass from osg::Object and then provide the serializers for this
subclass and in theory the serilizers
should then output your object.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to