On 01/07/2011 11:33 AM, Jason Daly wrote:
I suppose you could change the normal in the middle of the strip with pure 
OpenGL, but I
have no idea what it would end up looking like (might have to check an
older spec for that).  My guess is that it wouldn't be what you're
looking for, though.

Thinking about this some more, it's actually not that complicated. Inside a glBegin()/glEnd() block, you specify a normal for the vertices to follow, so each of those vertices will have that normal. If your goal is to get a faceted appearance with lit geometry, you probably don't want to be using tri-strips at all. As J-S said, you'll always be sharing each normal between two of the triangles in the strip. Even in pure OpenGL, it doesn't seem like it's possible to get one normal per triangle in a tri-strip.

--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to