Commit Graph

2235 Commits

Author SHA1 Message Date
Dave Clyde
1ba1b4a31a try const stuff 2016-10-21 16:14:33 -07:00
Dave Clyde
f0d31d9727 try const stuff 2016-10-21 16:11:49 -07:00
Dave Clyde
73cb7f11de fixup 2016-10-21 15:26:56 -07:00
Dave Clyde
af3f3887de fixup 2016-10-21 15:21:00 -07:00
Dave Clyde
1c94ba6e1b fixup 2016-10-21 15:18:32 -07:00
Dave Clyde
e556f4fe49 fixup 2016-10-21 15:10:08 -07:00
Dave Clyde
00fd5267c3 fixup 2016-10-21 14:48:11 -07:00
Dave Clyde
61f7079d5e fixup 2016-10-21 14:38:07 -07:00
Dave Clyde
bdc3f9ca35 fixup 2016-10-21 14:35:07 -07:00
Dave Clyde
06372d68b4 fixup 2016-10-21 14:18:42 -07:00
Dave Clyde
785ce54705 fix for msvc? 2016-10-21 14:06:35 -07:00
Dave Clyde
99b752eeff Added derivativeTests example to demo double precision functionality. 2016-10-21 11:55:49 -07:00
Dave Clyde
12a512ddfa Templatized far on floating point type.
This allows computation of limit stencils
using either floats or doubles.
(Previously, using floats was the only option.)

Downside:
Floating-point literals in far have been replaced with double literals.
Instances in far of cosf, sinf, sqrtf have been replaced with cos, sin, sqrt.
This could be fixed e.g. by adding a templatized helper struct
which passes through the correct versions of function calls
and contains the appropriate constant literals.
2016-10-21 11:55:37 -07:00
barfowl
c10dcbfefc Merge pull request #897 from davidgyu/patch_param_fix
Fixed recent regression in Far::PatchParam
2016-10-19 12:08:54 -07:00
David G Yu
675db39cd1 Fixed recent regression in Far::PatchParam
Fixed an incorrect type cast in Far::PatchParam
which could result in truncated FaceId values.
2016-10-19 11:57:08 -07:00
David G Yu
f36e63a806 Merge pull request #896 from barfowl/far_doxygen
Minor Doxygen additions and corrections to Far class headers
2016-10-18 17:26:31 -07:00
barry
1db24844c6 Minor Doxygen additions and corrections to Far class headers 2016-10-17 17:52:20 -07:00
barfowl
ec7ac89c76 Merge pull request #894 from davidgyu/shader_api_review
Addressed notes from shader API review
2016-10-17 16:18:25 -07:00
David G Yu
552e308266 Added OsdGetPatchIsRegular() for GLSL and HLSL 2016-10-17 15:25:17 -07:00
barfowl
86bd917c97 Merge pull request #892 from davidgyu/release_api_review
Addressed some FVar PatchTable API review notes
2016-10-14 21:21:53 -07:00
barfowl
234990be49 Merge pull request #893 from davidgyu/release_api_review2
Addressed 2nd Derivative API review notes
2016-10-14 20:34:58 -07:00
David G Yu
8c04d5a0be Addressed 2nd Derivative API review notes
Renamed the StencilTable method Update2ndPartials()
to Update2ndDerivs() for consistency with existing API.
2016-10-14 20:13:59 -07:00
David G Yu
5ad64bc33e Addressed some FVar PatchTable API review notes
Fixed some inconsistencies with the methods added
to support face-varying patches.
2016-10-14 20:11:17 -07:00
David G Yu
297a998a4d Merge branch 'release/v3_1_0_RC2' into dev 2016-10-13 21:49:06 -07:00
David G Yu
9c1ae306ea Release 3.1.0 RC2 2016-10-13 21:43:22 -07:00
David G Yu
52635c329b Merge pull request #891 from barfowl/sharp_corner_bug
Fixed bug failing to sharpen corners of under-isolated irregular patches
2016-10-13 20:39:05 -07:00
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
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