Blender Git Commit Log

Git Commits -> Revision cf41b5b

Revision cf41b5b by Sergey Sharybin (opensubdiv-modifier)
May 11, 2014, 10:12 (GMT)
Move towards GPU-side tessellation

Currently only lands all the basics which are needed to
support using GPU tessellator from the OpenSubdiv library.

CPU evaluation is disabled in purposes of testing GPU side,
which means bounding box is wrong, edges are not displayed,
textured mode is likely also broken since now.

Data structures layout and API is not final at all, it is
just a cleaned version from the patch which i had last week.
All the drawing should be moved outside from the CCGSubSurf
structure and become some more generic functions in bf_gpu.

Also currently tessellation is hardcoded to use CUDA backend,
would either become an user preference or some automatic mode
in the future.

Wouldn't recommend using this state in the production, it's
still just a basis for further development and doing some
tests.

Commit Details:

Full Hash: cf41b5b0fd1aab6d17a3e243a0dffb774ba168d1
Parent Commit: c1ce838
Lines Changed: +1474, -8

7 Added Paths:

/intern/opensubdiv/CMakeLists.txt (+43, -0) (View)
/intern/opensubdiv/cudaInit.h (+111, -0) (View)
/intern/opensubdiv/gpu_shader_opensubd_display.glsl (+398, -0) (View)
/intern/opensubdiv/opensubdiv_capi.cc (+181, -0) (View)
/intern/opensubdiv/opensubdiv_capi.h (+76, -0) (View)
/intern/opensubdiv/opensubdiv_gpu_capi.cc (+449, -0) (View)
/intern/opensubdiv/SConscript (+43, -0) (View)

10 Modified Paths:

/build_files/cmake/Modules/FindOpenSubdiv.cmake (+10, -0) (Diff)
/intern/CMakeLists.txt (+4, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+117, -5) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+9, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+18, -0) (Diff)
/source/blender/blenkernel/SConscript (+1, -0) (Diff)
/source/blenderplayer/CMakeLists.txt (+4, -0) (Diff)
/source/creator/CMakeLists.txt (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021