blender/intern/cycles/kernel/shaders
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
..
CMakeLists.txt Cycles: Ashikhmin-Shirley anisotropic BSDF 2014-06-14 13:49:57 +02:00
node_absorption_volume.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_add_closure.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_ambient_occlusion.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_anisotropic_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_attribute.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_background.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_blackbody.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_brick_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_brightness.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_bump.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_camera.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_checker_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_color.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_combine_hsv.osl Revert "Fix T42888: Separate and Combine HSV distorts the hue value" 2014-12-29 18:14:08 +05:00
node_combine_rgb.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_combine_xyz.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_color.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_float.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_int.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_normal.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_point.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_string.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_convert_from_vector.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_diffuse_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_emission.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_environment_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_fresnel.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_fresnel.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_gamma.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_geometry.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_glass_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_glossy_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_gradient_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_hair_bsdf.osl style cleanup 2013-10-10 17:28:01 +00:00
node_hair_info.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_holdout.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_hsv.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_image_texture.osl Cycles: Support tube projection for images 2015-01-22 00:41:42 +05:00
node_invert.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_layer_weight.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_light_falloff.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_light_path.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_magic_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_mapping.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_math.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_mix_closure.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_mix.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_musgrave_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_noise_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_normal_map.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_normal.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_object_info.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_output_displacement.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_output_surface.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_output_volume.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_particle_info.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_refraction_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_rgb_curves.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_rgb_ramp.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_scatter_volume.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_separate_hsv.osl Revert "Fix T42888: Separate and Combine HSV distorts the hue value" 2014-12-29 18:14:08 +05:00
node_separate_rgb.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_separate_xyz.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_set_normal.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_sky_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_subsurface_scattering.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_tangent.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_texture_coordinate.osl Cycles: Support texture coordinate from another object 2015-01-27 13:36:30 +05:00
node_texture.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_toon_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_translucent_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_transparent_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_uv_map.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_value.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_vector_curves.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_vector_math.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_vector_transform.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_velvet_bsdf.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_voronoi_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_wave_texture.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_wavelength.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
node_wireframe.osl Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
oslutil.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
SConscript Fix windows scons OSL build error, just use quotes now instead of array. 2013-10-09 20:11:18 +00:00
stdosl.h Cycles / OSL: Support microfacet() closure color function from OSL 1.5 2014-10-30 11:33:27 +01:00