Gregory Jaegy wrote: > Finally, in your own project, include the OpenFlight plugin "record.h" file, > and after the "USE_PLUGIN" macros add the following ones (one per record > type): > Code: > USE_FLTRECORD(Comment, COMMENT_OP); ... > USE_FLTRECORD(NormalVertex, OLD_NORMAL_VERTEX_OP);
This you'd definitely want to wrap up in a helper function somehow. Not sure how to best accomplish this to make sure it is code in the host app, rather than the library. > I am new to OSG, so I have no idea how to submit a patch. I guess it would be > useful to add this in the main trunk, as maintaining this record list at the > application level is quite painful (in the case new records are added in OSG). http://www.openscenegraph.org/projects/osg/wiki/MailingLists/SubmissionsProtocol > Cheers, > Greg -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org