Blender Git Loki

Git Commits -> Revision 5306621

January 20, 2017, 10:25 (GMT)
Cycles: Implement texture coordinates for Point, Spot and Area Lamps

When using the Normal output of the Texture Coordinate node on Point and Spot lamps, the coordinates now depend on the rotation of the lamp.
On Area lamps, the Parametric output of the Geometry node now returns UV coordinates on the area lamp.

Credit for the Area lamp part goes to Stefan Werner (from D1995).

Commit Details:

Full Hash: 5306621998d905417bb777af1104ee993bba941d
Parent Commit: 4680224
Committed By: Sergey Sharybin
Lines Changed: +105, -18

12 Modified Paths:

/intern/cycles/blender/blender_object.cpp (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+15, -0) (Diff)
/intern/cycles/kernel/kernel_bake.h (+2, -1) (Diff)
/intern/cycles/kernel/kernel_emission.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_light.h (+17, -4) (Diff)
/intern/cycles/kernel/kernel_shader.h (+16, -5) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+24, -0) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+3, -3) (Diff)
/intern/cycles/render/light.cpp (+12, -0) (Diff)
/intern/cycles/render/light.h (+2, -0) (Diff)
/intern/cycles/util/util_math.h (+9, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021