No announcement yet.

Winding order for Open GL

  • Filter
  • Time
  • Show
Clear All
new posts

  • Winding order for Open GL

    I have a volume of data where I am making isosurfaces through the volume with a particular threshold. In plotting the vertex triangles which i discover from the possible 12 edges of a cube and rendering them in Open GL, some of the triangles remain dark with the shade model. I assume that it has to do with the winding order of the vertex. Computing the dot product and adjusting for negative normals does not solve the problem. Does anyone know a good resource to discover how to get the shade model correct with Open GL in PB or what the problem might be...thanks...
    Last edited by dean goodman; 15 Mar 2008, 12:21 AM. Reason: run on sentence