Announcement

Collapse
No announcement yet.

UVmap: what's wrong with this setup?

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

  • UVmap: what's wrong with this setup?

    Hi,
    I'm doing an environment scene as Vray4Blender testing and, in this scene, there is a mountain object surrounded by the sea.
    I'd like to vary the mountain textures according to the height.
    So, I've created an UVmap called "mix_altezza", select all the faces, put the view as side view and I created UVs using "project from view (bounds)".
    The results is visibile here
    RC1qoK1.jpg
    Here you can also see how I've connect the gradient ramp.
    I've connected the gradient ramp color output as input of diffuse color of a VrayMtl to check that everything works.
    As this setup, I'm expecting to see the gradient that, vertically, goes from black to white.
    Actually I got this.
    cLtjJGY.jpg
    Why?
    It's seems like the UV goes from left to right horizontally when I've set UVs to go from bottom to top.

    Am I wrong or there is something that doesn't work?

  • #2
    Hello bardo, Could you please provide the scene from the example so we can check this behavior?
    Daniel Kapsazov | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Originally posted by daniel.kapsazov View Post
      Hello bardo, Could you please provide the scene from the example so we can check this behavior?
      Sure!
      As attached
      LandScape_Test.zip

      Comment


      • #4
        Just to be sure that I'm not missing anything... do you tried this scene?
        At the moment, with the latest nightly (Vray7 Blender addon vray_adv_70010_blender420_x64_211) I still have this issue.

        Comment


        • #5
          Hi bardo, Sorry for the late reply. I looked at the scene, and it seems that everything is working as expected. Since you are mapping a 2D texture onto the UVs, you just needed to either rotate the UVs through the UV Editor to match the orientation of the gradient ramp, or you can use the V-Ray UVW Mapping node to rotate them.

          I did notice that the Rotate UVs value is not shown in degrees but uses radians instead, which is something we will address.

          Here are examples of how I got it to work:

          Rotating UV's in UV Editor:
          blender_2024-10-24_11-22-40.png
          Using the V-Ray UVW Mapping Node:
          ​​ blender_2024-10-24_11-25-48.png

          I hope this helps! If you have a different approach to this workflow or if it's done differently inside Cycles, please let us know so we can check it out too.
          Daniel Kapsazov | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            Thank you very much... it was exactly what I need.

            Comment

            Working...
            X