blender/source
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
..
blender Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
blenderplayer Add missing stub to the player, so buildbot keeps delivering gooseberry builds 2015-01-20 09:30:10 +01:00
creator Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage). 2015-01-26 16:59:24 +01:00
gameengine missed last commit 2015-01-27 03:41:05 +11:00
icons
CMakeLists.txt Move tests into tests/ top-level dir 2014-06-18 22:03:46 +10:00
SConscript