Hi Vincent,

On 7/04/10 2:04 , Vincent Bourdier wrote:
> The optimization I am currently working on is the good usage of binding.
> Some of our code generate color array with a color by vertex, even if
> the color is the same for each vertices... keeping only one color using
> the binding overall, we can obtain a considerable file size reduction.

osg::Optimizer attempts to optimize for performance, not memory.
The optimization you're proposing will have a negative impact on OpenGL 
performance.

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to