OpenSubdiv/examples/mayaPtexViewer
manuelk e6e7c96a52 We need to leverage our per-patch ptex indexing scheme in the EvalLimit API.
- replace ptex indexing with the FarPtexCoord structure as a way to pass per-patch
  ptex data to the shaders.

  We are replacing a vector<int> arranged as :
  int[0] : ptex face index
  int[1] : (u,v) as 16 bits encoding the log2 coordinate of the top left corner

  Instead we are now using a struct arranged as :
  int[0] : ptex face index
  int[1] : is a bit-field containing u,v, rotation, depth and non-quad

  The u,v coordinates have been reduced to 10 bits instead of 16, which still
  gives us a lot of margin.

- Replace OsdVertexBufferDescriptor with something more adequate for general
  primvar representation (this name will probably eventually change...)

- Improve OsdPatchDescriptor
    - add a "loop" boolean (true if the patch is of loop type)
    - add a GetPatchSize() accessor

- OsdPatchArray :
    - remove some redundant elements (still more to do there)

- Fix all shader / examples / regressions & stuff to make this all work.

fixes #143
2013-03-22 18:20:50 -07:00
..
AEopenSubdivPtexShaderTemplate.mel Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
CMakeLists.txt - only add detected libs to the maya dependency list 2013-02-22 11:38:46 -08:00
cudaUtil.cpp - similar API changes for Maya 2014 in mayaPtexViewer 2013-02-22 12:58:09 -08:00
hbrUtil.cpp Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
hbrUtil.h Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
OpenSubdivPtexShader.cpp We need to leverage our per-patch ptex indexing scheme in the EvalLimit API. 2013-03-22 18:20:50 -07:00
OpenSubdivPtexShader.h Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
OpenSubdivPtexShaderOverride.cpp Fixed merge error. 2013-02-22 16:25:33 -08:00
OpenSubdivPtexShaderOverride.h Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
osdPtexMeshData.cpp Batching stuffs: generalized kernel batches, table/dispatcher refactoring, multiMeshFactory, drawContext, etc. 2013-03-07 17:50:15 -08:00
osdPtexMeshData.h Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
shader.glsl Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00