OpenSubdiv/examples
manuelk 000cb400ca Revisit singular vertex fix for FarSubdivisionTables
The previous fix pointed far indexing tables to the origin vertex
of duped singular verts.

This fix goes one step further and actually shifts all vertex indexing
to start at the end of the coarse mesh vertices, using the space for
data that was previously occupied by duplicated singular verts.

The consequence is that client code no longer needs to duplicate vertex
data in vertex buffers (huzzah !).

- fix FarSubdivisionTablesFactory to shift factory vertex table offsets using Hbr's
  singular verts map
- fix schema table factories (Catmark, Loop...) to correctly use these offsets
- remove vertex data duplication code from osdPolySmooth example
- remove some (unrelated) cruft from glViewer example
- shape_utils unfortunately still needs to dubplicate the singular verts to
  allow the coarse edge drawing in our example viewers to work correctly
  (although it could be fixed to avoid data duplication too...)

fixes #241
2013-11-22 11:27:01 -08:00
..
common Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
dxPtexViewer Refactoring Ptex Mipmap and Analytic Displacement code 2013-11-20 15:47:59 -08:00
dxViewer Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glBatchViewer Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glStencilViewer Fix some warnings that are failing VC++ builds 2013-10-28 15:48:51 -07:00
glViewer Revisit singular vertex fix for FarSubdivisionTables 2013-11-22 11:27:01 -08:00
limitEval Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
mayaPtexViewer Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
mayaViewer Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
osdPolySmooth Revisit singular vertex fix for FarSubdivisionTables 2013-11-22 11:27:01 -08:00
paintTest Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
projectTest Read/write .obj files in uniformEvaluator testing. 2013-11-07 23:20:37 -08:00
ptexViewer Fix incorrect capitalization in GL ptexViewer shader.glsl: it's PtexMip*m*apLookup 2013-11-20 18:36:29 -08:00
python Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
simpleCpu Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
uvViewer Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
CMakeLists.txt Fix Linux build for osdPolySmooth Maya plugin 2013-11-13 15:27:43 -08:00