Commit Graph

2491 Commits

Author SHA1 Message Date
barry
d83aae9dea Fixed bug failing to sharpen corners of under-isolated irregular patches
- updated PatchTableFactory to always inspect irregular patch corners
2016-10-13 20:28:13 -07:00
David G Yu
dc6c2e6ce8 Merge pull request #890 from barfowl/inf_sharp_shapes
Added a few more test shapes and updated viewers
2016-10-13 20:18:24 -07:00
barfowl
835ccc79ff Merge pull request #889 from davidgyu/merge_fix
Fix find_package for zlib which requires all upper case ZLIB
2016-10-13 20:06:11 -07:00
barry
e21b4d902f Added a few more test shapes for face-varying and inf-sharp patches:
- added new shapes to regression/shapes
    - updated shapes/all.h to include them
    - updated init_shapes.h for glViewer and glFVarViewer
2016-10-13 19:59:38 -07:00
Nicholas Yue
1f6dc6c949 Fix find_package for zlib which requires all upper case ZLIB 2016-10-13 19:59:22 -07:00
barfowl
b5d7e28aad Merge pull request #888 from davidgyu/release_docs2
Reorganized release specific documentation
2016-10-13 18:38:54 -07:00
David G Yu
3957da8e9c Reorganized release specific documentation
With our second substantial release in the 3.x series
we've reorganized the documentation links a bit. This
establishes a more consistent arrangement for release
specific documentation pages.
2016-10-13 17:38:08 -07:00
barfowl
3f30b34de2 Merge pull request #886 from davidgyu/release_docs1
Removed roadmap page from the documentation.
2016-10-13 15:35:18 -07:00
David G Yu
8ca33ee1a6 Merge pull request #885 from barfowl/gregory_corners
Restore sharp approximation to smooth corners of irregular patches
2016-10-13 15:31:41 -07:00
David G Yu
c7c55ac4d2 Removed roadmap page from the documentation.
The roadmap presented was significantly out of date.
We will find a better way to document work in progress.
2016-10-13 15:28:05 -07:00
barfowl
44d2129cd1 Merge pull request #884 from davidgyu/stencil_doxygen_fix
Fixed LimitStencilTable.h doc for 2nd derivatives
2016-10-13 15:16:26 -07:00
barry
460e90db0c Preserve sharp approximation to smooth corners of irregular patches
- PatchTableFactory now sharpens smooth corners if legacy behavior enabled
2016-10-13 15:00:34 -07:00
George ElKoura
dbca8cdb0b Merge pull request #883 from davidgyu/maya_doc_cleanup
Removed remaining doc for mayaPolySmooth example
2016-10-13 10:00:27 -07:00
David G Yu
923da7febc Merge pull request #873 from nyue/master
Fix find_package for zlib which requires all upper case ZLIB
2016-10-13 09:35:24 -07:00
David G Yu
f05e01c921 Removed remaining doc for mayaPolySmooth example 2016-10-13 09:28:23 -07:00
David G Yu
a0ca583751 Fixed LimitStencilTable.h doc for 2nd derivatives 2016-10-13 09:25:13 -07:00
David G Yu
8309f289a6 Merge pull request #882 from barfowl/fvar_and_inf_sharp_bugs
Bug fixes and improvements for face-varying and inf-sharp patches:
2016-10-12 15:19:12 -07:00
David G Yu
21f44c4110 Merge pull request #881 from barfowl/edge_only_corners
Fixed adaptive refinement of sharpened corners on edge-only boundaries
2016-10-12 15:19:00 -07:00
barry
d45b8c68a2 Bug fixes and improvements for face-varying and inf-sharp patches:
- extended smooth corner patch approximation to fvar and inf-sharp patches
    - fixed assignment and refinement bugs for inf-sharp tags in fvar space
    - fixed interpolation bug with Bilinear scheme and LINEAR_NONE option
    - added public methods for fvar topology to Far::TopologyRefiner
2016-10-12 13:08:35 -07:00
barry
154f29c7fe Fixed adaptive refinement of sharp corners with edge-only boundaries
- updated base level tagging to ignore the boundary interpolation option
    - updated regression shape for edge-only to illustrate behavior
    - updated regression shapes to favor default viewng direction of examples
2016-10-12 11:42:37 -07:00
David G Yu
d207dde8da Merge pull request #871 from asluk/dev_readme_remove_maya
[README] Remove reference to Maya SDK
2016-10-11 22:38:08 -07:00
barfowl
532013f5df Merge pull request #879 from davidgyu/patch_table_api_fixes
Fixed naming inconsistencies in Far::PatchTable
2016-10-11 22:12:08 -07:00
barfowl
079d1b5bf7 Merge pull request #878 from davidgyu/gregory_derivative_option
Exposed control for Gregory derivative weight eval
2016-10-11 22:10:51 -07:00
David G Yu
838fce27ab Exposed control for Gregory derivative weight eval
The symbol OPENSUBDIV_GREGORY_EVAL_TRUE_DERIVATIVES
determines the method used to compute derivative weights
for Gregory basis patches.

Setting this symbol during CMake configuration (and
hence during C++ and shader compilation) will enable
the use of true derivative weights.

The default behavior is to use a simpler approximation
for consistency with earlier releases.
2016-10-11 18:50:25 -07:00
David G Yu
df5d01ad3c Fixed naming inconsistencies in Far::PatchTable
The methods which return arrays of FVarPatchParam have
been made plural, e.g. GetFVarPatchParams(), for consistency
with the other methods in PatchTable.

Also fixed a missing doxygen tag.
2016-10-11 17:07:14 -07:00
barfowl
ffdb32cbac Merge pull request #877 from davidgyu/inf_sharp_stencil_viewer
Updated glStencilViewer for InfSharpPatches
2016-10-10 16:45:45 -07:00
barfowl
56ddd31e8f Merge pull request #876 from davidgyu/inf_sharp_limit_stencil
Updated LimitStencilTableFactory for InfSharpPatch
2016-10-10 16:43:25 -07:00
barfowl
20382bad6d Merge pull request #875 from davidgyu/inf_sharp_eval_limit
Updated glEvalLimit viewer for InfSharpPatch
2016-10-10 16:42:09 -07:00
barfowl
06e715d21f Merge pull request #874 from davidgyu/fvar_gregory_eval_fix
Fixed FVar patch evaluation with Gregory basis
2016-10-10 16:37:53 -07:00
David G Yu
3d1cd8c632 Fixed FVar patch evaluation with Gregory basis
This fixes evaluation of face-varying patches when
the patch table has been created using Gregory basis
end caps.
2016-10-10 14:38:26 -07:00
David G Yu
705e144fb5 Updated glStencilViewer for InfSharpPatches
Added a toggle to enable the use of infinitely sharp
patches and also implemented fitFrame ('f' keypress).
2016-10-07 17:40:58 -07:00
David G Yu
a3ba5f08f3 Updated glEvalLimit viewer for InfSharpPatch
Added a toggle to enable the use of infinitely sharp
patches and also implemented fitFrame ('f' keypress).
2016-10-07 17:21:59 -07:00
David G Yu
2b371f0aff Updated LimitStencilTableFactory for InfSharpPatch
Far::LimitStencilTableFactory computes limit stencils using
patches from a Far::PatchTable, creating one temporarily if
necessary. This change propagates the useInfSharpPatch option
from adaptively refined topologies.
2016-10-07 16:41:08 -07:00
Nicholas Yue
569828d387 Fix find_package for zlib which requires all upper case ZLIB 2016-10-01 12:41:33 -07:00
David G Yu
086213bd3c Merge branch 'release/v3_1_0_RC1' into dev 2016-09-30 18:31:47 -07:00
David G Yu
3351beee6f Merge branch 'release/v3_1_0_RC1' 2016-09-30 18:30:26 -07:00
David G Yu
0034966af4 Release 3.1.0 RC1 2016-09-30 18:29:51 -07:00
barfowl
9f67a39a4d Merge pull request #872 from davidgyu/inf_sharp_examples
Updated DX/GL Viewers for Inf Sharp Patches
2016-09-30 12:00:26 -07:00
David G. Yu
c9a3bb4d87 Updated glViewer and dxViewer for InfSharp patches
Both of these have been updated to expose toggles
to enable refinement and creation of infinitely
sharp patches.
2016-09-30 11:00:31 -07:00
Aaron Luk
66cb665a28 [README] Remove reference to Maya SDK now that example plugin has been retired. 2016-09-30 19:59:57 +02:00
David G. Yu
8257516427 Updated Osd mesh util classes for InfSharp patches
This adds some support to the Osd::*Mesh classes for
refining and populating infinitely sharp patches.
2016-09-30 10:56:22 -07:00
David G Yu
68002ba9dd Merge pull request #870 from barfowl/fvar_adaptive
Fixed overly aggressive adaptive refinement of face-varying channels
2016-09-29 23:59:34 -07:00
barry
4e0c2dc763 Fixed overly aggressive adaptive refinement of face-varying channels:
- added Vtr::Level method to combine VTags for all FVar values of a vertex
    - updated adaptive refinement of FVar data to use combined VTags of corners
2016-09-29 22:54:05 -07:00
barfowl
39c53b234a Merge pull request #869 from davidgyu/cuda_build_fix
Fixed CUDA build with newer SDKs
2016-09-29 21:15:49 -07:00
barfowl
775c4e59e8 Merge pull request #868 from davidgyu/patch_eval_cuda_fix
Fixed Osd::CudaEvaluator
2016-09-29 21:05:23 -07:00
David G Yu
c824dc34e0 Fixed CUDA build with newer SDKs
Recent CUDA SDKs no longer support the "compute_11"
gpu architecture. We now fallback to "compute_20"
instead for newer SDK versions. Additionally, this
behavior can be overriden using the new CMake list
variable OSD_CUDA_NVCC_FLAGS so that it is easier
for clients to target newer architectures and specify
additional arguments.
2016-09-29 21:04:42 -07:00
David G Yu
710da328f9 Fixed Osd::CudaEvaluator
- Fixed the size of a cudaMemcpy
- Fixed the use of local "static" storage
2016-09-29 20:27:43 -07:00
David G Yu
8929b3062b Merge pull request #867 from barfowl/patch_param_rename
Added inverse of Far::PatchParam::Normalize()
2016-09-29 20:13:36 -07:00
David G Yu
6a63b6b9f5 Merge pull request #866 from barfowl/gregory_legacy
Fixed regressions introduced in legacy Gregory boundary patches
2016-09-29 20:12:07 -07:00
barry
4314e46eb5 Added inverse of Far::PatchParam::Normalize()
- added Far::PatchParam::Unnormalize()
    - removed the now redundant MapBaseToRefined and MapRefinedToBase()
2016-09-29 19:18:16 -07:00