Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: EQ4593 on June 13, 2024, 10:16:43 am

Title: follow displace surface whilst using VrayDistanceTex
Post by: EQ4593 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 ?
 
Title: Re: follow displace surface whilst using VrayDistanceTex
Post by: Paul Roberts 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
Title: Re: follow displace surface whilst using VrayDistanceTex
Post by: EQ4593 on June 13, 2024, 11:12:22 am
Thankyou. Thats great, yes that has solved it for me.