Blender Git Commit Log
Git Commits -> Revision f07ca03
Revision f07ca03 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, GPU_data_request, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) February 9, 2015, 13:19 (GMT) |
Initial VBO code for GPU subsurf. This commit adds a few generalizations to the VBO code so that modifiers can create and populate their own GPU objects. The VBO code originally supported CDDerivedMesh only. The design moves slightly towards the viewport refactor where the rendering system requests data from the modifiers. In this commit only basic support for vertices and normals is provided and some features from blender's VBO system, suchs as mapping to original faces, unique element indices for vertices and loose vertex/edge support are missing. Also, the quick navigation feature of the subsurf modifier won't be supported for now. What we do have is full support for solid shading with multiple materials, flat/smooth shading and a big performance boost. |
Commit Details:
Full Hash: f07ca0318502e07c8f38096de23377c9b2d47770
Parent Commit: 567e147
Lines Changed: +393, -50
6 Modified Paths:
/release/scripts/modules/sys_info.py (+3, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+315, -4) (Diff)
/source/blender/gpu/GPU_buffers.h (+15, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+53, -42) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+315, -4) (Diff)
/source/blender/gpu/GPU_buffers.h (+15, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+53, -42) (Diff)