I'm at a loss to explain this.

I have an object with about 400,000 vertices.
In the beginning, I took the lazy way and assigned a specific color to
each vertex.
So, I should be sending a color down the pipe per vertex.
Binding is BIND_PER_VERTEX.

So I wanted to try indexed coloring, since there is a pallette of about
64 colors, repeated.

To see how well I could possibly do, I changed the color binding to
BIND_OVERALL.

The draw time went from 17 Hz to 11 Hz. It got worse.


How can this be?

BTW - would it be faster to change the colors to a texture, and do
texture mapping?
But then what would I do with the color assignment, when overall is
slower?


Osgversion returns 1.0

Thanks,

Chris
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to