Commit Graph

2904 Commits

Author SHA1 Message Date
David G Yu
e0c14ddbef Fixed examples link dependency on GLFW
Split the examples/common objects into graphics API dependent object
libraries (following the pattern used for cemmon Ptex dependencies)
so that DX11 and Metal examples are no longer forced to link with GLFW.
2020-02-12 14:25:14 -08:00
David G Yu
c3a34255cd
Merge pull request #1177 from barfowl/far_tutorial_5_1
Fixed initialization oversight in far/tutorial_5_1
2020-02-10 17:37:18 -08:00
barry
673bb1e386 Fixed oversight deriving adaptive refinement options from patch options:
- added missing initialization of max level with patch options
    - added comment to discourage others from making the same mistake
2020-02-10 16:06:26 -08:00
David G Yu
1ab19ec089
Merge pull request #1176 from barfowl/far_tutorial_5_3
Added new tutorial for Far::LimitStencilTable
2020-01-25 17:16:48 -08:00
David G Yu
d002d9e840
Merge pull request #1175 from barfowl/far_tutorial_5_2
Fixed memory leak in far/tutorial_5_2 with optional .obj file
2020-01-25 11:31:38 -08:00
barry
301ae21b0a Added new tutorial for Far::LimitStencilTable:
- added new source subdirectory far/tutorial_5_3
    - updated documentation to refer to the new tutorial
2020-01-24 18:54:45 -08:00
barry
f2671f96be Formatted modified source files to adhere to 80-column standard 2020-01-21 17:10:42 -08:00
barry
9f5898d94a Update far/tutorial_5_2 to use common command line parsing 2020-01-21 14:33:26 -08:00
barry
e65a7fee5c Fixed memory leak with optional .obj file in far/tutorial_5_2 2020-01-21 14:32:11 -08:00
George ElKoura
69af58f7aa
Merge pull request #1174 from davidgyu/dev_ptex_dependency_fix
Fixed Ptex link dependencies
2020-01-15 18:10:12 -08:00
George ElKoura
2b78718b56
Merge pull request #1173 from davidgyu/dev_vs2019_fix
Updated cmake/Find* modules for VS2019
2020-01-15 16:12:29 -08:00
George ElKoura
8c86d81c2a
Merge pull request #1172 from davidgyu/dev_warnings_fix
Fixed warnings in examples and regression/common
2020-01-15 16:11:04 -08:00
David G Yu
552ebf1376 Fixed Ptex link dependencies
Removed the link dependency from libosd to
the Ptex library since Ptex is used only by the
examples. Updated examples/common to separate
the common Ptex sources from the other common
sources so that they are used only by the Ptex
examples.
2020-01-15 14:47:18 -08:00
David G Yu
f3ede96017 Fixed warnings in examples and regression/common 2020-01-15 12:52:17 -08:00
David G Yu
3c77ff74a3
Merge pull request #1171 from barfowl/examples_edgenone
Updated examples with new boundary interpolation test shapes
2020-01-15 10:36:16 -08:00
barry
b80a414361 Updated examples with new shapes for boundary interpolation "none":
- added catmark_edgenone and loop_triangle_edgenone to shape lists
2020-01-14 14:27:51 -08:00
David G Yu
f7fd2e07c2
Merge pull request #1170 from barfowl/far_boundary_none
Added selective interpolation for VtxBoundaryInterpolation case "none"
2020-01-14 12:33:47 -08:00
barry
eb48e4cfba Updated hbr_regression/baseline results for changes to test shapes:
- updated the Catmark edge-only and edge-corner cases
    - updated the Loop edge-only and edge-corner cases
2020-01-13 18:08:35 -08:00
barry
8b065abb90 Formatted the modified source file to adhere to 80-column standard 2020-01-13 18:07:23 -08:00
barry
eed095ae15 Updated documentation related to boundary interpolation case "none":
- updated user documentation describing the enum
    - updated the Doxygen comments in sdc/options.h
2020-01-10 14:26:51 -08:00
barry
eae467047b Revised existing boundary interpolation example shapes for consistency:
- all include the planar reference from documentation figures
    - all include the single polygon case (quad or tri)
    - all edge-only cases include semi-sharp boundary vertices
2020-01-10 14:24:29 -08:00
barry
e088b3aa8b Added new example shapes for boundary interpolation option "none" 2020-01-10 14:23:11 -08:00
barry
5a0e16e65d Revised tagging of boundary faces as holes if explicitly sharpened:
- tag faces containing vertices with an unsharpened incident boundary edge
2020-01-10 14:14:22 -08:00
David G Yu
a641471fca Updated cmake/Find* modules for VS2019
For Visual Studio 2019 the target architecture is specified
separately from the generator, and this updates the cmake
modules to be able to locate libraries for the correct target.

Also, make use of CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION
to be able to use the correct Windows Kit when multiple
tool sets and development kits are available.
2019-12-20 16:14:56 -08:00
David G Yu
a577b22ccc
Merge pull request #1168 from c64kernal/dev_az2
Adding Azure Pipelines support for OSD
2019-12-17 09:25:36 -08:00
David G Yu
66cd1bd1ac
Merge pull request #1167 from barfowl/args_regression_common
Moved common command line parsing to regression/common
2019-12-16 23:38:19 -08:00
George ElKoura
9b7bbc05dd Adding Azure Pipelines support for OSD
This commit adds initial Azure Pipelines CI support for OpenSubdiv.
2019-12-14 22:59:45 -08:00
barry
4a9ad51ee1 Fixed forward reference warning triggering errors with MSVC 2019-12-14 12:40:00 -08:00
barry
936aff0b8a Moved ArgOptions from examples/common to regression/common:
- updated CMakeLists to account for the moved files
    - updated references to argOptions.h in all examples
    - added method to ArgOptions to populate vector<ShapeDesc>
    - minor changes to ViewerArgUtils to use forward references
2019-12-14 12:06:55 -08:00
David G Yu
7684148b4e
Merge pull request #1159 from c64kernal/dev_cmake
Prefix OpenSubdiv CMake macros
2019-08-19 18:23:22 -07:00
David G Yu
21d2a89455
Merge pull request #1158 from barfowl/examples_msvc_warnings
Fixed Microsoft Visual Studio warnings in examples
2019-08-19 18:18:08 -07:00
barry
d62d66fcb0 Fixed Microsoft Visual Studio warnings in examples 2019-08-19 14:58:33 -07:00
George ElKoura
92341f7c1e Prefix OpenSubdiv CMake macros
This fixes issue #1157 by adding "osd" as a prefix to public macros.
2019-08-17 16:44:30 -07:00
David G Yu
9be5a29827 Merge remote-tracking branch 'origin/dev' into rc/v3_4_0 2019-06-28 13:55:48 -07:00
Barry Fowler
e6812e2f00
Merge pull request #1149 from davidgyu/docs_splash_image
Looks good, thanks
2019-06-28 13:37:20 -07:00
David G Yu
2c446905c2 Updated intro splash image
This is now a live link to an image served
from graphics.pixar.com

Deleted old splash images.
2019-06-28 11:51:21 -07:00
Barry Fowler
de4fbc3020
Merge pull request #1148 from davidgyu/docs_references
Thanks
2019-06-27 17:11:56 -07:00
David G Yu
a348c70623 Fixed links to external documentation
Updated or removed stale links.
2019-06-27 16:13:22 -07:00
David G Yu
a5d73955fd
Merge pull request #1147 from barfowl/docs_ptex_images
Improved Far patch parameterization documentation for non-quads
2019-06-27 15:41:31 -07:00
barry
20d6d0475d Revised documentation for Far overview to include existing ptex images:
- added ptex quadrangulation images to the Patch Parmeterization section
2019-06-27 13:53:57 -07:00
David G Yu
f6d5720311
Merge pull request #1146 from barfowl/docs_intro_fixes
Minor improvements to the introductory documentation
2019-06-26 11:42:42 -07:00
barry
456c942835 Minor improvements to the introductory documentation:
- fixed a broken HTML link
    - added emphasis that Loop meshes must be purely triangular
    - removed a note listing pre-3.4 restrictions on Loop functionality
2019-06-26 09:07:32 -07:00
David G Yu
1b556809c3 Merge remote-tracking branch 'origin/dev' into rc/v3_4_0 2019-06-24 20:19:28 -07:00
Barry Fowler
9b02dbf9bf
Merge pull request #1145 from davidgyu/mtl_viewer_ios_fix
Thanks, David
2019-06-24 19:45:53 -07:00
Barry Fowler
87c3b48bd7
Merge pull request #1144 from davidgyu/mtl_eval_fix
Thanks
2019-06-24 19:36:43 -07:00
Barry Fowler
30ca09dc54
Merge pull request #1143 from davidgyu/docs_release_34
Updated Far and Osd user guide docs for 3.4
2019-06-24 19:20:33 -07:00
David G Yu
95138e680f Updated Far and Osd user guide docs for 3.4
Updated the Far Overview and Osd Overview and shader
interface pages for 3.4 to include a discussion of
trianglular patch types and other minor updates.
2019-06-24 18:43:05 -07:00
David G Yu
03417ea7b1
Merge pull request #1142 from barfowl/docs_release_34
Minor updates to release notes pages
2019-06-24 18:18:35 -07:00
David G Yu
2c569ad661 Fixed mtlViewer for iOS
-Fixed the iOS ViewController to set the correct irregular
 patch approximation mode.
-Fixed the setting of fractionalSpacing to be separate from
 screenspace tessellation.
-Fixed the configuration of the internal stage-in setting
 on embedded builds.
2019-06-24 17:12:00 -07:00
David G Yu
5c8cdf9121 Fixed regression in MTLComputeEvaluator
Fixed the initialization of patchArray and patchParam
in the implementation of the MTLComputeEvaluator::EvalPatches()
compute kernel.
2019-06-24 16:47:56 -07:00