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
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
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
197100cbcb
Fixed glImaging errors w/ ctest
...
Fixed some incorrect shader configurations hit
while running the glImaging example through CTest
2016-10-20 17:26:27 -07:00
David G Yu
552e308266
Added OsdGetPatchIsRegular() for GLSL and HLSL
2016-10-17 15:25:17 -07:00
David G Yu
5ad64bc33e
Addressed some FVar PatchTable API review notes
...
Fixed some inconsistencies with the methods added
to support face-varying patches.
2016-10-14 20:11:17 -07:00
barry
e21b4d902f
Added a few more test shapes for face-varying and inf-sharp patches:
...
- added new shapes to regression/shapes
- updated shapes/all.h to include them
- updated init_shapes.h for glViewer and glFVarViewer
2016-10-13 19:59:38 -07:00
David G Yu
df5d01ad3c
Fixed naming inconsistencies in Far::PatchTable
...
The methods which return arrays of FVarPatchParam have
been made plural, e.g. GetFVarPatchParams(), for consistency
with the other methods in PatchTable.
Also fixed a missing doxygen tag.
2016-10-11 17:07:14 -07:00
barfowl
ffdb32cbac
Merge pull request #877 from davidgyu/inf_sharp_stencil_viewer
...
Updated glStencilViewer for InfSharpPatches
2016-10-10 16:45:45 -07:00
David G Yu
705e144fb5
Updated glStencilViewer for InfSharpPatches
...
Added a toggle to enable the use of infinitely sharp
patches and also implemented fitFrame ('f' keypress).
2016-10-07 17:40:58 -07:00
David G Yu
a3ba5f08f3
Updated glEvalLimit viewer for InfSharpPatch
...
Added a toggle to enable the use of infinitely sharp
patches and also implemented fitFrame ('f' keypress).
2016-10-07 17:21:59 -07:00
David G. Yu
c9a3bb4d87
Updated glViewer and dxViewer for InfSharp patches
...
Both of these have been updated to expose toggles
to enable refinement and creation of infinitely
sharp patches.
2016-09-30 11:00:31 -07:00
David G. Yu
42f5090290
Updated glFVarViewer and glEvalLimit examples
...
These have both been updated to test the refinement
and evaluation of face-varying patch data.
2016-09-29 10:00:19 -07:00
David G Yu
b49d40100d
Fixed compile warnings in ptex examples on macOS
2016-09-06 23:24:46 -07:00
David G Yu
8babf1e12b
Removed mayaPolySmooth example
...
Also removed the remaining Maya dependencies. These
were most useful during the early days of OpenSubdiv.
Now OpenSubdiv has been integrated directly into Maya
and these examples serve little purpose.
2016-09-06 17:08:05 -07:00
George ElKoura
d856975ef3
No longer use CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR
...
As mentioned in issue #814 , avoiding the use of CMAKE_SOURCE_DIR makes it easier to integrate OpenSubdiv as a submodule in other projects.
Fixes #814 .
2016-07-08 22:45:33 -07:00
David G Yu
781b060bd8
Merge pull request #812 from c64kernal/dev_dxv
...
Fix unsigned/signed compare in dxViewer
2016-06-26 10:49:20 -07:00
George ElKoura
507e655a10
Fix unsigned/signed compare.
2016-06-25 21:55:51 -07:00
David G. Yu
1ba1e07ad1
iso-646 fix for ptex / examples / tutorials
2016-06-25 14:27:53 -07:00
David G. Yu
3e3695652f
iso-646 fix for CUDA / CL / TBB
2016-06-25 14:23:55 -07:00
David G Yu
3d08e0ac27
Merge pull request #810 from thomthom/dev-iso646-fix-dx
...
iso-646 fix for DirectX project
2016-06-25 13:55:54 -07:00
Thomas Thomassen
b1e1ff31b4
Clean up DX, example and tutorials.
2016-06-25 10:30:50 +02:00
Thomas Thomassen
72610a3043
Glean up GLEW and GLFW.
2016-06-25 10:29:59 +02:00
Thomas Thomassen
aa0599b4bc
Merge branch 'dev'
...
Conflicts:
opensubdiv/far/patchTableFactory.cpp
2016-06-24 23:30:44 +02:00
David G Yu
90e8b58145
Merge pull request #804 from c64kernal/dev_cmake
...
Use cmake's folder feature on platforms that support it.
2016-06-23 12:56:01 -07:00
George ElKoura
923d60ca74
Use cmake's folder feature on platforms that support it.
...
We now make use of folders where they are supported. In particular, on Visual Studio, this produces much nicer solutions to navigate.
2016-06-09 17:04:26 -07:00
George ElKoura
bd4ee29144
Fixed two issues with HUD sliders.
...
- Capping was broken (thanks to fakebits for pointing it out). Fixes #801 .
- Slides where min != 0 were also broken.
2016-05-01 13:43:21 -07:00
David G Yu
76137e5cc1
Merge pull request #788 from manuelk/dev
...
Improved Ptex configuration and DX compatibility
2016-03-29 12:20:59 -07:00
Takahito Tejima
7cb13ee4a8
fix ptex lookup shaders to clamp the patchcoord
...
with MSAA enabled, patchcoord could overrun the guttering pixels.
2016-03-10 12:39:41 -08:00
manuelk
b5cabd2259
More dxPtexViewer improvements:
...
- fullscreen mode added (-f)
- added usage error message
- added IBL lighting
- matched GUI to glPtexViewer
- removed some ptex HW filter options (missing code is causing crash)
Note : the IBL BRDF definitely needs some tweaks...
2016-02-25 17:14:09 -08:00
manuelk
84d0e02fa2
dxPtexViewer code example updates:
...
- update GUI to match more closely glPtexViewer
- added pipeline stats query for number of triangles tesselated
- matched CPU / GPU compute timers
- added obj animation
- fixed near / far clip planes
2016-02-24 11:38:14 -08:00
Thomas Thomassen
c422a79031
Rename and, or and not to &&, || and ! to address compilers that don't support them out of the box without extra headers.
2016-02-21 15:47:11 +01:00
manuelk
4926fd2c3e
Ptex fixes:
...
- fix build compiling & linking to accomodate recent code churn in Ptex
- fix FindPTex.cmake module to correctly extract version number
- fix dxPtexViewer & glPtexViewer source to compile with new Ptex namespace changes
- add alpha channel padding function to ptexMipmapLoader as a workaround to the absence of 3-channel DXGI formats
- mirror ptex memory limit function from glPtexViewer to dxPtexViewer
2016-02-19 16:58:56 -08:00
David G. Yu
12b53689cf
Fixed pointer increment in glStencilViewer.cpp
2016-02-05 16:20:02 -08:00
manuelk
223d756a14
More compile warning fixes (MSVC 2015)
2016-02-05 15:31:16 -08:00
David G. Yu
dcc4b61bf7
Re-enabled fractional tessellation in viewers
2015-10-23 15:26:46 -07:00
Takahito Tejima
f5810bac97
Fix windows build
2015-09-30 11:20:03 -07:00
Jeremy Cowles
84ff9d3604
Merge pull request #728 from significant-bit/win32-lean
...
use WIN32_LEAN_AND_MEAN properly
2015-09-20 22:36:25 -07:00
George ElKoura
effe6a2ed6
Fixed small bug in glFVarViewer for Loop.
...
- Make sure to pass in the LOOP define to the shader when dealing with
Loop surfaces.
2015-08-24 17:33:30 -07:00
Mike Erwin
585858c1e4
use WIN32_LEAN_AND_MEAN properly
...
Misspelled W32_LEAN_AND_MEAN in osd/opengl.h had no effect on windows.h.
Also added to example code wherever windows.h is included.
2015-08-07 17:45:41 -04:00
David G Yu
b1ab8e3f8b
Fixed single crease patch classification
...
This fixes a regression in the function used to identify single crease
patches. This also updates the patch color values used by the glImaging
regression test to match the colors used in other example viewers so
that patch types can be more easily identified during automated testing.
2015-08-04 17:50:51 -07:00
David G Yu
e897a1c0e5
Merge pull request #702 from daz3d/cmake_error_on_no_gpu
...
Fixes cmake projects for non-gpu use case
2015-08-04 08:00:58 -07:00
David G Yu
282c462097
Disabled Fractional Spacing toggles from viewers
...
Fractional tessellation is not currently supported by the core
tessellation shaders. This will be fixed in a future release.
2015-08-03 12:51:59 -07:00
Takahito Tejima
3825319149
example viewer hud: disable depth test
2015-07-30 15:53:33 -07:00
Takahito Tejima
376e9dd3eb
glViewer,dxViewer: disable catmark_pole360
2015-07-30 15:53:08 -07:00
Takahito Tejima
def029a273
glEvalLimit example: add bilinear shape into test cases
2015-07-29 14:49:51 -07:00
Takahito Tejima
8a8771c97d
Revert "Add ISPC limit surface evaluation"
2015-07-20 17:13:51 -07:00
Sheng Fu
d3f8725e79
Add ISPC limit surface evaluation
2015-07-20 14:12:11 -07:00
Christopher Jones
87dc09e769
Fix cmake projects to not require GLFW when NO_OPENGL provided and not build gpu lib if not needed.
2015-07-15 23:55:14 -06:00
Jeremy Cowles
ab5d5341af
Remove all unused references to AddVaryingWithWeight
...
Far no longer supports this method, so the existing functions were pure noise.
Hbr, however still requires it, so there are still a couple instances of it in
the hbr tutorial files.
2015-06-25 22:12:38 -07:00