Blender Git Loki

Git Commits -> Revision 2edc5b8

July 1, 2015, 10:16 (GMT)
Use shorts for uploading normals to GPU instead of floats.

The range of shorts is acceptable for good looking
normals.

We allocate a buffer with 4 shorts to keep data aligned to 32bit
boundaries. The total mesh cost for full triangle meshes is now
equal to master branch even with index buffers and memory gains
are even more for ngons.

Commit Details:

Full Hash: 2edc5b807bf7bcb72a63d241c095f632653fd171
Parent Commit: c255161
Lines Changed: +45, -43

3 Modified Paths:

/source/blender/blenkernel/intern/cdderivedmesh.c (+24, -23) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+17, -16) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021