Commit Graph

1336 Commits

Author SHA1 Message Date
George ElKoura
dbc63d3e91 Merge pull request #419 from takahito-tejima/ctest
CMakeLists: add enable_testing/add_test
2015-04-16 11:14:47 -07:00
Takahito Tejima
6e6e8040b7 CMakeLists: add enable_testing/add_test 2015-04-16 10:52:08 -07:00
George ElKoura
9baa85ca82 Merge pull request #416 from c64kernal/dev
Fixing invalid memory read error in glEvalLimit.
2015-04-15 13:43:02 -07:00
George ElKoura
88cae52f85 Fixing invalid memory read error in glEvalLimit.
We were erroneously using the number of vertices of the refined mesh to copy
data only allocated for the coarse mesh's number of vertices.
2015-04-15 13:38:59 -07:00
Jeremy Cowles
b29f5fd653 Merge pull request #415 from jcowles/dev
Updating documentation in readme and far_overview.
2015-04-12 18:18:48 -07:00
jcowles
9ef4be64f0 Updating documentation in readme and far_overview.
Pointing the README build notes to the public web site so there is a single
source of build documentation.

Fixed minor typo in far_overview.
2015-04-12 18:13:23 -07:00
Jeremy Cowles
55a700b4bf Merge pull request #414 from c64kernal/dev
Appease gcc warning about multi-line comments.
2015-04-12 18:02:27 -07:00
Jeremy Cowles
41ad749f9c Merge pull request #413 from c64kernal/dev_regrename
Renamed vtr_regression to far_regression
2015-04-12 18:01:48 -07:00
George ElKoura
b2c77f234c Appease gcc warning about multi-line comments. 2015-04-10 23:21:50 -07:00
George ElKoura
ee93bf215d Renamed vtr_regression to far_regression
Renamed the existing vtr_regression test to far_regression as the public API is
meant to be the far library, and vtr_regression was really testing through
the far API.

Deleted the old far_regression as it is no longer relevant.
2015-04-10 19:10:50 -07:00
Takahito Tejima
ff8b1c4148 Merge pull request #412 from takahito-tejima/dev
Fix gregory basis evaluation bugs.
2015-04-10 18:06:45 -07:00
Takahito Tejima
0232ff5543 Fixes limit stencil evaluation on gregory basis patch. 2015-04-10 17:45:00 -07:00
Takahito Tejima
3b748e3b8d Fixes a gregory basis evaluation bug. 2015-04-10 17:44:33 -07:00
Takahito Tejima
3ecb6e1bd8 Merge pull request #410 from takahito-tejima/dev
#version 410 for XFB kernel and then OSX can run the XFB kernel.
2015-04-10 15:43:27 -07:00
Takahito Tejima
7b37eb8cd6 #version 410 for XFB kernel and then OSX can run the XFB kernel. 2015-04-10 15:42:25 -07:00
Takahito Tejima
d878a111c8 Merge pull request #409 from takahito-tejima/dev
remove subroutines from GLSL kernels.
2015-04-10 15:36:36 -07:00
Takahito Tejima
1e9ca564b0 remove subroutines from GLSL kernels. 2015-04-10 15:34:04 -07:00
Takahito Tejima
7b65b5b178 Merge pull request #408 from takahito-tejima/dev
Add glImaging test. It iterates over regression shapes and kernels then ...
2015-04-10 15:17:01 -07:00
Takahito Tejima
ce94262354 Add glImaging test. It iterates over regression shapes and kernels then generate images 2015-04-10 15:14:07 -07:00
barfowl
6ba910cd95 Added more functionality missing from stubs for Sdc limit masks:
- modified main LimitMask queries to include subdivision Rule
    - split internal mask assignments into corner, crease and smooth cases
    - adapted all three schemes to the new structure
    - completed limit tangents for Loop
    - update TopologyRefiner Limit methods to pass newly required Rule
2015-04-10 12:29:23 -07:00
Takahito Tejima
f5c1617b0f Merge pull request #407 from takahito-tejima/dev
Remove FarKernelBatch
2015-04-10 11:20:15 -07:00
Takahito Tejima
1ec0b2b1f2 add includes 2015-04-10 11:09:14 -07:00
Takahito Tejima
24a435da01 avoid lauching stencil kernel and not to allocate device tables if the stencil table is empty. 2015-04-10 11:08:51 -07:00
Takahito Tejima
214e62e67a add a constructor to FarStencilTables to initialze members. 2015-04-10 11:08:41 -07:00
Takahito Tejima
8da827336d Removes FarKernelBatch.
This is the first step to tease off Osd compute controller/contexts
from Far API.
Currently FarStencilTable only creates a kernelbatch for the entire range,
so we can use [0, numStencils) for all cases instead of KernelBatch.
This might not be true if we apply non-factorized level-wise stencils,
then we'll add another modular utility to serve those cases.
2015-04-10 11:08:24 -07:00
David G Yu
50d30b101e Merge pull request #406 from davidgyu/buildfix
Fixed topologyRefiner.cpp to include error.h
2015-04-10 09:26:10 -07:00
David G Yu
ecb824af10 Fixed topologyRefiner.cpp to include error.h 2015-04-10 09:19:08 -07:00
barfowl
bb3552c441 Added error messages to Far::TopologyRefiners main refinment methods 2015-04-09 21:08:26 -07:00
Jeremy Cowles
0bf42103ce Fixing shaders to make OSX/AMD GLSL compiler happy.
Write vec4(0) to the vertex shader OutputVertex.patchCoord, which is consumed
by the geometry shader.
2015-04-08 22:14:33 -07:00
Takahito Tejima
5206d5a471 Merge pull request #405 from takahito-tejima/dev
Fix windows build
2015-04-08 21:12:34 -07:00
takahito-tejima
f52915227f Fix windows build 2015-04-08 21:10:00 -07:00
Takahito Tejima
ef41088c3c Merge pull request #404 from takahito-tejima/dev
Enable GregoryBasis patch.
2015-04-08 17:24:45 -07:00
Takahito Tejima
24f9dc154b Enable GregoryBasis patch.
PatchTablesFactory fills 20 indices topology into patchtable, and use it for eval and draw.

note: currently screen-space adaptive tessellation of gregory basis patches is
broken and cracks appear around them.
2015-04-08 17:07:10 -07:00
Jeremy Cowles
5415bc23b9 Merge pull request #403 from c64kernal/dev_docfixes
Dev docfixes
2015-04-08 13:50:51 -07:00
George ElKoura
eab2550300 Updating beta issues in docs. 2015-04-06 22:09:14 -07:00
George ElKoura
5ed669db07 Another handful of minor doc fixes. 2015-04-06 19:41:09 -07:00
George ElKoura
5c623775d5 Fix superscript usage in documentation for far. 2015-04-04 21:50:47 -07:00
George ElKoura
b3d734d84f Minor fixes to release notes. 2015-04-03 23:42:22 -07:00
George ElKoura
61fc019e38 Tiny doc fixes to intro and subdiv sections. 2015-04-03 18:29:10 -07:00
George ElKoura
49834d0ac7 Merge pull request #402 from c64kernal/dev
Re-enable loop tests in osd_regression.
2015-04-03 17:50:21 -07:00
George ElKoura
8766155831 Re-enable loop tests in osd_regression. 2015-04-03 17:48:27 -07:00
barfowl
ac0785620b Fixed regression comparisons between Hbr and Vtr to account for Loop:
- updated Mapper in common/cmp_utils.h to skip face-verts with Loop
    - updated vtr_regression/init_shapes.h to enable the Loop shapes
2015-04-03 16:15:34 -07:00
jcowles
13e9b43b38 Removing attempt to silence compiler warning.
This wasn't compiling on Windows and worse. Instead, we plan to disable the
warning as a compiler switch.
2015-04-02 11:11:12 -07:00
barfowl
36c86b0b68 Correction to previous commit regarding Far vertex ordering options. 2015-04-01 21:00:29 -07:00
barfowl
898d68ae79 Minor additions and revisions to TopologyRefiner interface:
- new Options for Refine() methods for base face and vertex ordering
    - removed ignored/unused "full topology" choice from AdaptiveOptions
    - added base face and vertex ordering logic to Refinement
    - addition of TopologyRefiner members for component counts and max valence
    - refactoring of Level additions to update all new member totals
    - addition of GetMaxValence() to TopologyRefiner
    - updated PatchTablesFactory to user new GetMaxValence() method
    - renaming of "Hole" methods for TopologyRefiner and Vtr::Level
2015-04-01 20:44:33 -07:00
barfowl
9222c9e169 Removed use of "full topology" flag with Far::AdaptiveOptions:
- it was always ignored as full topology is required for PatchTables
    - it will soon be removed from AdaptiveOptions entirely
2015-04-01 14:57:28 -07:00
jcowles
d758d572f7 Fix incorrect TBB path resolution order.
When two instances of TBB were present, the system installed version would take
precedence over an explicitly specified TBB_LOCATION path. This change puts
TBB_LOCATION into the HINTS section and leaves the system paths in the PATHS
section.
2015-03-31 15:09:14 -07:00
jcowles
76efdcfcf7 Fix initCL, make conditional based on CLEW
When CLEW is present, CL functions become macros which may resolve to null
function pointers. A previous change attempted to guard against CL-related
crashes, but introduced compiler warnings.

This change conditionally tests the function when CLEW is present.

Resolves: #400
2015-03-31 15:05:13 -07:00
barfowl
068ea4c7fa Face-varying fixes to support non-manifold features:
- updated original FVar inspection to deal witn non-manifold vertices
    - updated FVar refinement to handle > 2 faces per edge
    - couple of fixes to use parent topology when child not present
2015-03-31 11:50:58 -07:00
Jeremy Cowles
28e39bf86f Enable osd_regression and suppress warnings. 2015-03-30 22:18:18 -07:00