Blender Git Loki

Git Commits -> Revision 27fe135

Revision 27fe135 by Mike Erwin (GPU_data_request)
April 22, 2015, 06:13 (GMT)
reduce VRAM usage for loop normals

Use GL_SHORT instead of GL_FLOAT for normal attribute. Savings scale
proportional to loop count.

stock Suzanne mesh
507 verts, 1005 edges, 500 polys, 500 faces, 1968 loops


vec3f normals
GPUx batch size: 53040 bytes

vec3s normals (+padding)
GPUx batch size: 45166 bytes

vec3s normals (no padding)
GPUx batch size: 41232 bytes

Commit Details:

Full Hash: 27fe1353add75c3073d74b8c73b1fd3a5bbf86de
Parent Commit: 6ccc770
Lines Changed: +6, -3

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020