Maybe someone can give me some explanation on my stupid little problem.

I have a geometry being composed of TRIANGLES.
I have a vertex-array, a verted-index-array and a normal-array assigned to my 
geometry.
3 indexes and 3 normals per Triangle.
Normal binding is set to BIND_PER_PRIMITIVE_SET.

Unfortunately the rendering shows the geometry flat in curious dark colors and 
some unexpected light behaviour.
For analysis purpose I set the normal binding to BIND_PER_PRIMITIVE and pushed 
just 1 normal per TRIANGLE.
Everything looks good except I see the triangles and the geometry isn't 
smooth.
The next test is pushing the same normal vector 3 times and setting the 
binding back to BIND_PER_PRIMITIVE_SET.
In my understanding this should give the same optical result as before. 
Unfortunately it doesn't and everything is dark again.

I guess, I misunderstand something with the normal bindings.

Any hint is highly appreciated. Thanks in advance

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

Reply via email to