[osg-users] Who is frustrated not to serialize their bufferobject configuration?

Julien Valentin julienvalentin51 at gmail.com
Tue Mar 28 12:18:31 PDT 2017

Indeed I am,
At each time i opened an osg file i have to reset the configuration of my arrays bo in order they fit complex BufferIndexBinding  definitons I use for multipls streams transformfeedback and indirectdraw buffer

It's a good service brought by osg to set bos arrays for user. But osg should consider ones knows what they do and want to keep control over it.

My solution is a PR i  regularly submit but is always rejected:

The tricks i used do the exact same thing you'll do by hand :
by code:
 bd->setBufferData(bo) ///hide details of setting index, bo->addBufferData(ba) and set bo ownership
in my PR serializers
BufferData serialiser (set the index and bo ownership)
BufferObject serialiser (add the bufferdata to the bo)
(bd appears as bo property only to finish the job of addingBufferData to the bo it has no ownership of these)

So give me your sentiments about such a feature in osgserialiers

Thank you!


Read this topic online here:

More information about the osg-users mailing list