Commit Graph

2892 Commits

Author SHA1 Message Date
Barry Fowler
72331f64c5 Minor improvements to Doxgen config file:
- removed obsolete features to reduce warnings in newer versions
    - added missing PROJECT_NAME
2022-09-25 17:37:11 -07:00
Barry Fowler
24b63c951f Added new sections to the Bfr Overview page:
- new section for SurfaceFactory caching and thread-safety
    - new section for deriving subclasses of SurfaceFactory
2022-09-23 17:53:14 -07:00
Barry Fowler
4ca972da8f New and improved figures with Bfr tutorials:
- added new figure for Bfr tutorial 1.1
    - improved the set figures for Bfr tutorial 1.2
    - improved the set figures for Bfr tutorial 2.1
    - added accompanying text related to new figures
2022-09-23 11:16:13 -07:00
David G Yu
ded8a8806f
Merge pull request #1272 from davidgyu/dev_ios_build_notes
Updated iOS build note regarding stringify
2022-09-15 10:07:19 -07:00
David G Yu
1d8a74ee3c Updated iOS build note regarding stringify
Builds using Xcode now use the Python version of stringify
including for cross compilation builds, e.g. iOS, universal, etc.
2022-09-15 09:47:49 -07:00
David G Yu
287cb80619
Merge pull request #1242 from theblackunknown/cmake-config
Add CMake Config
2022-09-15 09:26:03 -07:00
David G Yu
ec9153f22a
Merge pull request #1271 from davidgyu/dev_glsl_interp_qualifier_fix
Removed 'centroid' qualifier from GLSL struct
2022-09-15 09:23:19 -07:00
David G Yu
76841aefa3 Removed 'centroid' qualifier from GLSL struct
This is not valid (See GLSLang Spec, Sec 4.3) and raises shader
compile time errors with some recent drivers.
2022-09-15 08:29:14 -07:00
David G Yu
3f054c7410 Updated cmake config export paths and target names
The cmake config export paths are now more consistent
with other vfx platform projects.

The target names are now more consistent with existing
opensubdiv static and dynamic library names.
2022-09-15 02:34:02 -07:00
David G Yu
28e511af12 Removed non-primary build artifacts from config
Downstream projects should not depend on these.
2022-09-14 17:15:23 -07:00
David G Yu
1cb5494c59
Merge pull request #1270 from barfowl/gcc_warnings_conversion
Suppression of more GCC warnings with -Wconversion
2022-09-14 16:14:37 -07:00
Barry Fowler
0e574f7204 Fix more internal GCC warnings with -Wconversion 2022-09-14 14:52:01 -07:00
David G Yu
10f63f1918
Merge pull request #1267 from davidgyu/dev_python_stringify
Implemented alternate Python 'stringify' tool
2022-09-12 17:57:22 -07:00
David G Yu
cb1657be17 Implemented alternate Python 'stringify' tool
This simplifies build dependencies when cross-compiling
or when building multi-architecture binaries.

For backward compatibility with earlier releases, the compiled
C++ version of this tool is used when no Python interpreter is found.
2022-09-12 17:19:27 -07:00
David G Yu
b7a1d874be
Merge pull request #1266 from davidgyu/dev_cmake_find_python
Updated doc build to use FindPython
2022-09-12 17:11:20 -07:00
David G Yu
28ab09401e Updated doc build to use FindPython
This helps accommodate the transition to Python 3
2022-09-12 15:49:41 -07:00
David G Yu
e33f7113b3
Merge pull request #1265 from davidgyu/dev_python3_doc_build
Updated doc build scripts for Python 3
2022-09-11 19:17:57 -07:00
David G Yu
a6ebb6e083
Merge pull request #1264 from davidgyu/dev_dependencies_fix
Fixed broken public headers dependency
2022-09-11 19:17:29 -07:00
David G Yu
d13501eeb3 Fixed broken public headers dependency
Fixes a doc build error resulting from the CMake minimum version update.
2022-09-11 18:22:41 -07:00
David G Yu
26cda644a3 Updated doc build scripts for Python 3
These changes allow the scripts to work with either Python 2 or 3.
2022-09-11 15:33:46 -07:00
Barry Fowler
40eee124f4
Merge pull request #1262 from barfowl/bfr_evaluate_default
Address failures in default execution of Bfr regression test
2022-09-09 18:37:40 -07:00
David G Yu
514ddccd15
Merge pull request #1261 from davidgyu/dev_cmake_version
Updated CMake minimum version to 3.12
2022-09-09 18:04:41 -07:00
Barry Fowler
b5cbbdfc8c Removed failure from default execution of Bfr regression:
- moved shape triggering failure from the default list
2022-09-09 17:57:51 -07:00
David G Yu
e627e4827e Updated CMake minimum version to 3.12 2022-09-09 09:11:37 -07:00
David G Yu
698c7242bb
Merge pull request #1259 from davidgyu/dev_obsolete_ci
Removed appveyor and travis-ci scripts
2022-09-08 10:26:53 -07:00
David G Yu
62e75e4a74
Merge pull request #1258 from davidgyu/dev_azure_bfr_testing
Added bfr tests to azure pipelines test runs
2022-09-08 10:26:16 -07:00
David G Yu
a7490a5e8e
Merge pull request #1257 from Danielmelody/release
fix opengl loader include error when build with opengl and examples
2022-09-08 10:24:56 -07:00
David G Yu
1b773c0bc6 Removed appveyor and travis-ci scripts
These are no longer used or maintained.
2022-09-08 10:04:44 -07:00
David G Yu
18d28a1601 Added bfr tests to azure pipelines test runs 2022-09-08 10:00:03 -07:00
Daniel
4f5834de30 fix opengl loader include error when build with opengl and examples 2022-09-04 01:04:48 +08:00
David G Yu
3daa08b1dd
Merge pull request #1238 from thomthom/dev-no-framework-option
Add option to not generate frameworks under macOS. Ref #1236
2022-09-02 18:21:23 -07:00
David G Yu
141cd19673
Merge branch 'dev' into dev-no-framework-option 2022-09-02 18:10:23 -07:00
David G Yu
4a75c5577a
Merge pull request #1254 from barfowl/gcc_warnings_bitfields
Suppression of GCC warnings from -Wconversion with bitfields
2022-09-02 15:51:11 -07:00
David G Yu
f7028b2f98
Merge pull request #1255 from barfowl/far_topology_additions
Added more inspection methods to Far::TopologyLevel
2022-09-02 15:48:44 -07:00
David G Yu
2bae533edf
Merge pull request #1256 from davidgyu/dev_azure_updates
Updated azure pipelines for CY2022
2022-09-02 14:40:10 -07:00
Barry Fowler
887ee04572 Added more methods to Far::TopologyLevel:
- test if a vertex is a corner (one incident face)
    - test if valence of a vertex is regular
    - tests if a vertex is semi- or inf-sharp
    - tests if an edge is semi- or inf-sharp
2022-09-02 12:56:29 -07:00
David G Yu
cd1277a669 Updated azure pipelines for CY2022
- ubuntu 20.04 (from 18.04 unsupported after 12/2/2022)
- macOS 11 Big Sur (from 10.15 unsupported after 9/30/2022)
2022-08-30 20:08:39 -07:00
David G Yu
4f5b15ca26
Merge pull request #1244 from diekev/dev-ogl-program-cache
OpenGL Compute Evaluator: cache active program
2022-08-30 14:40:18 -07:00
Barry Fowler
8b863a0009 Fix GCC warnings with -Wconversion and bitfields:
- apply bitmask in member initialization to suppress warning
    - add public Set...() with bitmask for assignment by users
    - replace any assignments with new public Set...() methods
2022-08-30 14:34:17 -07:00
David G Yu
04c60c992d
Merge pull request #1253 from barfowl/gcc_warnings
Suppression of compiler warnings from GCC
2022-08-30 13:52:15 -07:00
Barry Fowler
57847e625c Fix GCC warnings with -Wshadow and -Wconversion:
- suppressed -Wshadow in libraries, tutorials and regressions
    - suppressed -Wconversion when casts to simple POD type required
2022-08-30 12:56:59 -07:00
Barry Fowler
810d7f671b Fix GCC warnings with current default flags:
- default flags include warnings enabled by -Wall and -Wextra
    - suppressed newer warnings in public headers and internal files
      (-Wclass-memaccess, -Wcast-function-type, -Wdeprecated-copy)
    - suppressed -Wunused-function from internal source files
2022-08-30 12:13:44 -07:00
David G Yu
6ee81253a3
Merge pull request #1252 from barfowl/gregory_mixed_partial
Improved mixed partial at Gregory patch corners
2022-08-26 17:18:02 -07:00
David G Yu
92f724f354
Merge pull request #1251 from barfowl/far_tutorials
Minor improvements to Far tutorials:
2022-08-26 17:06:24 -07:00
David G Yu
3fcc39a4a9
Merge pull request #1250 from barfowl/bfr_tutorials
Additions and improvements to Bfr tutorials:
2022-08-26 17:05:04 -07:00
Barry Fowler
5accb0c2c0 Fixed warning-as-error for Microsoft compiler 2022-08-25 19:29:05 -07:00
Barry Fowler
647309a7d7 Improved mixed partial at Gregory patch corners:
- normalized the rational weights for pairs of interior points
    - fixed sign swap error in mixed partial of bilinear patches
    - applied changes to both far/patchBasis and osd/patchBasisCommon
2022-08-25 18:40:33 -07:00
Barry Fowler
a492af45e3 Minor improvements to Far tutorials:
- addressed leaks-on-exit (#1226) and return value from main() for all
    - fixed color indexing bug in tutorial_2_2 (#1241)
    - suppressed a few compiler warnings
2022-08-25 17:47:12 -07:00
Barry Fowler
c025f7178d Additions and improvements to Bfr tutorials:
- added tutorial_1_5 to illustrate use of limit stencil evaluation
    - added tutorial_3_2 to illustrate caching of Surfaces for later use
    - improved tutorial_2_2 (simplified, more comments)
    - updated Bfr tutorial docs with new images and descriptions
    - modified CMake files for each tutorial to use osd_add_bfr_tutorial
2022-08-25 17:20:21 -07:00
David G Yu
35c1c5f642
Merge pull request #1235 from thomthom/dev-mac-subproject
Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR.
2022-08-07 17:18:45 -07:00