OpenSubdiv/regression/shapes
manuelk 2dc8520938 Fix Chaikin rule
The Chaikin crease interpolation mode seems to be broken:
	   - Catmark / Loop / Bilinear are passing the wrong halfedge vertex to the
	     SubdivideCreaseWeight function which results in sub-edge crease weights
	     being swapped
	   - the loop that iterates over adjacent edges needs to check against both
	     the original edge and its opposite, otherwise it may be incorrectly
	     accumulated into summation of these adjacent edges (with a 0.25 weight)

	   The proposed fix:
	   - Swaps the Dest/Org vertex passed to the SubdivideCreaseWeight (and
	     we probably want Julian to confirm that this the correct fix)
	   - Checks against both the original edge and its opposite in the iteration
	     over adjacent edges
	   - Replaces the std::vector based query with an HbrHalfedgeOperator for
	     better performance (hopefully)

	   The similar fix to OpenSubdiv been reviewed by Tony DeRose.

    Also in the fix:
        - fix "obj" tag parsing of the smooth triangle tag that was incorrectly
          associated with the crease method (and reporting the wrong errors)
        - add regression shapes for both Loop & Catmark schemes to hbr_regression
        - add same shapes to the glViewer
        - improve hbr_regression output to be more readable
        - add command-line argument parsing to hbr_regression
        - add functionality to dump an obj file when regression fails for comparison

fixes #235
2013-11-07 17:06:55 -08:00
..
bilinear_cube.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_bishop.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_car.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_chaikin0.h Fix Chaikin tag parsing 2013-11-01 11:38:20 -07:00
catmark_chaikin1.h Fix Chaikin tag parsing 2013-11-01 11:38:20 -07:00
catmark_cube_corner0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube_corner1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube_corner2.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube_corner3.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube_corner4.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube_creases0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube_creases1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_cube.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_dart_edgecorner.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_dart_edgeonly.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_edgecorner.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_edgeonly.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_fan.h Fix Far to handle disconnected vertices in an Hbr mesh. 2013-10-28 10:40:24 -07:00
catmark_flap2.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_flap.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_gregory_test1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_gregory_test2.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_gregory_test3.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_gregory_test4.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_helmet.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_hole_test1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_hole_test2.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_pawn.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_pyramid_creases0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_pyramid_creases1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_pyramid_creases2.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_pyramid.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_rook.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_square_hedit0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_square_hedit1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_square_hedit2.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_square_hedit3.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_square_hedit4.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_tent_creases0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_tent_creases1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_tent.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_torus_creases0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_torus_creases1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
catmark_torus.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_chaikin0.h Fix Chaikin rule 2013-11-07 17:06:55 -08:00
loop_chaikin1.h Fix Chaikin rule 2013-11-07 17:06:55 -08:00
loop_cube_creases0.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_cube_creases1.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_cube.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_icosahedron.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_saddle_edgecorner.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_saddle_edgeonly.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_triangle_edgecorner.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
loop_triangle_edgeonly.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00