Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: steve3duk on April 14, 2024, 11:36:24 pm

Title: Vraydistancetex used as mask for displacement - not working
Post by: steve3duk 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?



Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: steve3duk 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/
Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: steve3duk on April 15, 2024, 12:22:07 am
Here is an example of one of the masks used in the composite for the displacement.

Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: Michal Karmazín 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,
Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: steve3duk 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.

Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: Michal Karmazín on April 15, 2024, 12:34:30 pm
In such a case, if possible, please feel free to send us (https://forum.itoosoft.com/faq/how-to-send-a-file-to-itoo-software/) your scene (ideally simplified and containing just this problematic object(s)). Thanks in advance.

Best regards,
Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: steve3duk on April 15, 2024, 01:17:09 pm
In such a case, if possible, please feel free to send us (https://forum.itoosoft.com/faq/how-to-send-a-file-to-itoo-software/) 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.
Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: Michal Karmazín on April 15, 2024, 06:56:23 pm
Replied by email.
Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: EQ4593 on June 12, 2024, 06:28:17 pm
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,

i have the same problem and have tried downloading and using the modified effect that you posted here. Unfortunately it doesnt work for me. I am using a composite material with 3 vray distance tex materials of differeing opacities. You can see the grass items are hovering above the edges of the path as the path dips down to its centre with vray displacement activated with distance tex falloff.  My scene is rather large so i cant really send the max file for you to have a look at. i've sent a stripped down file with your wetransfer to have a look at for me called ref1.zip
Many Thanks.  Simon.
Title: Re: Vraydistancetex used as mask for displacement - not working
Post by: Michal Karmazín on June 14, 2024, 10:34:38 am
Related to the origin of the Forest object (solved here (https://forum.itoosoft.com/forest-pro-(*)/follow-displace-surface-whilst-using-vraydistancetex/)).