David G Yu
50ddf242d6
Fixed simpleCPU example to run on OS X
2013-01-04 18:18:38 -08:00
David G Yu
48ce968695
Fixed some more markdown typos.
2012-12-21 11:53:08 -08:00
David G Yu
5ef9f799e6
Fixed some typos in the top-level README
2012-12-21 11:51:23 -08:00
David G Yu
25dcc99a29
Added build instructions for iOS and Android
2012-12-21 11:47:50 -08:00
David G Yu
8440d83607
Fixed build to switch on features not platforms
...
Also, allow updated to allow the default install path
to be overriden for Android NDK builds.
2012-12-20 19:11:46 -08:00
David G Yu
1547b59570
Updated to support GLES 2.0 on iOS and Android
2012-12-20 10:25:41 -08:00
David G Yu
ce2f29d368
Upload only the coarse vertex data from CPU to GPU
2012-12-19 23:30:36 -08:00
manuelk
9ac6c3081e
- fix broken ptex block allocation : iterates over all faces to find the longest edge
...
- code style fixes
fixes #89
2012-12-17 10:31:55 -08:00
manuelk
607b62337a
Switching ptex coordinates structures to centroid based interpolation. This does not fix completely the problem though and we will have to revisit our guttering.
...
fixes #88
2012-12-17 10:26:14 -08:00
David G Yu
950fa35180
Exposed DirectCompute by default in the DX11Viewer
2012-12-17 09:50:21 -08:00
David G Yu
49a493a7bf
Fixed a typo in the DirectCompute dispatch code.
2012-12-17 09:48:49 -08:00
David G Yu
77bdde36c6
Fixed a few build issues for OS X
...
Also, updated viewer_compat.cpp to more closely match viewer.cpp
2012-12-15 20:34:31 -08:00
David G Yu
7ca59fab69
Fixed default display modes in example viewers
...
Now the GL and DX11 viewers display surface+wire by default and display the correct keep-alive animation status.
2012-12-13 10:23:33 -08:00
David G Yu
6042649efa
Added DirectCompute backend for Osd Compute
2012-12-13 10:22:30 -08:00
David G Yu
4f00990ae1
Fixed SRV format for level and valence buffers
2012-12-13 10:00:46 -08:00
manuelk
6a8f58b65e
fix CMake dependencies for shader string in mainApple.mm
...
fix missing includes
fixes #81
2012-12-12 12:28:26 -08:00
manuelk
c9e020ade7
Reading the cmake generator string to find out if it's a 32 or 64 build
...
and force DX SDK linking to detect the correct location.
2012-12-11 19:57:11 -08:00
manuelk
ab47ee53b3
adding some ASCII art to document cryptic CV names in Gregory shader code.
...
fixes #86
2012-12-11 14:26:06 -08:00
manuelk
419741442d
defining M_PI to fix some compiler errors on OSX 10.8
...
fixes #44
2012-12-11 13:50:27 -08:00
manuelk
754d7869b8
- adding Intel OpenCL kit in search paths
...
fixes #64
2012-12-11 12:14:30 -08:00
manuelk
4b199f7587
Make sure that shape strings are post-fixed with a null-char when read from file.
...
fixes #85
2012-12-11 11:40:57 -08:00
manuelk
10c687ecd5
Release Candidate 1.0 :
...
- [Feature Adaptive GPU Rendering of Catmull-Clark Surfaces](http://research.microsoft.com/en-us/um/people/cloop/tog2012.pdf ).
- New API architecture : we are planning to lock on to this new framework as the basis for backward compatibility, which we will enforce from Release 1.0 onward. Subsequent releases of OpenSubdiv should not break client code.
- DirectX 11 support
- and much more...
2012-12-10 17:15:13 -08:00
Manuel Kraemer
742b1e5d89
Merge pull request #83 from jcowles/master
...
Two updates to fix OSX compilation
2012-11-12 13:13:59 -08:00
Jeremy Cowles
c89b4db270
Update simpleCpu example to compile under OSX after refactoring
2012-11-11 23:18:48 -08:00
Jeremy Cowles
0f6efb6aec
Make VertexKernelBatch public when building with clang.
...
There seems to be a bug in clang: despite the fact that FarMeshFactory is
declared to be a friend class from FarSubdivisionTables, clang protests that
VertexKernelBatch is not accessable.
This hack adds an #ifdef __clang__ block to make that structure public and keep
Far compiling under OSX.
2012-11-11 23:17:27 -08:00
U-octave\dyu
3467673a6b
Fixed a build issue with Visual Studio 2010
2012-10-09 10:57:47 -07:00
U-octave\dyu
4168e5788d
Fixed a couple build issues with Visual Studio 2010
2012-10-09 10:56:31 -07:00
jcowles
732cb10fe0
Fix header issues after merging recent revisions
2012-10-09 10:07:57 -07:00
jcowles
11d2800aef
Clean up simpleCpu code a bit
2012-10-09 09:28:27 -07:00
jcowles
a287869e9c
Merge branch 'master' of https://github.com/PixarAnimationStudios/OpenSubdiv
2012-10-08 16:05:08 -07:00
jcowles
b3214f09eb
Added simpleCpu example with markdown commentary
2012-10-08 16:04:53 -07:00
Manuel Kraemer
7fd99b421f
Taking a first stab at a doxygen config file and matching cmake rules.
...
Also reformatting a chunk of FAR's comments to work w/ doxygen.
Closes #75
2012-10-06 17:53:51 -07:00
manuelk
5f5207999f
Refactoring far (cliff notes):
...
- All data representation classes are now single-templated for a vertex class 'U'
- All constructors / instancing code has been moved into "Factory" functions that are dual-templated
for two vertex classes <class T, class U=T>. This allows hbr specialization with a placeholder
vertex flass 'T' for faster analysis without paying interpolation costs, while far can still specialize
a fully implemented vertex class 'U' with full subdivision functionality.
- Some preliminary clean-up work on FarVertexEditTables with the addition of a FarVertexEdit class
as a replacement for the former HbrVertedEdit which was introducing back dependencies on hbr. The
implementation is very lightweight. Some slight renaming / cleanup of the code, with some more to
be done.
- there are no more dependencies on hbr (not even #include) from far's data structure !
Notes :
- the FarDispatcher mechanism has become somewhat awkward and should be re-evaluated when refactoring osd.
- the "Factory" pattern survives this round of refactoring until we can find something better.
Closes #34
2012-09-17 18:41:48 -07:00
Takahito Tejima
88cba89055
Fix broken drawing for loop geometry in glutViewer
2012-09-13 09:39:41 -07:00
manuelk
9d37554969
Making CMakeLists more consistent
2012-09-12 15:01:32 -07:00
manuelk
60d92d7212
Making CMakeList more consistent
2012-09-12 15:00:04 -07:00
manuelk
56d4bbdd3c
Fix sanity check for max value of level in FarMeshFactory::sumList()
...
Closes #73
2012-09-12 13:05:11 -07:00
manuelk
07b4c064d0
tiny comment fix
2012-09-11 15:12:16 -07:00
Takahito Tejima
c070674b35
Added OpenMayaUI lib
2012-08-27 09:28:22 -07:00
Takahito Tejima
e6e55204d3
Merge branch 'master' of https://github.com/PixarAnimationStudios/OpenSubdiv
2012-08-23 15:32:09 -07:00
manuelk
48ddc4606c
Merge branch 'master' of github.com:PixarAnimationStudios/OpenSubdiv
2012-08-23 13:34:06 -07:00
manuelk
bddf9a87e2
Fix FarVertexEditTables : include the correct hbr file and fix templating problems
...
Closes #62
2012-08-23 13:33:10 -07:00
Takahito Tejima
b87e9bd265
Added new maya plugin example which uses MPxShaderOverride to display osdmesh.
2012-08-23 13:09:54 -07:00
Takahito Tejima
27779c8718
fix crash bug of mayaViewer with edgeCreases
2012-08-23 12:05:04 -07:00
manuelk
58b3d8fec7
Merge branch 'master' of github.com:PixarAnimationStudios/OpenSubdiv
2012-08-22 16:41:53 -07:00
manuelk
2f5a14af87
(not so great) Fix for the hard-wired hbr regression path to work
...
with Windows.
Closes #58
2012-08-22 16:40:17 -07:00
Takahito Tejima
b4ff94d8af
forgot to add new files. sorry!
2012-08-22 16:22:08 -07:00
Takahito Tejima
a157628b08
OsdMesh refactoring. Added OsdElementArrayBuffer and OsdPtexCoordinatesTextureBuffer, which manage GL resources on behalf of OsdMesh.
2012-08-22 13:57:36 -07:00
Manuel Kraemer
832670c9ff
Oops - need osd regression to add proper libraries even if we don't really use them yet.
...
Closes #55
2012-08-21 07:49:50 -07:00
Julian Fong
2420738dad
Merge branch 'master' of github.com:PixarAnimationStudios/OpenSubdiv
2012-08-20 13:35:05 -07:00