Page MenuHome

Linked group breaks Object Mapping in Texture Coordinates
Open, Confirmed, MediumPublic

Description

System Information
Windows 10

Blender Version
Broken: 2.79b official release

Short description of error
Linked group breaks Object Mapping in Texture Coordinates, when:

  • a texture (on a plane) uses another object (empty) as texture coordinates
  • all objects are in the same group

Further explanation in the blend file.

Exact steps for others to reproduce the error

  1. Link the group "object_mapping" from the blend file
  2. move the group in any direction

Despite the gradient texture on the plane using the empty's coordinates, this is completely ignored once linked as a group

Details

Type
To Do

Event Timeline

Bastien Montagne (mont29) triaged this task as Normal priority.

Note that this is not related to linking, instantiating the group in original file shows exact same behavior.

@Brecht Van Lommel (brecht) I believe that’s related to how Cycles handle that kind of coordinates? Not sure that is actually a bug, nor fixable, though, since I do not see how code could know which dupliobject to use to generate coordinates instead of using actual original object…

oh yeah, I could've just instance it in the same file.

This does make Object mapping less useful for groups. After linking the group, I tried to bypass it by making the empty proxy, or with 'Make Duplicates Real', but none of these methods work.

Brecht Van Lommel (brecht) raised the priority of this task from Normal to Confirmed, Medium.Aug 30 2018, 1:58 PM

The solution to this is probably rather complicated, particularly if there are multiple object instances or the material is used by multiple objects.

I think it would involve finding the object "closest" to another object in the group hierarchy, and storing this transform as an object attribute rather than a material attribute.