Re: [osg-users] About osg "hacking"...

2014-03-25 Thread Julien Valentin
Thank you very much for your advice, I would think there were another way (like reimplement a renderbin or something) but actually subclassing Drawable seams more convenient. Sometime, I brainstorm myself for nothing :-* Have a good day robertosfield wrote: > Hi Julien, > > You can subclass

Re: [osg-users] About osg "hacking"...

2014-03-25 Thread Robert Osfield
Hi Julien, You can subclass your osg::Drawable class without problem, and creating your own custom behaviour in cull is also relatively straight forward to you could almost certainly implement something along the lines of what you are doing. However, with this type of "optimiziation" I would be i

[osg-users] About osg "hacking"...

2014-03-25 Thread Julien Valentin
Hi, I've implemented a light opengl scenegraph manager for my own educational purpose. The focus of my work was to regroup culled geometries sharing same stateset in the same VBO and so factorize drawcalls primitivesets on-the-fly. For scenarios with lot of tiny meshes sharing the same material i