Itoo Software Forum

Author Topic: Follow Displace Surface (V-Ray) problem  (Read 183 times)

Ricousto

  • Newbie
  • *
  • Posts: 20
Follow Displace Surface (V-Ray) problem
« on: June 07, 2024, 05:06:54 PM »
Hello

I have a forest for grass and other things on a terrain.
My terrain has a VRayDisplacement. This VRayDisplacement is a composite map with 2 maps and a vertex colour as a mask (see attachment).
I use Follow Displace Surface (V-Ray).
So far so good, but when I instantiate my composite card, the effect doesn't work. My grass doesn't follow my displaced surface.
If I just put in the map without the vertex colour mask, everything's fine.
Is this a limitation of this effect?

Another question:
Is it a problem if I use Texmap min: -1 / Texmap max: 1?

Thanks

Best regards

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2552
Re: Follow Displace Surface (V-Ray) problem
« Reply #1 on: June 10, 2024, 02:25:58 PM »
Hi,

You should avoid using the VRayTriplanarTex map. Once removed, it should work just fine. As for your second question, there's no problem with setting Texmap max to -1.

I hope that helps.

Best regards,

Ricousto

  • Newbie
  • *
  • Posts: 20
Re: Follow Displace Surface (V-Ray) problem
« Reply #2 on: June 10, 2024, 05:57:06 PM »
Thanks for your answer.

The fact is it work with triplnar but not with the vertex color mask.
It seems that the problem is more about that mask.
But I really need that mask !
Could you please, give me some advices ?

Thanks

Ricousto

  • Newbie
  • *
  • Posts: 20
Re: Follow Displace Surface (V-Ray) problem
« Reply #3 on: June 12, 2024, 06:02:40 PM »
I found that topic https://forum.itoosoft.com/forest-pro-(*)/vraydistancetex-used-as-mask-for-displacement-not-working/
Is it the same issue ? is it similar in some way ?

I'm still struggling with this problem

EQ4593

  • Newbie
  • *
  • Posts: 11
Re: Follow Displace Surface (V-Ray) problem
« Reply #4 on: June 12, 2024, 06:36:06 PM »
i am stuck with the same problem.
i have uploaded a stripped down max file (ref1.zip) with wetransfer for you to look at. the forest items are not following my base surface as it distorts with displacement using a composite of 3 different vraydistance tex materials.
 

Ricousto

  • Newbie
  • *
  • Posts: 20
Re: Follow Displace Surface (V-Ray) problem
« Reply #5 on: Today at 10:58:17 AM »
It's a little different, I don't use VrayDistanceTex but a vertex paint as a mask between 2 displacement maps (composite).

The fact is that the grass in my forest pack has an offset above my displaced surface equal to the amount of VRayDisplacement when I use the composite map.
When I only use my displacement map without the vertex paint mask, the forest pack grass moves closer to the displaced surface.

Any advices ?
Many thanks

Ricousto

  • Newbie
  • *
  • Posts: 20
Re: Follow Displace Surface (V-Ray) problem
« Reply #6 on: Today at 07:49:36 PM »
Bloody hell!
You're right, VRayTriplanar doesn't work with VRayDisplacementMod! (at least not with my old version of Vray!).
So I tried without VRayTriplanartex but keeping my configuration (Composite with 2 different maps and a vertex paint mask).
Unfortunately, I still can't work out why Follow Displace Surface (V-Ray) doesn't work!
Please find attached a simple scene

What the hell ? Please, can you help me ? What am I doing wrong ?

Thanks a lot