mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 04:00: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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
example_createMesh.py | ||
main.cpp |