Itoo Software Forum

Author Topic: follow displace surface whilst using VrayDistanceTex  (Read 7263 times)

EQ4593

  • Newbie
  • *
  • Posts: 11
follow displace surface whilst using VrayDistanceTex
« on: June 13, 2024, 10:16:43 am »
i have been looking at the two previous recent posts that have encountered this problem. i have downloaded the adjusted 'eff' effects file shared in one of these posts which has changed 'fpItem.distUVW' to 'fpItem.position' in the top expression line reading: vector tintColor = evaluateTexture(DisplacementMap,fpItem.distUVW); in the effects editor. This has sort of worked but now the displaced forestpack items are displaced at an offset from the actual intersecting objects causing the displacement. Hopefully you can see that in the test attachment where the sphere and extruded green line are  VrayDistanceTex Objects causing displacement to the rectangular plane that they are dissecting. The effect added into forest pack is working but the displaced forest items are offset away from the VrayDistanceTex objects.
Please can anyone help solve this ?
 

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3062
Re: follow displace surface whilst using VrayDistanceTex
« Reply #1 on: June 13, 2024, 10:25:12 am »
Thanks for getting in touch. Can I check that the Forest Object is at the world Origin? This is required for it to correctly align with the V-Ray Distance Texture. Just select the FP object and set the X,Y, and Z position to 0.

I hope that helps,

Paul
Paul Roberts
iToo Software

EQ4593

  • Newbie
  • *
  • Posts: 11
Re: follow displace surface whilst using VrayDistanceTex
« Reply #2 on: June 13, 2024, 11:12:22 am »
Thankyou. Thats great, yes that has solved it for me.