[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
Hi,
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:
https://github.com/openscenegraph/OpenSceneGraph/pull/234
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!
Cheers,
Julien
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70592#70592
More information about the osg-users
mailing list