Announcement

Collapse
No announcement yet.

How to make a uvpass?

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

  • How to make a uvpass?

    Is there a way to render a UV pass with vray?
    In mentalray you can use a mib_texture_vector node and set its projection to uv. Then render that out with a writeToCustomColorBuffer.
    In Vray i guess i've to make a extraTexElement. But what can go in there to give me the UV information out?

    Thanks!

  • #2
    extraTexElement with vraysamplerinfo set to UVW

    Comment


    • #3
      You can use Maya's "Sampler Info" node for this. More specifically, the uvCoord output. You'll need to manually connect the uCoord and vCoord to the red and green inputs of the extra tex node.

      There is no VRaySamplerInfo in V-Ray for Maya as far as I know, it's Max only for now. Most of the VRaySamplerInfo outputs are part of Maya's "Sampler Info" anyway.

      Greetings,
      Vladimir Nedev
      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

      Comment


      • #4
        Awesome, thanks.

        Comment


        • #5
          It could be useful to set your output to 32bit float in case your uvs go far beyond 0-1 range...we have that very often.......
          OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

          Comment


          • #6
            Ok, thanks.

            Comment


            • #7
              Ok, I tried that. For some reason vray doesn't render the uv information, even if i apply the samplerInfo to a surface shader. Maya Software does. Any ideas?

              Comment


              • #8
                Hm, there seems to be a bug there and I'm looking into it. In the meantime, you can use the V-Ray "UVWTex" texture instead of the samplerInfo one: go to Create > V-Ray > Create texture from V-Ray plugin and choose the "UVWTex".

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

                Comment


                • #9
                  EDIT: Doesn't work as a element, either. Only as a color texture. Other values, such as the pointWorld and pointCamera get translated to the renderElements correct, btw.
                  Last edited by pechart; 09-07-2010, 04:00 AM.

                  Comment


                  • #10
                    Yep; this is now fixed for the next night build tomorrow. In the meantime you can use the UVWTex approach.

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

                    Comment


                    • #11
                      Thanks, so it's time for weekend now

                      Comment


                      • #12
                        Both the samplerInfo and the UVWTex work now. Thank you!

                        Comment

                        Working...
                        X