Blender Git Commit Log

Git Commits -> Revision 227a940

Revision 227a940 by Sergey Sharybin (master)
February 10, 2015, 15:33 (GMT)
Cycles: implement pointiness geometry attribute

This attribute means how "pointy" the geometry surface is, which allows to do
effects like dirt maps and wear-off effects on render geometry. This means the
attribute is calculated for the final mesh which means no baking (which implies
UV unwrap) is needed. Apart from this the behavior is quite close to how vertex
dirty colors works.

The new attribute is available as an output socket of Geometry node.

There's no penalty for the render time, only some delay on scene preparation
(the delay is linear of the mesh complexity).

Reviewers: brecht, juicyfruit

Subscribers: eyecandy, venomgfx

Differential Revision: https://developer.blender.org/D1086

Commit Details:

Full Hash: 227a94077f508a47fe7595b9091ab86aecde4ad5
Parent Commit: 1ebf95b
Lines Changed: +92, -2

6 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+63, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_geometry.osl (+4, -1) (Diff)
/intern/cycles/render/attribute.cpp (+8, -0) (Diff)
/intern/cycles/render/nodes.cpp (+15, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geometry.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021