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

mode = NORMAL_DRAW_LOOP

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

1 Modified Path:

/source/blender/editors/space_view3d/drawobject.c (+6, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021