Blender Git Commit Log

Git Commits -> Revision 09665a5

June 29, 2015, 15:18 (GMT)
GLSL drawing redesign:

Use new upload scheme. Idea here is that materials share a VBO where
the size of each element is the maximum size of all mesh materials.

While this will waste some size if material sizes differ it is the
simplest scheme to use and allows easy reuse of indices as opposed to
separating the materials in separate vertex buffers. In fact if we do
that, management gets quite complex and code much more error prone.

I may write an extra blog post to explain the choices here
at some point.

Commit Details:

Full Hash: 09665a5301c11e99e92fe7ce55f1b6d3d4cc232e
Parent Commit: 850e9ce
Lines Changed: +118, -108

3 Modified Paths:

/source/blender/blenkernel/intern/cdderivedmesh.c (+111, -105) (Diff)
/source/blender/gpu/GPU_buffers.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+5, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021