Blender Git Commit Log

Git Commits -> Revision eec09a1

June 9, 2016, 10:01 (GMT)
Pack patch info into triangle data

Pack data for finding the originating patch of a triangle into unused bytes
in __tri_verts, __tri_vnormal and __tri_vindex. Since these bytes weren't
being used there's no increase in memory usage and we avoid more complicated
logic that would be necessary if this data was stored in attributes.

Commit Details:

Full Hash: eec09a147055805a3c31f878a8fabf6289edb5aa
Parent Commit: 0adac9b
Lines Changed: +37, -3

4 Modified Paths:

/intern/cycles/render/mesh.cpp (+29, -3) (Diff)
/intern/cycles/render/mesh.h (+4, -0) (Diff)
/intern/cycles/subd/subd_dice.cpp (+2, -0) (Diff)
/intern/cycles/subd/subd_patch.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021