Announcement

Collapse
No announcement yet.

VrayDistance texture - surface borders detection option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VrayDistance texture - surface borders detection option

    Hi,

    I think it would be nice to have an option in the VRayDistance texture to detect and draw from surface borders.

    Say for example this, where the red edges are detected and V-Ray could draw from this point towards the inner of the object;

    Click image for larger version

Name:	surfacepolygonholes.png
Views:	1
Size:	23.1 KB
ID:	877648

    VRayEdges doesn't cut it (well it probably would for the above example, but I'm thinking of uses for like blending of edges of paths, lawns, gardenbeds, roads - more complicated setups etc...)

    Currently it's quite cumbersome to add 100's of objects to get it to work especially if there are multiple objects that will use this texture. Let me know if I'm not making sense! I'll be happy to draw up some diagrams.
    Maya 2020/2022
    Win 10x64
    Vray 5

  • #2
    It's not impossible, but we need to think a bit about it... if you can provide any additional information it will certainly be very helpful.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      No worries, here's what I'm thinking. I've done a quick paintover in PS.

      I have a road selected here in blue (were obviously looking top down onto the ground in Maya's viewport). Say I assign the VRayDistanceTex to this object.

      Click image for larger version

Name:	mesh.jpg
Views:	1
Size:	516.6 KB
ID:	847605

      I turn on the proposed option in VRayDistanceTex for V-Ray to detect surface borders, which I have colored in red:

      Click image for larger version

Name:	edgesdetected.jpg
Views:	1
Size:	508.6 KB
ID:	847606

      Then I can type in a distance, say 100 units so V-Ray will now have the "Near Color" which I have done as green, then the rest of the road will be the "Far Color":
      Click image for larger version

Name:	renderthis.jpg
Views:	1
Size:	509.6 KB
ID:	847607

      So it still works the same way overall, there's just an extra attribute to save time in this particular scenario and I'd imagine, many others. Thanks for looking Vlado.
      Maya 2020/2022
      Win 10x64
      Vray 5

      Comment

      Working...
      X