Announcement

Collapse
No announcement yet.

How blending two exr (32bit) maps in Vray? No utility node works

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

  • How blending two exr (32bit) maps in Vray? No utility node works

    Hello, recently I needed to blend two (or even more) displacement maps for rendering in Vray Maya.
    Unfortunately all utility nodes, such as layered texture node, did not work. everything seemed only to work for 8bit.

    This is interesting for blending displacement, hdr's or any other kind of maps.
    Sometimes they should add, sometimes we just want to blend between between different file sources.
    Thanks for help!

  • #2
    Blending using layered texture works fine, and has worked for a long time. What kind of problem did you get?
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment


    • #3
      Hello, thanks for reply!
      Hm, I struggled about an hour with not being able to blend 32bit.
      But if you say it should work, I will better try again with another fresh scene.
      I will come back then again

      Comment


      • #4
        When you say it doesn't work, what do you mean? Are you getting incorrect displacement, is it crashing?

        The layeredTexture should work, but the colorComposite is my go-to node for blending stuff, and I haven't had any problems using 32bit files with that. If you don't have that node, enable the lookdevKit in the Maya Plug-In Manager.

        That being said, you can always try debugging by manually blending the textures using the multiplyDivide and plusMinusAverage nodes. Multiply one displacement texture with the mask, multiply the other displacement texture with the same mask but inverted, then plus them together. If that doesn't work, something else is wrong.
        Last edited by dgruwier; 21-02-2018, 08:13 AM.
        __
        https://surfaceimperfections.com/

        Comment


        • #5
          If the resulting blend contains negative values and/or higher positive values, it might be worth to try setting manual displacement bounds and set the color values to something like min value = -5 and max value = +5 (maybe less, maybe more, depends on the texture). This is done by adding displacement control extra vray attributes https://docs.chaosgroup.com/display/...cement+Control - they can be added to the VRayDisplacement node directly, btw.

          Keep in mind that with Maya 2016 (I think) and later, the HSV picker doesn't allow you to set negative values, so you'll have to change the picker mode to RGB to do that (don't remember if RGB 0-255 allowed it or it was RGB 0-1, bug HSV doesn't allow this for sure).

          When the texture is directly connected to the VRayDisplacement, VRay can tell what min/max values it needs, but when it goes through a bunch of other nodes that alter the end result it might not be able to detect the bounds (the default bounds mode is automatic).

          I'm just trying to guess here
          Last edited by yolov; 21-02-2018, 01:24 PM.
          Alex Yolov
          Product Manager
          V-Ray for Maya, Chaos Player
          www.chaos.com

          Comment

          Working...
          X