| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
OpenSubdiv is a set of open source libraries that implement high performance subdivision surface (subdiv) evaluation on massively parallel CPU and GPU architectures. This codepath is optimized for drawing deforming subdivs with static topology at interactive framerates. The resulting limit surface matches Pixar’s Renderman to numerical precision.
OpenSubdiv is covered by the Microsoft Public License, and is free to use for commercial or non-commercial use. This is the same code that Pixar uses internally for animated film production. Our intent is to encourage high performance accurate subdiv drawing by giving away the "good stuff".
OpenSubdiv is entering open beta for SIGGRAPH 2012. Feel free to use it and let us know what you think.
For more details about OpenSubdiv, see Pixar Graphics Technologies.
Note that this beta code is live and will undergo significant churn as it approaches release. Expect that APIs will change as the code is continually improved.
Basic instructions to get started with the code.
Cmake will adapt the build based on which dependencies have been successfully discovered and will disable certain features and code examples that are being built accordingly.
Please refer to the documentation of each of the dependency packages for specific build and installation instructions.
Required:
Optional:
-DCMAKE_BUILD_TYPE=[Debug|Release] -DCUDA_TOOLKIT_ROOT_DIR=[path to CUDA] -DPTEX_LOCATION=[path to Ptex] -DGLEW_LOCATION=[path to GLEW] -DGLUT_LOCATION=[path to GLUT] -DMAYA_LOCATION=[path to Maya]
The paths to Maya, Ptex, GLUT, and GLEW can also be specified through the following environment variables: MAYA_LOCATION, PTEX_LOCATION, GLUT_LOCATION, and GLEW_LOCATION.
Clone the repository:
git clone git://github.com/PixarAnimationStudios/OpenSubdiv.git
Generate Makefiles:
cd OpenSubdiv mkdir build cd build cmake ..
Build the project:
make
Clone the repository:
In the GitShell CLI :
git clone git://github.com/PixarAnimationStudios/OpenSubdiv.git
Generate a VC++ Solution:
To run viewer:
bin/viewer
Usage:
Left mouse button drag : orbit camera Middle mouse button drag : dolly camera Right mouse button : show popup menu n, p : next/prev model 1, 2, 3, 4, 5, 6, 7 : specify subdivision level w : switch display mode q : quit
There are many things we'd love to do to improve support for subdivs but don't have the resources to. We hope folks feel welcome to contribute if they have the interest and time. Some things that could be improved:
| Back | FazBrowse Home | New Git URL |