Commit Graph

2733 Commits

Author SHA1 Message Date
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
barry
8b1c880793 Revised example command line argument documentation based on feedback 2019-04-01 18:06:46 -07:00
Barry Fowler
886ec96eed
Merge pull request #1085 from c64kernal/dev_dxgregoryfix
A few minor fixes for Gregory Patches in DirectX
2019-04-01 11:01:35 -07:00
barry
e8d226335f Removed source files for obsolete documentation pages 2019-04-01 10:47:55 -07:00
barry
2fffa0e564 Fixed or removed broken links in documentation pages:
- fixed broken links to sections whose titles were changed
    - removed broken links to removed sections (e.g. hierarchical edits)
    - added explicit links no longer in sections (e.g. feature adaptive)
2019-04-01 10:38:44 -07:00
barry
574f77f59f Updated documentation for the example applications:
- added common set of command line arguments to the main examples page
    - updated pages for each example to reflect revised usage
    - updated the See Also list
2019-04-01 10:15:33 -07:00
George ElKoura
c34cc0a7fe A few minor fixes for Gregory Patches in DirectX
- Make sure to initialize all structs properly when using gregory
patches

- Rename a loop variable to avoid shader compiler warning.
2019-04-01 00:22:11 -07:00
George ElKoura
59cb51449c
Merge pull request #1082 from barfowl/viewer_shape_lists
Pruned the overly long list of shapes in example viewers
2019-03-22 22:38:56 -07:00
George ElKoura
a0d31477bf
Merge pull request #1083 from barfowl/far_tutorial_review
Reorganized Far tutorials into groups
2019-03-22 22:33:48 -07:00
barry
949dc1dd0d Pruned the overly long list of shapes in example viewers:
- removed redundant, trivial or otherwise poor shapes from viewer lists
    - copied init_shapes.h to glViewer, dxViewer and mtlViewer for consistency
2019-03-22 16:55:30 -07:00
barry
7aff9287d8 Reorganized Far tutorials into groups:
- moved and renumbered the 11 Far tutorials into 5 groups
    - updated documentation/tutorials.rst:
        - replaced the two-column tables with simple sections
        - created sub-sections describing the Far tutorial groups
    - updated additional Far tutorial references for new numbering
2019-03-21 18:43:02 -07:00
Barry Fowler
e89366bcc7
Merge pull request #1081 from c64kernal/dev_dot
Removed accidental swap file in far/tutorial_10
2019-03-19 14:51:36 -07:00
George ElKoura
8db55103c9 Removed accidental swap file in far/tutorial_10 2019-03-18 21:09:40 -07:00
Barry Fowler
224210d3d6
Merge pull request #1080 from c64kernal/dev_fartut_cleanup
Clean up the CMakeLists.txt in the far tutorials
2019-03-18 20:24:57 -07:00
George ElKoura
134ee33255 Clean up the CMakeLists.txt in the far tutorials
Most of the tutorials are built and installed the same way so provide a common _add_far_tutorial macro.
2019-03-18 14:29:01 -07:00
Barry Fowler
9c41e8610a
Merge pull request #1078 from c64kernal/dev_mtlmenu
Mostly cosmetic clean up to the Metal example apps
2019-03-13 13:03:40 -07:00
Barry Fowler
a254073a87
Merge pull request #1077 from c64kernal/dev_mtlcmakefix
Fix build of Metal examples when also building GL
2019-03-13 13:03:12 -07:00
Barry Fowler
43737cd7ee
Merge pull request #1076 from c64kernal/dev_mmbfix
Fix up incorrect include path
2019-03-13 13:02:34 -07:00
Barry Fowler
3dec4b7fb3
Merge pull request #1075 from c64kernal/dev_xcodebp
Fixes to the build script for macOS
2019-03-13 13:01:44 -07:00
Barry Fowler
df76d05055
Merge pull request #1074 from c64kernal/dev_clangfix
Turn on C++11 in clang when building with Metal
2019-03-13 13:01:24 -07:00
George ElKoura
39844f807b Mostly cosmetic clean up to the Metal example apps
- Renamed the default "NewApplication" in menus to the real name of the app
- Fixed copyright information in the "About" dialog.
2019-03-09 23:17:23 -08:00
George ElKoura
0f2dd41f0a Fix build of Metal examples when also building GL
This fixes the build when trying to build both the Metal examples
and the GL examples in the same build. The change is an unfortunate
consequence of how dependencies are bundled together in
examples/common and a future task is needed to split up these
dependencies.  The same workaround exists in the DirectX examples as
well and would also benefit from splitting up the dependencies.
2019-03-09 22:58:34 -08:00
George ElKoura
f64b87de28 Fix up incorrect include path 2019-03-09 22:52:42 -08:00
George ElKoura
385ae6d012 Fixes to the build script for macOS
- Default the generator to Xcode on macOS
- Fix up how we pass in number of jobs so it works with Xcode
2019-03-09 11:57:09 -08:00
George ElKoura
45a03a460b Turn on C++11 in clang when building with Metal
The example code that uses Metal forces C++11 features, therefore
we have to turn it on clang so that we can enable the building of
compatible code that can be used by Metal and GL at the same time.
2019-03-09 11:42:45 -08:00
Pol
834204451a
Merge pull request #1073 from c64kernal/dev_bpfix
Fix build script on Linux when not building ptex
2019-03-08 14:10:35 -08:00
George ElKoura
2f39150a39 Fix build script on Linux when not building ptex
The build script assumed that we always had ZLIB, but we only add it when we
build ptex.  Instead of removing it on Linux, we now only add it when we need
to on non-Linux platforms.
2019-03-04 22:34:12 -08:00
Pol
6ff680f34e
Merge pull request #1068 from c64kernal/dev_buildypy
Prototype build and install script for OpenSubdiv
2019-03-04 15:23:17 -08:00
Pol
b4faafb256
Merge pull request #1070 from c64kernal/dev_docutils
Allow using docutils on Windows
2019-03-04 15:12:14 -08:00
Pol
c6b100218e
Merge pull request #1072 from c64kernal/dev_rmoldimages
Removed unused old logo images from documentation
2019-03-04 15:10:51 -08:00
Pol
77b67d35a5
Merge pull request #1071 from c64kernal/dev_newlogo
Use new OpenSubdiv logos
2019-03-04 15:10:15 -08:00
Pol
9cfe03f191
Merge pull request #1069 from c64kernal/dev_readme
Update README for documentation build requirements
2019-03-04 15:09:18 -08:00