manuelk
7a6fd95f6b
Move Hbr behind the OpenSubdiv namespace
...
Fix all regressions / plugins.
Closes #3 .
2012-06-14 18:47:57 -07:00
manuelk
320af0e553
Merge branch 'master' of github.com:PixarAnimationStudios/OpenSubdiv
2012-06-14 14:05:13 -07:00
manuelk
6206b2baad
- making the FindGlew/Glut modules more Windows friendly (and fix some issues like static linking of GLEW)
...
- add status messages for missing dependencies and what features are being disabled.
- cleanup osd cmakefile
Closes #13 .
2012-06-14 14:03:30 -07:00
Takahito Tejima
dd29d0d345
add vertexBuffer.h
...
Closes #11
2012-06-14 09:30:28 -07:00
Takahito Tejima
350d32494f
Revert "add vertexBuffer.h"
...
This reverts commit 86d36ace44
.
2012-06-14 09:29:31 -07:00
Takahito Tejima
86d36ace44
add vertexBuffer.h
2012-06-14 09:26:29 -07:00
manuelk
b3b857eec7
re-engineering the find_package strategy :
...
- use find_package(OpenMP) to test that the compiler supports OMP
(looks like the "express" versions of MSVC do not)
- if not available, make sure that osd does not register those
compute kernels (but does register the CPU standalone ones)
- similar refinements on other dependencies (Maya, CUDA) where
the build "opts in" depending on which libs are found.
some CMakeLists still need more cleanup...
Closes #9
2012-06-13 17:41:18 -07:00
manuelk
f293ac859c
fix the friend call to properly address "Match" as a struct and not a class
...
minor code formatting fixes
2012-06-13 17:14:39 -07:00
manuelk
228ffd4de6
fix some of the cmake conditionals so that windows can find custom
...
locations for dependencies (using the <lib>_LOCATION variables)
Closes #7
2012-06-13 14:30:28 -07:00
Takahito Tejima
851c00d04c
Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex
...
specification (how many elements exists in the buffer).
client will create OsdVertexBuffer and provide it as an argument of
OsdMesh::Subdivide() function. It would be more flexible and hopefully matches
various use cases.
Since each dispatcher has to accept arbitrary vertex buffer, introduced a simple
shader registry into glslDispatcher. It will configure shaders for given vertex
elements on demand (for now, just works only for varying buffer).
Fixed cuda kernel's GL resource leakage. Since cuda GL interop seems one-way,
OsdCudaVertexBuffer manages vertex updating instead of just using
OsdGpuVertexBuffer.
Cleaned up some kernel codes and renamed ambiguous names.
2012-06-12 16:28:17 -07:00
Takahito Tejima
29b85a0e8c
Merge branch 'master' of https://github.com/PixarAnimationStudios/OpenSubdiv
...
Conflicts:
opensubdiv/osd/mesh.h
2012-06-12 16:04:12 -07:00
Takahito Tejima
340b89f99a
adding vertexbuffer class (incomplete)
2012-06-12 09:28:00 -07:00
Takahito Tejima
6cae48665d
add bilinear computation for cuda kernel (not yet for CL, GLSL kernels)
2012-06-11 18:09:23 -07:00
Takahito Tejima
ee40f8d259
add bilinear compute to cpu kernel ( not yet for other kernels)
2012-06-11 17:52:32 -07:00
Manuel Kraemer
fe5e1fd9a1
including the correct version file so namespaces work
2012-06-11 17:02:27 -07:00
Manuel Kraemer
f66c7e19c9
- adding mayaViewer as another code sample
...
- more work on the glutViewr example
- fixing some compiling / linking issues for osd
2012-06-11 11:53:35 -07:00
Manuel Kraemer
03e474f422
resolving some symbol problems : these functions don't link in the sample code with the new namespace scheme - they apparently have to be declared extern "C"
2012-06-11 07:54:26 -07:00
Manuel Kraemer
b121bf69e3
adding cmake rule to install Osd public headers
2012-06-11 06:55:06 -07:00
Manuel Kraemer
284a2884bb
checkpoint for the glutViewer in the example code (not functional yet)
2012-06-10 19:59:04 -07:00
Manuel Kraemer
fb709d9fa6
adding CUDA kernels
2012-06-09 14:22:57 -07:00
Manuel Kraemer
a4a5bc253a
adding support for optional GLSL compute kernels
2012-06-09 13:40:48 -07:00
Manuel Kraemer
9988aad7f4
code formatting / quick cleanup pass
2012-06-09 11:12:34 -07:00
Manuel Kraemer
92b1930927
adding OsdVertex to the OpenSubdiv namespace
2012-06-09 09:23:28 -07:00
Manuel Kraemer
03a78f07e9
switching some size_t to int's to prevent some cross-platforms issues (Fedora in this particular case)
2012-06-08 22:20:37 -07:00
Manuel Kraemer
a055967056
first pass at osd module - no GLSL / CUDA / CL kernels yet
2012-06-08 17:06:35 -07:00
Manuel Kraemer
dcb6572ae9
Base check-in of Hbr / Far
2012-06-08 11:18:20 -07:00