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!

Thanks
Eduardo

On Mon, Mar 28, 2011 at 12:57 AM, Robert Osfield
<[email protected]>wrote:

> Hi Eduardo,
>
> On Sun, Mar 27, 2011 at 11:31 AM, Eduardo Poyart <[email protected]> wrote:
> > There seems to be no easy way to do this. I read the Serialization page
> on
> > the wiki. I decided to go ahead and make my data class derive from Node
> and
> > write a wrapper for it.
>
> Actually the I'd say the serializers are the easy way to do what you
> want. There are plenty of macro's to help the writing of the wrappers,
> and all the examples of how to do in the directories in
> src/osgWrappers/serializers.   I've found the wrappers very easy to
> write, it just take a small learning curve but once you've done one
> wrapper, it should be pretty straightfoward.
>
>
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to