Relationship between Material Assignment and Displacement Textures

Is there some way to copy the mapping settings for a material on a particular object to displacement mapping settings for the same base texture image on the same object? I can’t seem to easily get the second to match the first; is there some copying operation?

Attached is an example where I’ve adjusted the scale of a material’s texture when it’s assigned to an object; but when the same texture is chosen for the displacement on an identical object, the texture being used for the displacement doesn’t match the scale. But its scale settings appear to be the same. I’m missing something somewhere.

HowToAutomaticallyMatchDisplacementMappingtoMaterialMapping.3dm (1.6 MB)

Hi Djhg,

Thanks for the file. There’s no copy operation for this — the texture you pick in the Displacement panel is an independent texture instance, so it doesn’t inherit the scale you set on the material’s texture, even when it’s the same image. Both do follow the object’s texture mapping (that part is shared), but each texture instance layers its own Repeat/Offset/Rotation on top, and that’s where yours diverge.

In your file the fieldstone material’s texture has its repeat set to 0.1668 x 0.25 — open the displacement texture’s settings and set the same repeat (and check both are on the same mapping channel, and that offset/rotation match too, not just repeat).

What version of Rhino are you working in? If matching them automatically is something you’d use a lot, i can add a feature request for a copy/sync between the two.

Thanks Japhy.

If I’m following correctly, one can load a texture into the displacement mapping control panel and there map an image onto an object, setting its repeat/offset/rotation, without choosing displacement. Then one can choose displacement as well for the same texture on the same object within the displacement control panel, retaining all those settings.

So when is it recommended to use a material assignment from the material panel alone, which doesn’t offer a displacement mapping option? Why not use the displacement panel for everything, displacement activated or not?

Please disregard my question above. It reflects a misunderstanding.

I think I’m getting the gist of this after some exploration.