Commit Graph

2275 Commits

Author SHA1 Message Date
David G Yu
8e426be369 Merge pull request #932 from barfowl/wshadow_far
Removed shadowing warnings from source for core libraries
2017-04-20 22:39:34 -07:00
barry
e651027beb Changes to eliminate shadowing warnings in core libraries:
- renamed shadowing variables and arguments in Far factory classes
2017-04-19 18:48:15 -07:00
George ElKoura
7d980bf952 Merge pull request #931 from davidgyu/dev_mtl_fix
Removed duplicate mtlVertexBuffer build config
2017-04-19 18:05:56 -07:00
David G Yu
dc950cf5fb Removed duplicate mtlVertexBuffer build config 2017-04-19 17:25:23 -07:00
Michael Harris
30cd2df37c Added Metal support 2017-04-19 16:49:53 -07:00
David G Yu
023a2b8649 Merge branch 'release/v3_2_0' into dev 2017-01-31 13:47:58 -08:00
David G Yu
62e1a62842 Release 3.2.0 2017-01-31 13:43:21 -08:00
Takahito Tejima
a9dfea5bb8 Merge pull request #929 from davidgyu/dev_osd_eval_fixes
Fixed Cpu Omp and GLXFB EvalStencils w/ deriv
2017-01-31 10:59:55 -08:00
David G Yu
a725188081 Fixed Cpu Omp and GLXFB EvalStencils w/ deriv
Fixed a few bugs uncovered during testing.
2017-01-31 10:23:55 -08:00
Takahito Tejima
73cc2d3e3c Merge pull request #928 from davidgyu/dev_xfb_interleaved
Improved XFB Evaluation of 1st and 2nd derivatives
2017-01-30 16:20:15 -08:00
David G Yu
a95e23e980 Updated glEvalLimit to use shared XFB buffers 2017-01-30 12:12:04 -08:00
David G Yu
63fdb39912 Improved XFB Evaluation of 1st and 2nd derivatives
Most GL implementations support a maximum of 4 transform
feedback buffer bindings. With the addition of 1st and 2nd
derivative evaluation up to 6 bindings might be required,
i.e. dst, du, dv, duu, duv, dvv.

This change extends the GLXFB Evaluator interface to allow
a client to specialize the evaluator when it is known that
(at least) the 1st derivative and 2nd derivative outputs
are interleaved together into shared buffers.

When this option is used, the maximum number of transform
feedback buffer bindings can be reduced to 3 instead of 6.
2017-01-30 12:12:00 -08:00
George ElKoura
a410a52f4e Merge pull request #924 from davidgyu/dev_osd_eval_deriv
Updated Osd Evaluator methods for derivative eval
2017-01-27 18:38:41 -08:00
David G Yu
5a0af7599b Merge pull request #927 from barfowl/legacy_corner_option
Expose public option to improve sharp patches at smooth corners
2017-01-27 18:03:07 -08:00
David G Yu
a6f20a7bba Merge pull request #926 from barfowl/fvar_viewer
Minor improvements to examples/glFVarViewer
2017-01-27 17:40:00 -08:00
David G Yu
3d36a9de66 Updated glEvalLimit to display curvature
Added an option to display mean curvature
computed by evaluating 2nd partial derivatives
2017-01-27 17:14:27 -08:00
David G Yu
8d3ba7372a Updated OsdMesh for 2nd partial deriv buffers 2017-01-27 17:14:27 -08:00
David G Yu
fe38ad8cda Added missing Osd Evaluator methods for deriv eval
Now that Far::LimitStencilTable and Far::PatchTable
support evaluation of 1st and 2nd derivatives the
Osd Evaluator API for evaluating stencils and patches
has been updated to match.
2017-01-27 17:14:18 -08:00
David G Yu
432b6b235f Updated doxygen comments for Osd Evaluator classes 2017-01-27 16:53:39 -08:00
barry
e3dd0f1798 Publicly exposed choice for smooth boundary patches at smooth corners:
- added Far::PatchTableFactory::Options::generateLegacySharpCornerPatches
    - legacy behavior of sharp patches at smooth corners preserved by default
    - added corresponding option bit to Osd::MeshBits
    - updated examples/glViewer with option
2017-01-27 16:22:04 -08:00
barry
7b2a0b239d minor improvements to examples/glFVarViewer:
- added detection of shapes without UVs and report fatal error
    - fixed command line parsing of shape file arguments and other options
    - added missing UVs from shapes/catmark_fan
2017-01-27 14:22:54 -08:00
Takahito Tejima
044b25e818 Merge pull request #918 from davidgyu/dev_fix_spelling_731
Fixed spelling errors and typos in comments
2017-01-26 13:18:01 -08:00
Takahito Tejima
072e515dda Merge pull request #925 from davidgyu/dev_fix_osd_program_delete
Fixed program delete in Osd::GLComputeEvaluator
2017-01-26 13:16:27 -08:00
Takahito Tejima
567bedbd4d Merge pull request #917 from davidgyu/dev_fix_static_crt_776
Added option to build using MSVC with static CRT.
2017-01-26 13:15:37 -08:00
David G Yu
66e8592ac6 Fixed program delete in Osd::GLComputeEvaluator
This fixes an inadvertant double delete of the previous GL progam
when compiling a compute kernel.
2017-01-25 17:00:33 -08:00
Thomas Thomassen
05352272b1 Fixed some typos in comments. 2017-01-24 22:48:48 -08:00
Mike Erwin
bd3113e7e3 spelling phase 4 -- examples, tutorials, regression tests
Read all comments and made corrections to files that aren't part of
OpenSubdiv itself but are packaged with it.

Commandline output of glPtexViewer is affected. Otherwise no functional
changes.
2017-01-24 22:48:48 -08:00
Mike Erwin
fc19cd2604 spelling phase 2
For completeness, ran files through an automated spell checker (Visual
Studio plugin) which caught several things missed while reading.
2017-01-24 22:48:44 -08:00
David G Yu
0dae7601d9 Merge branch 'release/v3_1_1' into dev 2017-01-11 17:04:45 -08:00
Mike Erwin
0beb654f0b spelling
Noticed a few typos when browsing comments. Proceeded with a "manual
spell check", reading all comments and tweaking spelling, grammar,
punctuation.

Didn't bother with Hbr library.

Comments only, no functional changes.
2017-01-11 12:40:49 -08:00
Thomas Thomassen
cd6cedc1ac Added option to build using MSVC with static CRT. 2017-01-10 15:42:59 -08:00
David G Yu
df0ac0c34f Release 3.1.1 2017-01-09 16:33:08 -08:00
Jeremy Cowles
ee5ad78e64 WIN32 Glew fixes to CMakeLists.txt
Previously, glew was forced to static linkage on windows, even when
dynamic Glew libraries were linked which would result in linker errors.

In this change, static glew libraries are detected by looking for the "s"
suffix convention on the library (though, maybe this should be handled in
the FindGlew module).
2017-01-06 18:37:20 -08:00
barry
e80d4bedcf Fixed bug with non-manifold face-varying topology causing crash:
- corrected the regular patch assembly in Far::PatchTableFactory
    - updated regression shapes to include the problematic topology
2017-01-06 18:37:15 -08:00
George ElKoura
d4fca48360 Merge pull request #916 from davidgyu/dev_fix_glew_905
WIN32 Glew fixes to CMakeLists.txt
2017-01-06 13:42:45 -08:00
Jeremy Cowles
ff380188e6 WIN32 Glew fixes to CMakeLists.txt
Previously, glew was forced to static linkage on windows, even when
dynamic Glew libraries were linked which would result in linker errors.

In this change, static glew libraries are detected by looking for the "s"
suffix convention on the library (though, maybe this should be handled in
the FindGlew module).
2017-01-06 09:52:19 -08:00
David G Yu
c53fc7c71f Merge pull request #915 from barfowl/fvar_nonman_bug
Fixed bug constructing patch with non-manifold face-varying topology
2016-12-19 12:27:20 -08:00
barry
796a2f40a7 Fixed bug with non-manifold face-varying topology causing crash:
- corrected the regular patch assembly in Far::PatchTableFactory
    - updated regression shapes to include the problematic topology
2016-12-15 12:33:36 -08:00
barfowl
5c3fb54942 Merge pull request #912 from davidgyu/fvar_stencil_table 2016-12-13 18:20:22 -08:00
David G Yu
0a9b1f6373 Updated glFVarViewer/glEvalLimit for FVar stencils
These viewers now use stencil tables to refine all
face-varying primvar values, i.e. for both refined
points and local points.
2016-11-22 20:05:42 -08:00
David G Yu
5e77907e24 Support creation of Face-Varying stencil tables
Extended Far::StencilTableFactory to support the creation
of stencil tables for face-varying channels. We already
use stencil tables to compute local point face-varying values.
These changes allow a stencil table to be created which
refines face-varying primvar data for all refined points.
2016-11-22 20:04:56 -08:00
David G Yu
e004143a44 Merge pull request #907 from beaverb1ll/readme_cmake_example
Resolve readme CMake snippet typos
2016-11-15 10:44:28 -08:00
George ElKoura
effffe9328 Merge pull request #908 from davidgyu/dev_cmake3_fix
Fixed cmake GLFW X11 link dependencies
2016-11-11 23:17:16 -08:00
David G Yu
b0bdd901ff Fixed cmake GLFW X11 link dependencies
There is more we can clean up here, but this
fixes link issues while building on X11 platforms
when using cmake 3.x
2016-11-11 15:36:12 -05:00
beaverb1ll
1d4b3948dd Removed extra -D from Readme examples, removed a trailing whitespace 2016-10-30 15:40:59 -04:00
David G Yu
5a62966760 Merge branch 'release/v3_1_0' into dev 2016-10-21 16:04:49 -07:00
David G Yu
3e6febdfb9 Release 3.1.0 2016-10-21 16:03:40 -07:00
Takahito Tejima
2cdc035cbd Merge pull request #901 from barfowl/release_doc_tweaks
Minor changes to 3.1 release documentation:
2016-10-21 15:15:51 -07:00
Takahito Tejima
207cd92bb9 Merge pull request #899 from davidgyu/ctest_glimaging_fix
Fixed glImaging errors w/ ctest
2016-10-21 15:11:43 -07:00
barry
906f3e0c99 Minor changes to 3.1 release documentation:
- fixed dangling links to intro_30.html -- now release_30.html
    - minor changes for consistency and to remove redundancy
2016-10-20 19:53:17 -07:00