Announcement

Collapse
No announcement yet.

VRayDisplacementMod doesn't work with material IDs?

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

  • VRayDisplacementMod doesn't work with material IDs?

    I'm trying to add displacement to some parts of my object. I'm using Multi/sub-object material where only one of the materials has displacement and a VRayDisplacementMod is applied to the object with "Use object material" turned on. However, displacement gets applied to the whole object. Is this supposed to happen?
    Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
    AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

  • #2
    Not really, even without VrayDisplacement Mod, displacement its only applied to the part where has it (while with modifier you need to activate "use object material" just like you said).
    Could you share your material and modifier setup?

    "use object material" in Displacement Mod
    Click image for larger version  Name:	image.png Views:	0 Size:	540.4 KB ID:	1203554
    Displacement on Material​
    Click image for larger version  Name:	image.png Views:	0 Size:	556.6 KB ID:	1203556​​
    No "use object material" on Displacement Mod
    Click image for larger version

Name:	image.png
Views:	122
Size:	558.6 KB
ID:	1203557
    Attached Files
    Last edited by ChuckRT; 29-02-2024, 04:37 PM.
    Carlos Rodriguez
    RTstudio
    Tutorials

    Comment


    • #3
      Thanks, ChuckRT. I found what the problem was! The "Shift" parameter of the VRayDisplacementMod modifier shifts the whole objects, not just the materials with displacement. If I set Shift to 0, things look correct. Unfortunately, the displaced geometry now expands too much and I can't shift it back to it's original place as this will shift the whole object. Is there a way to shift it in the material?
      Last edited by Alex_M; 01-03-2024, 09:22 AM.
      Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
      AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

      Comment


      • #4
        Thanks for the report. I've logged it (internal bug-tracker id: VMAX-14014). Not sure if there is a way to do this without detaching the face.
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          What if you shift via subtracting a VRayColor from your map?

          Be sure the texture high and low settings cover your range (e.g. -1 to 1 ).

          So if your original image is 0-1.0 then subtract 0.5 via VrayCompTex and a VrayColor.

          Note I did not test this just now, and there may be some other gotcha.

          Comment


          • #6
            Good idea! I will try it out and report the results.
            Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
            AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

            Comment

            Working...
            X