Commit Graph

2914 Commits

Author SHA1 Message Date
David G Yu
eec8e94b2a
Merge pull request #1108 from barfowl/vtr_max_valence
Fixed refinement bug for non-manifold edges with many incident faces
2019-05-17 18:45:09 -07:00
barry
07b4ecc1cc Added new regression shapes for non-manifold edges with many incident faces:
- added simple shapes for both Catmark and Loop
    - included per-vertex UVs, which triggered issues with FVar StencilTables
2019-05-16 14:47:01 -07:00
barry
5aa10c8f55 Fixed max-valence assignment in refinement to account for non-manifold edges:
- consider the vertex from the edge with the maximum number of faces
2019-05-16 14:42:23 -07:00
David G Yu
6fa58d1879
Merge pull request #1107 from barfowl/examples_glFVarViewer
Minor improvements to examples/glFVarViewer
2019-05-16 09:31:22 -07:00
barry
239eb28fcd Minor improvements to examples/glFVarViewer:
- added checkboxes for Control Edges and Vertices as used elsewhere
    - added checkbox for UV Backface Culling specific to this example
    - relabeled the Boundaries pulldown to Linear Interpolation
    - renamed variables in source to better reflect the affected enum
2019-05-15 15:22:18 -07:00
David G Yu
7eac369fd2
Merge pull request #1106 from barfowl/regression_shapes_indexing
Fixed indexing errors in old regression/shapes
2019-05-15 14:38:36 -07:00
David G Yu
af8cb951d6
Merge pull request #1105 from barfowl/regression_shapes_fvar
Added face-varying UVs to several regression shapes
2019-05-15 14:26:00 -07:00
barry
669e54a9f7 Fixed indexing errors in old regression/shapes:
- added missing vertex texture or normal entry when only one missing
    - removed texture or normal indices from face definitions when none present
    - removed normals when incomplete and not correlated with face definitions
2019-05-15 13:45:33 -07:00
David G Yu
464e20538a
Merge pull request #1104 from barfowl/far_sharp_patch_bug
Fixed patch construction bug with sharp corner patches
2019-05-14 17:38:24 -07:00
barry
89f00d3603 Added face-varying UVs to several regression shapes:
- added UVs to non-manifold shape sets for both Catmark and Loop
    - added UVs to the semi-sharp and inf-sharp variations of Catmark cubes
2019-05-14 15:22:33 -07:00
barry
17218ce6fe Fixed bug estimating Gregory face-point size for sharp corner patches 2019-05-14 11:08:52 -07:00
David G Yu
a7a3fd6ecb
Merge pull request #1103 from barfowl/regression_shapes_orient
Transformed old regression/shapes into consistent orientation
2019-05-10 10:30:32 -07:00
David G Yu
da29eade79
Merge pull request #1102 from barfowl/regression_shapes_xord
Additions and revisions to regression/shapes for consistency
2019-05-10 10:29:07 -07:00
barry
b2e788efa7 Updated hbr_regression for recent and past changes to shapes:
- uncommented past shapes that had changed and caused failures
    - update baseline data for all recent and past changes
2019-05-08 14:12:36 -07:00
barry
a42d00a191 Transformed several regression/shapes into a more consistent orientation 2019-05-08 14:07:44 -07:00
barry
c75be00094 Revised a couple of Loop shapes to match recent Catmark additions:
- reduced the xord_boundary case from none to four shapes
    - re-ordered the first two shapes in the nonman_edges case
2019-05-08 13:12:04 -07:00
barry
33ff2ec2f5 Added new Catmark shapes:
- added cases for x-ord boundaries and interior to match Loop
    - added cases for valence-2 interior and non-quad faces
    - updated all.h for the new additions
2019-05-08 13:10:33 -07:00
David G Yu
04384499a1
Merge pull request #1097 from Coder206/readme
Combine Hyperlink and Lib Name
2019-05-06 16:50:01 -07:00
David G Yu
7d0b2699f6
Merge pull request #1100 from barfowl/regression_shapes_catmark
Added new Catmark test shapes to regression/shapes
2019-05-06 16:49:25 -07:00
barry
afce970bcf Added new Catmark test shapes to regression/shapes:
- added pair of shapes to better cover non-manifold features
    - added pair of shapes to consolidate variations of creased cubes
    - updated all.h to include new shapes
2019-05-06 12:13:45 -07:00
David G Yu
5d8016be9e
Merge pull request #1099 from barfowl/far_nonmanifold_fixes
Fixed bugs constructing patches with non-manifold features
2019-05-06 10:30:28 -07:00
barry
8cc30d4f0d Added new regression/shapes for Loop meshes with non-manifold topology:
- added two new sets of shapes exhibiting non-manifold vertices and edges
    - updated regression/shapes/all.h for inclusion by clients
2019-05-02 15:28:15 -07:00
barry
dd1949ef74 Fixed bugs in Far::PatchBuilder related to non-manifold topology:
- fixed interior/periodic assignment around non-manifold vertices
    - fixed assembly of regular triangular patches along non-manifold edges
    - removed unnecessary assert in assembly of regular quad patches
2019-05-02 15:23:02 -07:00
Pol
1844d620f4
Merge pull request #1098 from davidgyu/loop_patches_dx11_drawing
Drawing Loop patches with HLSL tessellation shaders
2019-04-26 16:54:26 -07:00
David G Yu
944f98a9ea Updated dxViewer for Loop patches
Along with other changes to improve consistency with the glViewer
2019-04-26 11:08:01 -07:00
David G Yu
556d1dda79 Added HLSL support for drawing triangle patches
This matches the current GLSL implementation:

- BoxSplineTriangle and GregoryTriangle patch shaders
- tess factor and tess evalutation for triangle patches
- improved adaptive tessellation code organization and function names
- quartic Bezier triangle patch evaluation
- OsdGetPatchIsTriangleRotated() function added
- OsdInterpolatePatchCoordTriangle() function added
2019-04-26 11:07:56 -07:00
David G Yu
aa0def2b95 Moved HLSL tess factor code to separate file
Moved shader code which computes tessellation factors and
tessellation parameterization into a separate source file.
2019-04-26 10:58:02 -07:00
David G Yu
fda4ded404 Fixed HLSL legacy gregory shader valence limit
THis migrates a fix from the legacy GLSL shader code
to improve consistency between the implementions.
2019-04-26 10:58:02 -07:00
David G Yu
08997ef2b2 Moved HLSL legacy shader code to separate file
Moved shader code used for evaluation of legacy gregory patches.

These methods should not be used for new development, but are provided
for backward compatibility.
2019-04-26 10:57:56 -07:00
George ElKoura
3875be6b99
Merge pull request #1096 from barfowl/examples_gl_args
Updated GL examples for common command line arguments
2019-04-25 13:25:44 -07:00
Coder206
ade80361ee Combine Hyperlink and Lib Name
This change aims to help make the README more concise by having the hyperlinks combined with their respective text.
2019-04-25 16:57:41 +00:00
barry
329fd509a1 Updated GL examples for common command line arguments:
- updated all examples/gl* to make use of common/argOptions.h
    - implemented -yup where user-supplied geometry is imported
    - updated glPtexViewer to use ObjAnim class for animated geometry
2019-04-24 19:39:18 -07:00
David G Yu
5458a3facf
Merge pull request #1095 from barfowl/far_single_crease_bug
Fixed single-crease patch creation near unisolated boundaries
2019-04-24 16:01:56 -07:00
barry
184ae997d6 Fixed single-crease patch isolation now required without boundary isolation:
- added member to FeatureMask for single-crease option without inf-sharp
    - adjusted adaptive refinement to handle unisolated interior sharp edges
2019-04-24 14:56:49 -07:00
George ElKoura
eb72dc847b
Merge pull request #1094 from barfowl/examples_shape_desc
Moved definition of struct ShapeDesc into same header file as Shape
2019-04-23 13:46:02 -07:00
barry
b7470bb26f Moved definition of struct ShapeDesc into same header file as Shape:
- added definition to regression/common/shape_utils.h
    - removed examples/common/shapeDesc.h and all references to it
    - removed local definitions of ShapeDesc from examples, regressions, etc.
    - overloaded Shape::parseObj() with ShapeDesc
    - updated examples to use Shape::parseObj(ShapeDesc const&);
    - removed axis argument to Shape::ParseObj() and ObjAnim::Create()
2019-04-23 12:05:14 -07:00
George ElKoura
1abe8a7087
Merge pull request #1093 from barfowl/examples_yup_arg
Replaced -axis with -yup in example viewers and common args
2019-04-17 16:57:51 -07:00
barry
48a557abeb Replaced -axis with -yup in common args and examples:
- replaced -axis with -yup in examples/common/argOptions
    - updated clients of ArgOptions: glViewer, glFVarViewer, dxViewer
    - updated documentation for common arguments and usage of examples
2019-04-16 18:59:24 -07:00
George ElKoura
b1587a3d8f
Merge pull request #1091 from barfowl/docs_external_links
Minor documentation changes to preserve existing external links
2019-04-12 22:18:02 -07:00
barry
fe7f840048 Modified section titles and internal targets to preserve external links:
- reverted section header titles to match existing external links
    - modified internal explicit targets to match existing external links
    - changed internal links to match restored section titles and targets
2019-04-11 20:25:31 -07:00
George ElKoura
b845303b3c
Merge pull request #1090 from barfowl/far_tutorial_references
Fixed references to recently renamed tutorials in tutorial source
2019-04-10 17:33:54 -07:00
barry
e28acc7a68 Fixed references to renamed Far tutorials in tutorial source
- updated far/tutorial references to the intended sources
    - updated comments using 2.x style class names, e.g. FarClass vs Far::Class
2019-04-10 16:28:00 -07:00
Barry Fowler
cfb2e85179
Merge pull request #1089 from c64kernal/dev_dxviewer_args
Use the new common ArgOptions in dxViewer
2019-04-10 13:35:49 -07:00
George ElKoura
d02cad1e65 Use the new common ArgOptions in dxViewer 2019-04-09 21:06:06 -07:00
George ElKoura
56910f9e1d
Merge pull request #1088 from barfowl/docs_logo_images
Added hi-res image files for OpenSubdiv logo to documentation/images
2019-04-09 15:38:00 -07:00
barry
25833a9286 Added hi-res image files for OpenSubdiv logo to documentation/images 2019-04-09 14:54:58 -07:00
Barry Fowler
468b85f60c
Merge pull request #1087 from c64kernal/dev_commonargs
Factored viewer args parsing for into common place
2019-04-09 13:54:49 -07:00
George ElKoura
091c84650c Fix build with gcc by including the headers we need 2019-04-09 13:30:35 -07:00
George ElKoura
61f5ceabde Factored viewer args parsing for into common place
Started refactoring how we parse arguments for sample viewer
applications into a common place.  This will make it easier
to keep args consistent between applications.
2019-04-08 17:59:46 -07:00
George ElKoura
40855edf12
Merge pull request #1086 from barfowl/doc_examples_and_links
Minor fixes and improvements to the documentation pages
2019-04-01 18:14:14 -07:00