Hi Tim, One approach I've been wondering about is whether we could have users provide a C struct definition for the object they want to pass to the GPU, then have a template class that binds this user C struct to a BufferData object. This approach could allow users to user the same variable naming, types and structure in C++ as they do down on the GPU, and avoid the convoluted mappings of osg::Array's required right now.
Thoughts? Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
