- 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
- 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
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.
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.
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.
On Windows we now look for and use an explicit python interpreter to
find the version of docutils installed. There is more information in
the commit, but it would result in a much cleaner change if we could
decide that it's okay to do this for all platforms. For now, just do it
for Windows to get us unblocked.
This script is intended to make building OpenSubdiv with all its various options easier to manage. It will automatically download and install the dependencies where it can (e.g., it can get GLEW automatically, but it can't get the CUDA SDK).
This is a fork of the similar script found in the USD repo.
- Add search path for Windows 10 support for DirectX SDK
- Turn off searching the default paths for the DirectX libraries and
instead use the explicit paths provided. On certain configurations,
this fixes the case where cmake will pick up the librariees for the wrong
architecture
- Be more explicit when a required DirectX library is not found instead
of silent failure.
As mentioned in issue #997, OpenSubdiv still uses CUDA functionality
that is being deprecated. When warnings are treated as errors, this
can make OpenSubdiv fail to compile. For now, we turn off these
deprecation warnings until we can address them.
- added far/tutorial_10 illustrating variable width vertex class
- revised far/tutorial_9 for command line and documentation conventions
- updated doc/tutorials.rst with missing and new tutorial descriptions
- addition of new shapes -- mainly Loop and Bilinear
- removal of redundant shapes and those not suited to a particular example
- enforced consistent "Patch Type" coloring where provided
- enforced consistent command line usage for common options and Obj input
- enforced consistent default settings on initialization
- added errors and/or assertions where legitimate limitations remain
- improved error handling (OSD errors not being flushed before termination)