OpenSubdiv/examples/glViewer
David G Yu 973b7fe7a5 Fixed glViewer triangle normal calculation
The normal computed for primitive triangles had a flipped
orientation in the glViewer, This caused linear approximating
patches to be shaded incorrectly for adaptively refined Loop
meshes, and similarly triangles resulting from uniformly refined
Loop meshes.
2019-06-17 16:56:10 -07:00
..
CMakeLists.txt Updated all example source for consistent inclusion of header files: 2019-01-31 10:49:02 -08:00
glViewer.cpp Moved definition of struct ShapeDesc into same header file as Shape: 2019-04-23 12:05:14 -07:00
init_shapes.h Added new Loop tetrahedron shape to main example viewers: 2019-06-14 15:24:00 -07:00
shader_gl3.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
shader.glsl Fixed glViewer triangle normal calculation 2019-06-17 16:56:10 -07:00