David G Yu
0f0d4d56ff
Fixed ptexViewer xform feedback initialization
2013-05-20 12:21:13 -07:00
David G Yu
9aa83d9538
Fixed simpleCpu draw context construction.
2013-05-20 12:21:13 -07:00
David G Yu
784b6e4475
Fixed OS X build issues.
2013-05-17 15:53:36 -07:00
Takahito Tejima
a6dbb0adc4
example/paintTest can be built with GL 4.3 or later.
2013-05-17 13:59:06 -07:00
Takahito Tejima
e75d94e2ac
Fix paintTest to follow API change
2013-05-17 13:40:39 -07:00
Takahito Tejima
aa76d9c645
Add constructor to FarPatchTables. Add enums to FarPatchTables::Type.
2013-05-17 12:49:57 -07:00
manuelk
c2cec239cd
removing osd/patch.h (and cleaning up attending dependencies)
2013-05-17 09:06:40 -07:00
manuelk
19073abec8
fix glslTransformFeedback constructor for glBatchViewer
2013-05-16 17:48:06 -07:00
Takahito Tejima
6140f1ae81
DrawContext->IsAdaptive() is no longer needed in client code.
2013-05-16 17:10:17 -07:00
Takahito Tejima
da4fc9c653
Fix multiMeshFactory to splice uniform patches correctly.
...
(IP) refactor osdbatch
2013-05-16 16:55:53 -07:00
manuelk
6256010296
re-factoring the EvalLimit portion of the code (and other minor comment / typo fixes)
2013-05-16 14:21:11 -07:00
manuelk
ad3bacbbbb
remove topology data from FarMesh and refactor uniform / adaptive
...
code paths using FarPatchTables for all serialized topological data.
2013-05-15 17:53:40 -07:00
Takahito Tejima
b16272d6a5
more msvc fixes. make dxViewer working.
2013-05-14 10:48:48 -07:00
Takahito Tejima
1a2b71d929
Refactor OsdGLDrawContext to be constructed from FarPatchTables, instead of FarMesh.
...
Removed reference to FarMesh from OsdUtilMeshBatch.
Added const qualifier to ComputeContext constructor.
2013-05-10 19:35:25 -07:00
Takahito Tejima
b7814266c9
Add OpenCL specialized batching class
2013-05-10 09:20:45 -07:00
Takahito Tejima
6ea485de47
fix compile error
2013-05-09 21:27:00 -07:00
Takahito Tejima
5e5fc97b0c
fix glBatchViewer
2013-05-09 19:18:32 -07:00
Takahito Tejima
7b6630cf40
fix simpleCpu and ptexViewer to be compilable with new patch tables.
2013-05-09 13:48:00 -07:00
Takahito Tejima
3eaf0362bd
split patch descriptor into two parts, far intrinsic properties and osd's.
...
more OsdGLDrawContext clean up.
2013-05-09 13:14:02 -07:00
Takahito Tejima
f592e90067
fix OsdGLDrawContext to follow far patchtables refactoring.
2013-05-09 09:23:01 -07:00
David G Yu
2a12b21ab2
Removed mutex implementation.
...
We added this to support earlier versions
of hbr, but it is no longer needed.
2013-05-07 11:27:14 -07:00
David G Yu
e4afec5388
Disabled paintTest on OS X
2013-05-06 23:59:58 -07:00
David G Yu
93476a368d
Fixed a few OS X build errors.
2013-05-06 23:59:58 -07:00
manuelk
9860e1921f
clean up some function prototypes
2013-05-06 10:36:18 -07:00
manuelk
643b664067
the limitEval example appears to be building properly... adding it to the collection
2013-04-24 10:40:32 -07:00
manuelk
b815aff333
First pass at fixing the installation part of the Cmake build : now CMAKE_INSTALL_PREFIX can
...
be used as intended to specify an installation directory, which can be located anywhere on the
file system.
Also improved the doxygen target and made the doxy build "quiet".
fixes #154
2013-04-22 19:35:41 -07:00
manuelk
4bf24d9b95
First pass at our "Eval" API : this checkin is a mileston and is still missing
...
code paths for certain types of feature adaptive patches.
The check-in adds a new "limitEval" code example.
More to come soon...
fixes #45
2013-04-18 19:55:05 -07:00
manuelk
fd0af2dbb6
minor fixes to the GLFW motion callback to fix MSVC++ build errors.
...
fixes #149
2013-04-18 19:15:30 -07:00
manuelk
57808e4abe
fix the function prototype for the motion callbacks in our example viewers
...
fixes #149
2013-04-08 10:37:36 -07:00
manuelk
e6e7c96a52
We need to leverage our per-patch ptex indexing scheme in the EvalLimit API.
...
- replace ptex indexing with the FarPtexCoord structure as a way to pass per-patch
ptex data to the shaders.
We are replacing a vector<int> arranged as :
int[0] : ptex face index
int[1] : (u,v) as 16 bits encoding the log2 coordinate of the top left corner
Instead we are now using a struct arranged as :
int[0] : ptex face index
int[1] : is a bit-field containing u,v, rotation, depth and non-quad
The u,v coordinates have been reduced to 10 bits instead of 16, which still
gives us a lot of margin.
- Replace OsdVertexBufferDescriptor with something more adequate for general
primvar representation (this name will probably eventually change...)
- Improve OsdPatchDescriptor
- add a "loop" boolean (true if the patch is of loop type)
- add a GetPatchSize() accessor
- OsdPatchArray :
- remove some redundant elements (still more to do there)
- Fix all shader / examples / regressions & stuff to make this all work.
fixes #143
2013-03-22 18:20:50 -07:00
David G Yu
036ec2e189
Updated DX11 viewer to use std::string shapes.
2013-03-19 15:38:44 -07:00
Takahito Tejima
d026aca006
use std::string instead of char* for regression shapes definition,
...
to avoid MSVC's literal length limitation on some big shapes.
2013-03-19 14:43:21 -07:00
David G Yu
7cffcedbc3
Fixed ptexViewer to register for windowClose
2013-03-19 14:31:44 -07:00
manuelk
54856181a9
fix simpleCpu example :
...
- assign default widht / height to the window
- fix reshape callback
- downgrade GL profile hint to 3.3
2013-03-18 16:55:41 -07:00
manuelk
2ec61446db
use sqrtf and expf to prevent auto-casts to double
...
fixes #139
2013-03-18 16:29:35 -07:00
David G Yu
6f6a6aeab3
Fixed VS2010 compile errors.
2013-03-18 11:57:55 -07:00
David G Yu
f399ff2a10
Fixed VS2010 compile errors.
...
Also, disabled DEPTH_TEST for framebuffer blits.
2013-03-18 11:56:09 -07:00
Manuel Kraemer
a4c43b0522
fix some GLFW 3.0 issues - since we are still in beta, the API is changing a bit
...
- the closeWindowFun callback changed prototype (now returns void)
- keyboard functions now require the window handle (and pass it to the callback)
2013-03-16 18:44:53 -07:00
Takahito Tejima
9ec95572bb
Add some features into ptexViewer: animation speed, displacement scale, bloom filter, etc
2013-03-15 18:03:22 -07:00
Takahito Tejima
f745aa2807
add paint test example
2013-03-15 12:39:44 -07:00
Takahito Tejima
b3a6d43ee3
fix simpleCpu to be compilable with the latest API
2013-03-08 09:05:07 -08:00
Takahito Tejima
291debd4a9
change access permissions on files
2013-03-08 08:57:42 -08:00
Takahito Tejima
8efecb0fca
Batching stuffs: generalized kernel batches, table/dispatcher refactoring, multiMeshFactory, drawContext, etc.
...
2 client APIs are changed.
- VertexBuffer::UpdateData() takes start vertex offset
- ComputeController::Refine() takes FarKernelBatchVector
Also, ComputeContext no longer holds farmesh.
Client can free farmesh after OsdComputeContext is created.
(but still need FarKernelBatchVector to apply subdivision kernels)
2013-03-07 17:50:15 -08:00
Takahito Tejima
8db3e5ab41
fix updating coarse vertices for cpu/omp kernels.
...
Closes #133
2013-03-05 09:49:07 -08:00
manuelk
ea1a87441f
Add support for hierarchical hole edits.
...
- add tag parsing for h-hole in shape_utils
- re-create Renderman's test shape from the documentation (catmark_square_hedit.h)
- fix Hbr to correctly pass the hole tag from parent to child face
- fix FarSubdivisionTables to handle disconnected face-vertices without crashing
fixes #75
2013-03-01 18:27:19 -08:00
Andrew Wong
df95968142
hdr_reader: Fix a few compiler warnings
2013-02-25 22:36:28 -05:00
opensubdiv
dfaf8ee76e
Fixed merge error.
2013-02-22 16:25:33 -08:00
manuelk
acfd8e366b
- similar API changes for Maya 2014 in mayaPtexViewer
...
- more file permission fixes
fixes #131
2013-02-22 12:58:09 -08:00
manuelk
c3fba1708c
- fix function calls incompatible w/ Maya 2014
...
- change permissions on cudaUtil.cpp, OpenSubdivShader.cpp
fixes #131
2013-02-22 12:31:19 -08:00
manuelk
afc7b9b9a8
- only add detected libs to the maya dependency list
...
- remove MAYA_tbb_LIBRARY from MayaViewer & MayaPtexViewer examples
fixes #130
2013-02-22 11:38:46 -08:00