Itoo Software Forum

Author Topic: Vraydistancetex used as mask for displacement - not working  (Read 197 times)

steve3duk

  • Newbie
  • *
  • Posts: 28
Vraydistancetex used as mask for displacement - not working
« on: April 14, 2024, 11:36:24 PM »
I'm using the above setup. I have a composite displacement map with multiple displacements affecting different areas of a fairly large terrain.

I also have a road going through the terrain. I'm using vraydistancetex to graduate the ground displacement up to the road. This works with the displacement but the effect - follow displace surface (vray) is not working completely. When I use the vraydistancetex as a mask it is looking like it is completely ignored.

Any ideas why this is happening? Is it because it is only a render time effect? Would there be another way of doing this?



« Last Edit: April 15, 2024, 12:21:13 AM by steve3duk »

steve3duk

  • Newbie
  • *
  • Posts: 28
Re: Vraydistancetex used as mask for displacement - not working
« Reply #1 on: April 14, 2024, 11:41:02 PM »
I've just found this topic. I'm guessing this is the same issue. I've made sure that the forest object is set to 0,0,0...it already was, so I still have the problem.

https://forum.itoosoft.com/forest-pro-(*)/follow-disp-surf-not-working-with-vray-distance-tex/

steve3duk

  • Newbie
  • *
  • Posts: 28
Re: Vraydistancetex used as mask for displacement - not working
« Reply #2 on: April 15, 2024, 12:22:07 AM »
Here is an example of one of the masks used in the composite for the displacement.


Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Vraydistancetex used as mask for displacement - not working
« Reply #3 on: April 15, 2024, 08:55:16 AM »
Hi,

Please try using the attached version of such an Effect - it's using fpItem.position instead of fpItem.distUVW. I hope that helps.

Best regards,

steve3duk

  • Newbie
  • *
  • Posts: 28
Re: Vraydistancetex used as mask for displacement - not working
« Reply #4 on: April 15, 2024, 11:44:42 AM »
Thanks. This seems to have resolved the issue with the vraydistancetex but now I have items floating above the ground level further away which weren't floating when using the standard follow displacement (Vray ) effect.


Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Vraydistancetex used as mask for displacement - not working
« Reply #5 on: April 15, 2024, 12:34:30 PM »
In such a case, if possible, please feel free to send us your scene (ideally simplified and containing just this problematic object(s)). Thanks in advance.

Best regards,

steve3duk

  • Newbie
  • *
  • Posts: 28
Re: Vraydistancetex used as mask for displacement - not working
« Reply #6 on: April 15, 2024, 01:17:09 PM »
In such a case, if possible, please feel free to send us your scene (ideally simplified and containing just this problematic object(s)). Thanks in advance.

Best regards,

Hi. I'm sending now via wetransfer. I've minimalised the scene as much as possible but the displacement maps remain in place.

Thanks.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Vraydistancetex used as mask for displacement - not working
« Reply #7 on: April 15, 2024, 06:56:23 PM »
Replied by email.