Commit Graph

2857 Commits

Author SHA1 Message Date
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
David G Yu
7b8728a3f4
Merge branch 'dev' into dev-mac-subproject 2022-08-07 17:12:10 -07:00
David G Yu
0607de7b2d
Merge pull request #1249 from barfowl/bfr_pull_request
Addition of new interface for limit surface evaluation
2022-08-05 09:54:33 -07:00
Barry Fowler
379624a204 Addition of Bfr interface (4 of 4): documentation 2022-08-02 20:41:55 -07:00
Barry Fowler
e27fe41b01 Addition of Bfr interface (3 of 4): regression/bfr_evaluate 2022-08-02 20:41:44 -07:00
Barry Fowler
8cbc059e6b Addition of Bfr interface (2 of 4): tutorials/bfr 2022-08-02 20:40:48 -07:00
Barry Fowler
a1c7be7c8e Addition of Bfr interface (1 of 4): opensubdiv/bfr
This set of commits includes the addition of a new evaluation interface
that treats a subdivision mesh more like a piecewise parametric surface
primitive.  The new interface was placed in namespace "Bfr" for "Base
Face Representation" as all concepts and classes relate to a single face
of the base mesh.
2022-08-02 20:38:17 -07:00
David G Yu
e6192c7074
Merge pull request #1237 from thomthom/dev-cmake-minimum-required
Move cmake_minimum_required to be the first thing in CMakeLists.txt.
2022-07-26 13:19:45 -07:00
David G Yu
cb7eb26d90
Merge pull request #1247 from davidgyu/dev_macos_azure_update
Updated macOS azure pipelines agent
2022-07-26 12:47:37 -07:00
David G Yu
3b576a378f Updated azure pipelines for macOS 10.14 to 10.15 2022-07-12 14:10:44 -07:00
Kévin Dietrich
38fe09c701 OpenGL Compute Evaluator: cache active program
Client applications may keep track of the active shader program so as to
not unnecessarily bind and unbind the same shader consecutively as
switching shaders is costly.

The current behavior of the OpenGL compute evaluator is to set the
active shader to 0 (zero) after running its program(s) which might
interfere with the aforemoentioned client applications' behavior,
leading to bugs.

Instead of unsetting any previously set shader program, cache the
current program before using the evaluator program, and reset the active
program to the previous one when done.

In Blender, this lead to some rendering artifacts. See https://
developer.blender.org/D15064 for more details on it.
2022-06-26 18:08:38 +02:00
Pol
c92d7b9a82
Merge pull request #1239 from davidgyu/dev_member_init_warnings
Fixed subobject initialization warnings
2021-10-25 10:11:11 -07:00
David G Yu
a91707bae8 Fixed subobject initialization warnings
Fixed a few code sites where subobject initializers were missing braces.
2021-10-20 14:55:59 -07:00
Thomas Thomassen
53ee16c66c Move cmake_minimum_required to be the first thing in CMakeLists.txt. 2021-10-09 09:27:52 +02:00
Thomas Thomassen
3fdcb02cd3 Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR. 2021-10-06 23:21:22 +02:00
David G Yu
f4bbf69d12 Updated video links
These are now external links with poster frames from graphics.pixar.com
2021-07-28 12:42:56 -07:00
George ElKoura
3dffb9c32c
Merge pull request #1231 from davidgyu/dev_fix_video_embed_links
Fixed links for video embeds
2021-06-17 11:39:02 -07:00
David G Yu
2ff05b262d Fixed links for video embeds 2021-06-16 14:30:54 -07:00
Caroline Lachanski
ff76e0f2dc Release 3.4.4 2021-02-05 17:24:39 -08:00
George ElKoura
cab44bea75
Merge pull request #1216 from davidgyu/dev_glloader_update
Merged GL Api Loader fixes from USD
2021-02-05 11:26:04 -08:00
George ElKoura
22e018718d
Merge pull request #1220 from davidgyu/dev_additional_docutils_fix
Additional fix/cleanup for FindDocutils.cmake
2021-02-04 15:39:10 -08:00
George ElKoura
c3a1d5005d
Merge pull request #1219 from davidgyu/dev_release_branch_updates2
Additional renaming fix missed in previous commit
2021-02-04 15:00:26 -08:00
David G Yu
c53895310a Additional fix/cleanup for FindDocutils.cmake
Always call FindPackageHandleStandardArgs() and allow it to
set DOCUTILS_FOUND appropriately. By marking DOCUTILS_VERSION
as required we'll also get a useful error message if the version
string from RST2HTML_EXECUTABLE could not be parsed correctly.
2021-02-04 14:59:14 -08:00
David G Yu
4425a4707d
Merge pull request #1213 from virtualritz/dev
Fixed FindDocutils.cmake for broken rst2html case.
2021-02-04 14:55:40 -08:00
David G Yu
87d2db0ffc Additional renaming fix missed in previous commit 2021-02-04 14:49:38 -08:00
George ElKoura
fa7bb9f940
Merge pull request #1218 from davidgyu/dev_release_branch_updates
Updated for rename of 'master' branch to 'release'
2021-02-04 12:53:14 -08:00
David G Yu
37e8468207 Updated for rename of 'master' branch to 'release'
Documentation and build scripts have been updated
to accommodate this renaming.
2021-02-04 10:09:42 -08:00
George ElKoura
ed544590be
Merge pull request #1214 from davidgyu/dev_macos_frameworks_fix
Fixed macOS static framework installation
2021-02-03 14:00:21 -08:00
David G Yu
84e0e3de6b
Merge pull request #1206 from thomthom/cmake-sub-project
Adjustments to CMake config for use as a sub-project.
2021-02-03 11:35:16 -08:00
George ElKoura
5772f3a5df
Merge pull request #1217 from davidgyu/dev_farviewer_hbr_fix
Removed obsolete references to hbr from farViewer
2021-02-03 11:21:05 -08:00
George ElKoura
e1c99e6818
Merge pull request #1215 from davidgyu/dev_dl_link_fix
Fixed link dependency on dl library
2021-02-03 11:20:11 -08:00
David G Yu
cc60e9eda3 Removed obsolete references to hbr from farViewer 2021-02-03 10:22:09 -08:00
David G Yu
33a3d3bc87 Merged GL Api Loader fixes from USD
Merged recent bug fixes from the USD implementation of the
GL Api Loader. This fixes the OpenGL system framework path on
macOS and also improves GL version and GL extension processing.
2021-02-03 10:17:36 -08:00