blender/extern
Sergey Sharybin 3d36489672 OpenSubdiv: Commit of OpenSubdiv integration into Blender
This commit contains all the remained parts needed for initial integration of
OpenSubdiv into Blender's subdivision surface code. Includes both GPU and CPU
backends which works in the following way:

- When SubSurf modifier is the last in the modifiers stack then GPU pipeline
  of OpenSubdiv is used, making viewport performance as fast as possible.

  This also requires graphscard with GLSL 1.5 support. If this requirement is
  not met, then no GPU pipeline is used at all.

- If SubSurf is not a last modifier or if DerivesMesh is being evaluated for
  rendering then CPU limit evaluation API from OpenSubdiv is used. This only
  replaces the legacy evaluation code from CCGSubSurf_legacy, but keeps CCG
  structures exactly the same as they used to be for ages now.

This integration is fully covered with ifdef and not enabled by default
because there are several TODOs to be solved first:

- Face varying data interpolation is not really cleanly implemented for GPU
  in OpenSubdiv 3.0. It is also not implemented for limit evaluation API.

  This basically means we'll have really hard time supporting UVs.

- Limit evaluation only works with adaptivly subdivided meshes so far, which
  basically means all the points of CCG are pushed to the limit. This gives
  different result from old code.

- There are some serious optimizations possible on the topology refiner
  creation, which would speed up initial OpenSubdiv mesh creation.

- There are some hardcoded asumptions in the GPU and DerivedMesh areas which
  could be generalized.

  That's something where Antony and Campbell can help, making it so the code
  is structured in a way which is reusable by all planned viewport projects.

- There are also some workarounds in the dependency graph to make sure OpenGL
  buffers are only freed from the main thread.

Those who'll be wanting to make experiments with this code should grab dev
branch (NOT master) from

  https://github.com/Nazg-Gul/OpenSubdiv/tree/dev

There are some patches applied in there which we're working on on getting
into upstream.
2015-07-20 22:29:26 +02:00
..
binreloc update gpl header in cmake files 2012-02-11 04:05:00 +00:00
bullet2 Fix leak in BMesh convex hull operator 2015-05-30 16:17:04 +10:00
carve cleanup: shebang lines 2015-01-29 15:56:23 +11:00
clew OpenCL wrangler: Add some of the extension defines 2015-05-15 13:22:47 +05:00
colamd update gpl header in cmake files 2012-02-11 04:05:00 +00:00
cuew Fix possible harmful warning: the value of the size argument in 'strncat' is too large, change the argument to be the free space in the destination buffer minus the terminating null byte 2014-08-05 12:03:31 +02:00
Eigen3 Add a skeleton of C API for Eigen3. 2015-07-13 18:05:38 +02:00
glew Ghost Context Refactor 2014-10-07 15:47:32 -05:00
glew-es Checked each of my (jwilkins) XXX notes. 2014-10-22 20:03:25 -05:00
gtest CMake: quiet warnings in GTest 2015-06-23 14:34:52 +10:00
libmv CMake: Disable Werror in extern/libmv for now 2015-07-18 11:16:25 +02:00
libopenjpeg OSX/scons: Try to get rid of buildproblems with openjpeg enabled in certain build environments and prepend SDK_FLAGS to CFLAGS always 2014-07-06 14:10:41 +02:00
libredcode == libredcode / licence cleanup == 2013-07-14 20:38:55 +00:00
lzma update gpl header in cmake files 2012-02-11 04:05:00 +00:00
lzo Cleanup: quiet minilzo warnings 2015-03-06 17:47:23 +11:00
rangetree Cleanup: remove unused face normals 2015-04-17 23:50:23 +10:00
recastnavigation Use reentrant qsort() in particle codes 2013-08-19 10:40:47 +00:00
sdlew SDL wrangler: Support loading SDL2 libraries of different names 2015-01-14 00:26:43 +05:00
wcwidth code cleanup: misc warnings/style 2013-03-21 02:58:21 +00:00
xdnd CMake: correct include dirs 2014-07-01 09:36:28 +10:00
CMakeLists.txt OpenSubdiv: Commit of OpenSubdiv integration into Blender 2015-07-20 22:29:26 +02:00
SConscript OpenSubdiv: Commit of OpenSubdiv integration into Blender 2015-07-20 22:29:26 +02:00