Announcement

Collapse
No announcement yet.

Problem with the mapping when using TriplanarTex map

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

  • Problem with the mapping when using TriplanarTex map

    Hi,

    Please check the screenshot below. Any ideas why this happens? If I use just a UVW map modifier in "Box" mode, the mapping works perfectly fine. There are no flipped normals and they all face in the same direction. This happens with both the CPU and the GPU engine. Let me know if you need the scene.

    Click image for larger version

Name:	vray-triplanartex-normal-problem-01.jpg
Views:	220
Size:	271.9 KB
ID:	1221049 Click image for larger version

Name:	vray-triplanartex-normal-problem-02.jpg
Views:	175
Size:	288.9 KB
ID:	1221050
    Aleksandar Mitov
    www.renarvisuals.com
    office@renarvisuals.com

    3ds Max 2023.2.2 + Vray 7 Hotfix 1
    AMD Ryzen 9 9950X 16-core
    96GB DDR5
    GeForce RTX 3090 24GB + GPU Driver 566.14

  • #2
    From the documentation (VRayTriplanarTex - V-Ray for 3ds Max - Global Site​):
    • If you wish to use a VRayNormalMap with VRayTriplanarTex in a material, assign the VRayNormalMap to the VRayTriplanarTex Texture map slot and then use the VRayTriplanarTex in your material. Linking in the other direction is not recommended.
    A.

    ---------------------
    www.digitaltwins.be

    Comment


    • #3
      Thanks, Vizioen . This works with CPU, but still not working with GPU. I am using the GPU engine for this project.

      Click image for larger version

Name:	vray7_normal_map_CPU_vs_GPU_1.jpg
Views:	118
Size:	319.5 KB
ID:	1221152 Click image for larger version

Name:	vray7_normal_map_CPU_vs_GPU_2.png
Views:	115
Size:	28.5 KB
ID:	1221153
      Aleksandar Mitov
      www.renarvisuals.com
      office@renarvisuals.com

      3ds Max 2023.2.2 + Vray 7 Hotfix 1
      AMD Ryzen 9 9950X 16-core
      96GB DDR5
      GeForce RTX 3090 24GB + GPU Driver 566.14

      Comment


      • #4
        Send or attach the scene so we can troubleshoot.
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          No worries. Simplified scene attached below.
          Attached Files
          Aleksandar Mitov
          www.renarvisuals.com
          office@renarvisuals.com

          3ds Max 2023.2.2 + Vray 7 Hotfix 1
          AMD Ryzen 9 9950X 16-core
          96GB DDR5
          GeForce RTX 3090 24GB + GPU Driver 566.14

          Comment


          • #6
            There must be something weird with your geometry, if I apply it to a box it renders ok. Can't figure out what's wrong with your geo though.
            A.

            ---------------------
            www.digitaltwins.be

            Comment


            • #7
              Is the inconsistent polygon area? What if you quadrify mesh or retopologize?

              Comment


              • #8
                Thanks for the suggestions, Vizioen and Joelaff . I think I solved the mystery! It turns out that if there are UVs that are very thin, the triplanar texture won't work properly with the GPU engine. Please check the video I recorded. If I apply box mapping to the object, the triplanar texture starts working properly. A bit counterproductive considering that the triplanar texture is normally used when you don't want to unwrap stuff. Again, seems to be a problem only with the GPU engine. I didn't have to do this when rendering with the CPU.
                Attached Files
                Last edited by Alex_M; 28-11-2024, 01:39 PM.
                Aleksandar Mitov
                www.renarvisuals.com
                office@renarvisuals.com

                3ds Max 2023.2.2 + Vray 7 Hotfix 1
                AMD Ryzen 9 9950X 16-core
                96GB DDR5
                GeForce RTX 3090 24GB + GPU Driver 566.14

                Comment


                • #9
                  This is an old one (internal bug-tracker ID: VGPU-5597). Basically, VRayNormalMaps with VRayTriplanar and GPU do not work well. I'll talk to the project manager, to see if we could bump its priority.
                  Aleksandar Hadzhiev | chaos.com
                  Chaos Support Representative | contact us

                  Comment


                  • #10
                    Good to know. In the meantime, I will use the workaround of applying box mapping when I see this problem again.
                    Aleksandar Mitov
                    www.renarvisuals.com
                    office@renarvisuals.com

                    3ds Max 2023.2.2 + Vray 7 Hotfix 1
                    AMD Ryzen 9 9950X 16-core
                    96GB DDR5
                    GeForce RTX 3090 24GB + GPU Driver 566.14

                    Comment

                    Working...
                    X