blender/intern/cycles/render
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
..
attribute.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
attribute.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
background.cpp Cycles: Optimization for black world backgrounds 2015-01-21 20:16:18 +01:00
background.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
bake.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
bake.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
blackbody.cpp Cycles: Don't re-generate blackbody/beckmann tables on every shaders update 2015-01-23 14:00:48 +05:00
blackbody.h Cycles: Don't re-generate blackbody/beckmann tables on every shaders update 2015-01-23 14:00:48 +05:00
buffers.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
buffers.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
camera.cpp Cycles: Correction to camera in volume detection after clipping commit 2015-01-19 19:28:28 +05:00
camera.h Cycles: Adding field-of-view options to the equirectangular panorama camera 2015-01-14 23:22:24 +05:00
CMakeLists.txt Cycles: Synchronize changes with standalone repository 2015-01-01 01:31:07 +05:00
curves.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
curves.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
film.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
film.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
graph.cpp Cleanup / Cycles: Code de-duplication for graph node relinking. 2015-01-22 09:59:16 +01:00
graph.h Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
image.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
image.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
integrator.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
integrator.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
light.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
light.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
mesh_displace.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
mesh.cpp Fix T43311: using displacement shader crashes blender 2015-01-19 19:23:21 +05:00
mesh.h Fix T43311: using displacement shader crashes blender 2015-01-19 19:23:21 +05:00
nodes.cpp Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
nodes.h Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
object.cpp Fix T43311: using displacement shader crashes blender 2015-01-19 19:23:21 +05:00
object.h Fix T43311: using displacement shader crashes blender 2015-01-19 19:23:21 +05:00
osl.cpp Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
osl.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
particles.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
particles.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
scene.cpp Fix T43311: using displacement shader crashes blender 2015-01-19 19:23:21 +05:00
scene.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
session.cpp Cycles: Ignore preprocessing time in ETA calculation 2015-01-14 23:14:16 +05:00
session.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
shader.cpp Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
shader.h Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
sky_model_data.h Code Cleanup: use static for sky_model_data.h 2013-12-13 04:40:30 +11:00
sky_model.cpp Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
sky_model.h code cleanup: spelling 2013-10-31 23:52:44 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm.cpp Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
svm.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
tables.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
tables.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
tile.cpp Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
tile.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00