question

Daniel dos Orixás avatar image
Daniel dos Orixás asked

How to offset the effect of displacement maps on geometry in the C4D viewport?

Hi - perhaps an obvious one but it has me stumped:

I have a ground-plane object with a displacement texture applied, not too much, but it clearly *moves the plane* in the Arnold IPR, while leaving the geometry in the C4D viewport in the same place (let's say at Y=0). So, C4D Y=0, but in the IPR the plane is now at Y= something else.

So then placing objects on the plane leaves them 'hanging in space' in the IPR, as the plane is now at Y= minus 12, (approx), or, depending on the displacement, sunk in to the geometry in the viewport.

Is there a workaround for this? Or do you just have to 'eyeball' it in the IPR and accept intersecting geometry or floaty geometry in the viewport? How to keep objects with the same Y co-ordinates 'resting on each other' in the viewport when displacement is applied? Or rather, how to ensure the displaced geometry still has a useful co-ordinate system in the viewport?

c4dtoadisplacementviewport
1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

testplane.jpgTest plane yellow @ Y=0

displaced-plane.jpgDisplaced plane @ Y=0

viewport.jpgViewport to IPR mismatch for useful co-ordinates

0 Likes 0 ·
testplane.jpg (320.8 KiB)
displaced-plane.jpg (364.8 KiB)
viewport.jpg (372.5 KiB)

1 Answer

· Write an Answer
Daniel dos Orixás avatar image
Daniel dos Orixás answered

I think I've sussed it out...

The Scalar Zero value just needs to be adjusted until the Y=0 parts of the map are, in fact, at Y=0...
I was just leaving it at 0.5 and assuming that's 'correct', but it obvs depends on what shade of gray has been used for 0 in the actual map!

Then use the Arnold tag to play with height and padding until the look is whatever you want.

If that's wrong, please let me know! thx

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.