mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-28 22:31:07 +00:00
5f5207999f
- All data representation classes are now single-templated for a vertex class 'U' - All constructors / instancing code has been moved into "Factory" functions that are dual-templated for two vertex classes <class T, class U=T>. This allows hbr specialization with a placeholder vertex flass 'T' for faster analysis without paying interpolation costs, while far can still specialize a fully implemented vertex class 'U' with full subdivision functionality. - Some preliminary clean-up work on FarVertexEditTables with the addition of a FarVertexEdit class as a replacement for the former HbrVertedEdit which was introducing back dependencies on hbr. The implementation is very lightweight. Some slight renaming / cleanup of the code, with some more to be done. - there are no more dependencies on hbr (not even #include) from far's data structure ! Notes : - the FarDispatcher mechanism has become somewhat awkward and should be re-evaluated when refactoring osd. - the "Factory" pattern survives this round of refactoring until we can find something better. Closes #34 |
||
---|---|---|
.. | ||
clDispatcher.cpp | ||
clDispatcher.h | ||
clKernel.cl | ||
CMakeLists.txt | ||
cpuDispatcher.cpp | ||
cpuDispatcher.h | ||
cpuKernel.cpp | ||
cpuKernel.h | ||
cudaDispatcher.cpp | ||
cudaDispatcher.h | ||
cudaKernel.cu | ||
elementArrayBuffer.cpp | ||
elementArrayBuffer.h | ||
glslDispatcher.cpp | ||
glslDispatcher.h | ||
glslKernel.glsl | ||
kernelDispatcher.cpp | ||
kernelDispatcher.h | ||
local.h | ||
mesh.cpp | ||
mesh.h | ||
mutex.h | ||
ptexCoordinatesTextureBuffer.cpp | ||
ptexCoordinatesTextureBuffer.h | ||
pTexture.cpp | ||
pTexture.h | ||
vertex.h | ||
vertexBuffer.cpp | ||
vertexBuffer.h |