Sergey Sharybin
b25c0dd777
Fix GLSL program being deleted twice in GLSL Compute controller
...
GLSL programs used by stencil and patch kernels were freed from
both GLSL Compute Evaluator and from kernel classes themselves.
2015-09-10 20:00:42 +05:00
David G Yu
6c437ae077
Release 3.0.2
2015-08-05 18:21:20 -07: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
869c006b70
Release 3.0.1
2015-08-04 14:50:31 -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
Jeremy Cowles
5f393dbf23
Merge pull request #703 from Nazg-Gul/dev
...
Fixing linking errors on both Linux and WIndows
2015-08-03 22:51:52 -07:00
David G Yu
c8943d12b3
Merge pull request #719 from barfowl/far_errors
...
Minor content and formatting changes to Far error strings
2015-07-31 18:04:44 -07:00
David G Yu
bd95246032
Merge pull request #709 from jcowles/dev-stencilfix2
...
Respect factorizeIntermediatLevels option
2015-07-31 16:57:39 -07:00
barfowl
a094281541
Minor content and formatting changes to Far error strings
...
- made Far error strings consistent, including clearer source of error
- minor formatting changes to the default error callback
2015-07-31 12:47:49 -07:00
David G Yu
2d16bfa5fc
Fixed an incorrect comment in far/patchParam.h
2015-07-30 17:41:36 -07:00
George ElKoura
0cfc822c30
Merge pull request #714 from barfowl/topology_asserts
...
Replaced topology initialization assertions with errors
2015-07-30 16:59:15 -07:00
barfowl
0f9819d503
Changed use of Warning() to Error() in Far::TopologyRefinerFactory
2015-07-30 15:05:49 -07:00
David G Yu
e6b03f68a9
Merge pull request #712 from takahito-tejima/boundary
...
Retains boundary faces of bilinear scheme mesh with VTX_BOUNDARY_NONE
2015-07-30 10:59:54 -07:00
David G Yu
38c5940b21
Merge pull request #710 from takahito-tejima/bilinear
...
Fix a bug in PatchTableFactory of uniform refinement containing all-levels
2015-07-30 10:52:43 -07:00
barfowl
a811fb9a80
Replaced topology initialization assertions with errors:
...
- TopologyRefinerFactory now issues errors for its minimum requirements
2015-07-29 19:38:05 -07:00
barfowl
db3fe9a8e8
Reduced warnings resulting from GCC's -Wshadow option
...
- eliminated warnings from core libraries and regression code
2015-07-29 18:46:18 -07:00
Takahito Tejima
ccfcca9abf
Retains boundary faces of bilinear scheme mesh with VTX_BOUNDARY_NONE
...
We mark boundary faces as holes only if the vertex boundary interpolation
is none and the subdivision scheme has local neighborhood.
2015-07-29 17:21:26 -07:00
Takahito Tejima
168139d4ca
Fix bug when PatchTableFactory::Options.generateAllLevels is set
...
generateAllLevels flags is used when we want to have uniform refined
patch array containing all levels together. There's an index offsetting
bug when this flag is enabled.
2015-07-29 14:49:51 -07:00
Jeremy Cowles
55565cca84
Respect factorizeIntermediateLevels option
...
Previously, this flag was being ignored during stencil table
construction.
Fixes issue #694
2015-07-23 00:45:47 -07:00
barfowl
ad6b1f9117
Eliminate or encapsulate ICC pragmas:
...
- eliminated need for disabling warning 177 in far/patchTableFactory.cpp
- encapsulated all floating point equality tests (1572) in local functions
- bracketed all ICC specific warning pragmas with #ifdef __INTEL_COMPILER
- avoided GCC's stricter shadowing warning in vtr/array.h
2015-07-20 17:56:00 -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
Sergey Sharybin
2f694727c3
Remove workaround for duplicated symbols with MSVC
...
This workaround actually caused linking errors related on missing
symbols and removing the workaround does not cause any duplicated
symbols with MSVC 2013.
2015-07-19 18:10:09 +02:00
Sergey Sharybin
a095ebf1f0
Fix linking error when using GCC and including osd/mesh.h from several places
...
Te issue here is that some of the functions were not considered templated
anymore because all their template arguments were specified, which made it
so compiler was creating implementation for them in every file from where
the header was included. This causes errors during linking related on the
same symbol implemented in several places.
Marking those functions as inlined solves the problem and should not cause
any bad side effects because they're small enough and likely being inlined
by an optimizer anyway.
2015-07-19 18:06:54 +02:00
Sheng Fu
51a9da3bf0
fix ICC compile warning
2015-07-16 09:27:49 -07:00
Sheng Fu
fe20023989
minimize the scope of disabled warnings
2015-07-16 09:27:48 -07:00
Sheng Fu
59382abeaa
Fix Intel compiler warning
2015-07-16 09:27:48 -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
0443db73b8
Merge pull request #700 from barfowl/fvar_unconnected
...
Fixed initialization of unconnected vertices in FVar channels
2015-07-13 11:46:39 -07:00
Takahito Tejima
51e1833139
Merge pull request #699 from daz3d/tbb_offset_fixes
...
Fix offsets in TbbEvalStencils when start is non-zero.
2015-07-13 11:40:49 -07:00
Takahito Tejima
cd212125df
Merge pull request #696 from daz3d/omp_offset_fixes
...
Fix offsets in OmpEvalStencils when start is non-zero.
2015-07-13 11:40:33 -07:00
barfowl
50e2623b91
Fixed initialization of unconnected vertices in FVar channels
...
- correctly initialize FVar tag and source entry for unconnected verts
- added regression/shape with unconnected vertices and fvar data
- fixed edge-face vector access when unconnected edges are last
2015-07-12 18:30:26 -07:00
Christopher Jones
89b698e519
Fix offsets in TbbEvalStencils when start is non-zero.
2015-07-12 16:03:09 -06:00
Christopher Jones
d317cbc86b
Fix offsets in OmpEvalStencils when start is non-zero.
2015-07-05 11:22:38 -06:00
Christopher Jones
8a74831b2e
Fix out of range access issues when a non-connected vertex occurs at the end of mesh's vertex list or mesh has face varying data.
2015-07-05 10:43:00 -06:00
Jeremy Cowles
8dd7563060
Some minor compiler warning fixes
...
In one case, we were comparing int and unsigned int.
In primvarRefiner, some values were safely uninitialized, but older compilers
(GCC 4.1) were complaining.
2015-06-25 22:29:23 -07:00
Takahito Tejima
f39ee21147
version 3.0.0 release
2015-06-23 10:56:01 -07:00
David G Yu
0679161bf5
Fixed a few doxygen param mismatches and errors.
2015-06-22 13:45:55 -07:00
Takahito Tejima
e008776325
fix legacy gregory patch shader to support higher valence
...
Note that the actual limitation stays same, due to hardware capability
(GL_MAX_VARYING_VECTORS)
2015-06-22 11:08:11 -07:00
George ElKoura
7d801408a7
Merge pull request #651 from barfowl/string_concat
...
Code tweak to prevent build failure in iOS with XCode7
2015-06-18 22:19:17 -07:00
barfowl
c08f6a502f
Code tweak to prevent build failure in iOS with XCode7
...
- added space between literal strings in macro using concatenation
2015-06-18 19:47:19 -07:00
Takahito Tejima
8b7e55b6f5
Fix undesirable doxygen annotations in osd.
2015-06-18 18:12:08 -07:00
barfowl
4543c9f8bc
A few incremental updates to a number of documentation pages
2015-06-18 17:30:15 -07:00
David G Yu
5c914a0622
Fixed misspelled point indices in shader comments
2015-06-17 11:18:52 -07:00
David G Yu
48f52dbeaf
Removed commented out face-varying options
...
This was already commented out and is not intended for release.
2015-06-17 09:59:03 -07:00
barfowl
e1673ebbf3
Doxygen tweaks to prevent it mangling Far::TopologyRefinerFactory<MESH>
...
- suppressed forward declarations for Factory<TopologyDescriptor>
- moved typedef out of Doxygen group of Factory<MESH> to preserve ordering
2015-06-12 14:33:21 -07:00
Takahito Tejima
bb1fa6a9ee
RC2.
...
- changed the namespace version
- updated release notes
2015-06-11 18:30:55 -07:00
David G. Yu
d4a18a6c98
Fixed crash in GL viewers w/ LegacyGregory
...
Fixed a crash (assertion failure on Windows) that occurs when
creating GLLegacyGregoryPatchTable for a mesh that requires
no Gregory patches.
2015-06-11 17:30:14 -07:00
Takahito Tejima
34fab03921
Merge pull request #629 from davidgyu/patchParamFix
...
Fixed Far::PatchParam encoding of refinement level
2015-06-11 15:33:50 -07:00
David G. Yu
f0128a5f5e
Fixed Far::PatchParam encoding of refinement level
...
This change restores the use of 4-bits in Far::PatchParam to
encode the refinement level of a patch. This restores one bit
that was stolen to allow for more general encoding of boundary
edge and transition edge masks. In order to accommodate all
of the bits that are required, the transition edge mask bits
are now stored along with the faceId bits.
Also, accessors are now exposed directly as members of Far::PatchParam
and the internal bitfield class is no longer directly exposed.
2015-06-11 15:10:30 -07:00