blender/intern/cycles
Sergey Sharybin df07a25d28 Cycles: Support texture coordinate from another object
This is the same as blender internal's texture mapping from another object,
so this way it's possible to control texture space of one object by another.

Quite straightforward change apart from the workaround for the stupidness of
the dependency graph. Now shader has flag telling that it depends on object
transform. This is the simplest way to know which shaders needs to be tagged
for update when object changes. This might give some false-positive tags now
but reducing them should not be priority for Cycles and rather be a priority
to bring new dependency graph.

Also GLSL preview does not support using other object for mapping.

This is actually correct for BI shading as well and to be addressed as
a part of general GLSL viewport improvements since it's not really clear
how to support this in GLSL.

Reviewers: brecht, juicyfruit

Subscribers: eyecandy, venomgfx

Differential Revision: https://developer.blender.org/D1021
2015-01-27 13:36:30 +05:00
..
app Cycles: Fix compilation error happened after recent render time commit 2015-01-15 21:28:04 +05:00
blender Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
bvh Fix T43357: Cycles crash with spatial splits after recent changes 2015-01-22 14:56:00 +05:00
cmake Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
device Cycles: Repot CPU and CUDA capabilities to system info operator 2015-01-06 14:13:21 +05:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
render Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
subd Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
util Cycles: Fix compilation error with some compilers 2015-01-22 17:04:01 +05:00
CMakeLists.txt Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
SConscript Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00