blender/intern/cycles/kernel/svm
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
..
svm_attribute.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_blackbody.h Cleanup: Typo fix for Blackbody variable, had different naming in the comments and also in OSL. 2014-10-12 14:18:30 +02:00
svm_brick.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_brightness.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_camera.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_checker.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_closure.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_convert.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_displace.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_fresnel.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_gamma.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_geometry.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_gradient.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_hsv.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_image.h Cycles: Support tube projection for images 2015-01-22 00:41:42 +05:00
svm_invert.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_light_path.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_magic.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_mapping.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_math_util.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_math.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_mix.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_musgrave.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_noise.h Cleanup: Remove some unused / unreferenced functions for perdiodic perlin noise. 2014-10-03 18:00:45 +02:00
svm_noisetex.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_normal.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_ramp.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_sepcomb_hsv.h Revert "Fix T42888: Separate and Combine HSV distorts the hue value" 2014-12-29 18:14:08 +05:00
svm_sepcomb_vector.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_sky.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_tex_coord.h Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
svm_texture.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_types.h Cycles: Support tube projection for images 2015-01-22 00:41:42 +05:00
svm_value.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_vector_transform.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_voronoi.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_wave.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
svm_wavelength.h Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
svm_wireframe.h Style cleanup: indentation, braces 2014-05-05 02:19:08 +10:00
svm.h Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00