Blender Git Commit Log

Git Commits -> Revision 0ce3a75

Revision 0ce3a75 by Thomas Dinges (master)
June 13, 2014, 21:40 (GMT)
Cycles: Add support for uchar4 attributes.

* Added support for uchar4 attributes to Cycles' attribute system.
* This is used for Vertex Colors now, which saves some memory (4 unsigned characters, instead of 4 floats).
* GPU Texture Limit on sm_20 and sm_21 decreased from 95 to 94, because we need a new texture for the uchar4 attributes. This is no problem for sm_30 or newer.

Part of my GSoC 2014.

Commit Details:

Full Hash: 0ce3a755f83b047f49f78da1729a73b56b9c9d55
Parent Commit: 7e20583
Lines Changed: +91, -33

12 Modified Paths:

/intern/cycles/blender/blender_curves.cpp (+12, -13) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+10, -10) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+13, -4) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+1, -1) (Diff)
/intern/cycles/render/attribute.cpp (+10, -0) (Diff)
/intern/cycles/render/attribute.h (+2, -0) (Diff)
/intern/cycles/render/image.h (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+18, -4) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_color.h (+21, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021