Commit Graph

1851 Commits

Author SHA1 Message Date
Jeremy Cowles
87e3396ca9 Merge pull request #609 from poljere/fix_far_tutorial_3
Far_Tutorial_3 : Added vertex colors to the second face-varying channel
2015-06-09 11:03:27 -07:00
Jeremy Cowles
093b31011a Merge pull request #613 from c64kernal/dev_doc
A few small updates to the docs.
2015-06-09 10:32:21 -07:00
Jeremy Cowles
c8b6b0f3bc Merge pull request #614 from barfowl/doc_updates
Minor revisions to documentation files
2015-06-09 10:31:57 -07:00
barfowl
e1f0748b8e Minor revisions to documentation files 2015-06-08 20:08:46 -07:00
George ElKoura
6f4c395dbe A few small updates to the docs.
- Make our intentions about Face-varying support clear.
- Remove outdated "Patch Transitions" section.
- Remove outdated Beta note regarding control vertices ordering.
2015-06-08 18:56:02 -07:00
Pol
f669e3a3d7 The Maya plugin can interpolate a UV channel and a vertex color channel. 2015-06-08 15:26:36 -07:00
David G Yu
5e5da3200b Merge pull request #606 from takahito-tejima/dev
release note updates about single crease patch and endcaps.
2015-06-05 16:26:35 -07:00
Pol Jeremias-Vila
b18abaabc8 Adding vertex color in the second face-varying channel. 2015-06-05 15:59:11 -07:00
Takahito Tejima
8118f5e55c Merge pull request #608 from davidgyu/farViewerFix
Fixes for farViewer
2015-06-05 15:48:57 -07:00
David G Yu
3c30c804c8 Fixed farViewer hotkeys to match other examples
New key bindings:
    Control edges 'H' (was 'e')
    Control vertices 'J' (was 'r')
    Draw mode 'W' (was 'f')
    Fit Frame 'F' (was previously unavailable)
2015-06-05 14:22:19 -07:00
David G Yu
915f7c9d3a Fixed farViewer to end query operations
Previously, the unterminated queries resulted in invalid GL operations.
2015-06-05 13:56:40 -07:00
David G Yu
ae535c9321 Updated farViewer control mesh display
Previously, farViewer had an incomplete implementation of this which executed
invalid GL commands. Now, farViewer uses the common control mesh display for
consistency with other example viewers.
2015-06-05 13:52:24 -07:00
Takahito Tejima
9716631864 release note updates about single crease patch and endcaps. 2015-06-05 09:59:19 -07:00
Jeremy Cowles
0ca5714977 Merge pull request #605 from davidgyu/glfwBuildFix
Added Xinerama as a link dependency for GLFW.
Fixes #604, #473
2015-06-04 19:44:15 -07:00
David G Yu
0bcb4c8a2a Added Xinerama as a link dependency for GLFW
This is a recently introduced dependency in GLFW 3.1.x

Since Xinerama is widely supported, simply adding this as a required
dependency for now. If this turns out to be a problem then we can
make this dependency optional when using older versions of GLFW.
2015-06-04 12:51:52 -07:00
George ElKoura
2587f6ea07 Merge pull request #602 from jcowles/dev-docs
Updated RC1 release notes
2015-06-04 07:58:40 -07:00
Jeremy Cowles
4e568d6657 Additional release notes update 2015-06-03 23:38:42 -07:00
Jeremy Cowles
0ea8acf89b Updating RC1 release notes 2015-06-03 23:01:01 -07:00
Jeremy Cowles
40e7d206ab Merge pull request #601 from c64kernal/dev_ver
Getting ready for RC1.
2015-06-03 21:47:10 -07:00
George ElKoura
aa6ba33281 Getting ready for RC1.
- changed the namespace version
- updated release notes documentation
2015-06-03 20:06:21 -07:00
Jeremy Cowles
d716431b64 Merge pull request #600 from barfowl/fvar_channel
Made channel argument non-optional for internal face-varying methods
2015-06-03 19:37:00 -07:00
barfowl
c748cf6cfa Made channel argument non-optional for internal face-varying methods
- removed default value assignment in Vtr::Level and Far::PatchTable
    - fixed one place where the expected channel argument was omitted
2015-06-03 19:23:50 -07:00
Takahito Tejima
68c3c2f455 Merge pull request #599 from davidgyu/exampleCleanup
Removed GLFW2 -> GLFW3 shenanigans from glUtils
2015-06-03 18:48:43 -07:00
Takahito Tejima
f51687056f Merge pull request #598 from davidgyu/tessMetricFix
Fixed the tessellation metrics calculations
2015-06-03 18:48:32 -07:00
David G. Yu
af15d752ed Removed GLFW2 -> GLFW3 shenanigans from glUtils 2015-06-03 18:36:08 -07:00
George ElKoura
ab0bc6ccf2 Merge pull request #597 from takahito-tejima/examples
example fix: remove unnecessary debugging feature.
2015-06-03 18:15:52 -07:00
David G. Yu
80fe31225c Fixed the tessellation metrics calculations
Unified transition patch drawing affects the calculation of
tessellation level metrics. Because a single edge of a shader
patch might be split into two halfs along a transition edge,
the effective maximum number of spans along any adaptive edge
is limited to half of the device maximum.
2015-06-03 18:01:19 -07:00
Takahito Tejima
5c01e709f9 example fix: remove unnecessary debugging feature. 2015-06-03 17:40:36 -07:00
David G Yu
f2d5ed8919 Merge pull request #596 from takahito-tejima/examples
Examples fixes: clew crash, unsupported GPU evals, MDI
2015-06-03 16:34:20 -07:00
Takahito Tejima
8378639deb Add a guard for glMultiDrawElementsIndirect, and also disable it too.
we need more work to get MDI work. disabling it for now.
2015-06-03 15:01:09 -07:00
Takahito Tejima
45d8b1de54 examples fix: CLEW crash, print a message for unsupported GPU kernel
- Fix crashes on glEvalLimit and glStencilViewer with CLEW
- Currently GPU patch evaluation only supports BSpline patches.
  raise an error message in glEvalLimit for the unsupported combinations
  until GregoryBasis evaluation will be added to them.
2015-06-03 15:01:05 -07:00
David G Yu
89bbf53763 Merge pull request #595 from takahito-tejima/dev
Suppress erroneous drawing around valence 2 interior vertex
2015-06-03 14:53:23 -07:00
Takahito Tejima
815e54edd0 Suppress erroneous drawing around valence 2 interior vertex
Although valence 2 gregory patch is not well supported yet, this fix
mitigates artifacts around such a vertex.
Adding a shape catmark_gregory_test8 to see this issue.
2015-06-03 13:56:29 -07:00
Jeremy Cowles
12f260adad Merge pull request #593 from davidgyu/fvarSmoothPatchPostpone
Removed WIP face-varying bicubic patches
2015-06-03 13:46:39 -07:00
Takahito Tejima
229b43f9da Merge pull request #594 from jcowles/dev-cleanup
Clean up compiler warnings.
2015-06-03 13:45:10 -07:00
jcowles
b081055fe9 Clean up compiler warnings.
stb - potential use of uninitialized variable (this may have been safe)
farViewer - unused variable
patchTableFactory - _channelIndices potentially used uninitialized
FVarLevel - valueIndexInFace0 potentially used used uninitialized (was safe)
2015-06-03 13:17:40 -07:00
David G Yu
521f31468b Removed WIP face-varying bicubic patches
We'll restore this code and finish it up for the next release.

For now, removing this code restores parity with the 3.0 beta,
i.e. face-varying patches are always all bilinear.
2015-06-03 12:49:01 -07:00
Takahito Tejima
ef55c48123 Merge pull request #587 from davidgyu/fvarSmoothPatchPostpone
Prepare to defer face-varying bicubic patches
2015-06-03 12:33:05 -07:00
Jeremy Cowles
f35849ef4b Merge pull request #592 from barfowl/far_doxygen
Added Doxygen tags to some Far headers
2015-06-03 12:03:43 -07:00
barfowl
35f64d085d Added Doxygen tags to some Far headers 2015-06-02 23:35:39 -07:00
David G Yu
43cc693c7d Merge pull request #591 from takahito-tejima/dev
Fix gregory patch shader: wrong tangents on corner corners
2015-06-02 18:55:21 -07:00
Takahito Tejima
16d566884a Fix gregory patch shader: wrong tangents on corner corners
Besides we've not been computing accurate derivatives on gregory patch,
there was a separate bug in shaders which gives completely bogus dUdV on
corner vertices. This change fixes that significant artifact, however,
is still approximating derivatives by ignoring rational components.
2015-06-02 18:27:36 -07:00
David G Yu
5590c62f0a Merge pull request #590 from takahito-tejima/dev
Fix tessellation cracks when screen space tesselation is turned off.
2015-06-02 17:27:30 -07:00
Takahito Tejima
670ce267f3 Fix tessellation cracks when screen space tesselation is turned off.
The tess factor of transition edges has to be clamped to 2.
2015-06-02 17:08:17 -07:00
Jeremy Cowles
8966519b8b Merge pull request #589 from barfowl/topology_descriptor
Separated Far's TopologyDescriptor from the RefinerFactory classes
2015-06-02 17:07:18 -07:00
David G Yu
4503ad993e Merge pull request #588 from takahito-tejima/dev
Improve OpenCL/DX interop configuration
2015-06-02 16:52:42 -07:00
barfowl
6c61f1b006 Separated Far's TopologyDescriptor from the RefinerFactory classes:
- moved TopologyRefiner out of the RefinerFactoryBase into Far
    - moved implementation of its Factory<MESH> to far/topologyDescriptor.*
    - updated examples and tutorials (no more references to FactoryBase)
2015-06-02 16:27:19 -07:00
Takahito Tejima
5c54962d3b Improve OpenCL/DX interop configuration
build osd and examples with DX/CL interop only of cmake finds
cl_d3d11.h or cl_d3d11_ext.h.
2015-06-02 16:20:59 -07:00
David G Yu
1c4bdbb726 Prepare to defer face-varying bicubic patches
There's a lot of good foundational work here to eventually support
smooth interpolation of face-varying patches. Unfortunately, this
is not quite ready to release. Therefore, we've decided to defer this
feature until a later release.

This change hides this code behind the FAR_FVAR_SMOOTH_PATCH macro.
2015-06-02 15:28:31 -07:00
Takahito Tejima
36465ed96c Merge pull request #586 from davidgyu/fvarRename
Renamed per-patch face-varying access methods
2015-06-02 14:26:25 -07:00