Commit Graph

1453 Commits

Author SHA1 Message Date
David G. Yu
cb689194ab Fixed windows build errors. 2015-04-17 18:29:56 -07:00
David G. Yu
acedb6c710 Fixed windows build regressions. 2015-04-17 18:28:38 -07:00
asluk
d164fb4650 Fixed off-by-1 error for lefthanded meshes in facevarying channels. 2015-04-17 18:14:59 -07:00
David G Yu
0f543c6c83 Merge pull request #423 from takahito-tejima/dev
Fix boundary patch and refactor single crease patch drawing into unfied shader.
2015-04-17 16:29:10 -07:00
Takahito Tejima
c58e63c8d5 Refactor single crease patch to be in unfined shader. 2015-04-17 16:26:57 -07:00
Takahito Tejima
3d66bd449d Fixed boundary patch rotation flag 2015-04-17 15:43:33 -07:00
Takahito Tejima
aec1f61fb0 Merge pull request #422 from davidgyu/patch-drawing
Unified adaptive patch drawing
2015-04-17 15:39:37 -07:00
David G Yu
336fbb6748 Removed some more obsolete transition patch state
Temporarily disabled fractional tessellation for Gregory patches.
2015-04-17 15:24:48 -07:00
David G Yu
759513d2dc Fixed adaptive tessellation and removed debug code 2015-04-17 12:04:21 -07:00
David G Yu
010a31efc4 Checkpoint changes to unify adaptive patch drawing. 2015-04-17 07:42:53 -07:00
Takahito Tejima
1f9849c419 Merge pull request #421 from c64kernal/dev
Fixed a bug in our obj parser
2015-04-17 00:46:50 -07:00
George ElKoura
5d4f69dcdf Fixed a bug in our obj parser
Fixed a case where we could erroneously fill in the texture
or normal index for a vertex on a face when they are not
actually speficied in the obj.
2015-04-16 18:57:47 -07:00
Jeremy Cowles
6efe3e0bce Merge pull request #418 from asluk/dev
osd3 support for lefthanded meshes
2015-04-16 16:59:05 -07:00
Takahito Tejima
a6ea4a0249 Merge pull request #420 from c64kernal/dev
Fix incorrect padding of manifold ring
2015-04-16 14:51:10 -07:00
George ElKoura
bca5adacc6 Fix incorrect padding of manifold ring
We were incorrectly padding manifoldRing for end boundary vertices.
2015-04-16 12:41:31 -07:00
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
asluk
df3c856b51 Changed lefthanded flag to isLeftHanded. 2015-04-15 16:15:19 -07:00
asluk
4752bcdd69 Add support for lefthanded meshes. 2015-04-15 16:13:43 -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