[osg-users] Constructing normals for osg::DrawElements

John Donovan john.donovan at embryonicstudios.com
Tue Sep 18 02:55:42 PDT 2007


Alberto Luaces wrote:
> Hi,
> 
> I think you can specify a normal per polygon using Geometry::setNormalBinding 
> and the parameter BIND_PER_PRIMITIVE.
> 

This is true, but OSG will fall back to using glBegin()/glEnd() to render the
primitives, rather than using vertex arrays or display lists. Not a problem if
you've got a few objects like this, but isn't the most efficient path when the
scenegraph gets large.

-J


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the osg-users mailing list