Announcement

Collapse
No announcement yet.

multiple map channels in ply2vrmesh?

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

  • multiple map channels in ply2vrmesh?

    I've been playing around with converting .bgeo from Houdini to .vrmesh using ply2vrmesh and I absolutely love it so far; it's saving me a ton of time. However, my Houdini guy just told me that I need to find a way to export multiple UV sets. I can export them as vector color channels, but then I can't quite figure out a way to use that data via VRayVertexColors to drive texture placement. Is there any kind of workaround? Maybe I could read in textures using OSL?

    Alternatively, is there a way to use vertex colors on a proxy to act as masks in a layered texture? For example, could I use an arbitrary float attribute to drive the blending of color maps in a texture?
    Last edited by galakgorr; 29-01-2015, 08:36 PM.

  • #2
    V-Ray will try to preserve as many attributes from the .bgeo and .geo file as possible as vertex color sets. You can use the -info option of ply2vrmesh to see the names of these sets. Then you can add V-Ray attributes to a 2D placement or 3D placement node in Maya and specify a name of a color set that you want to derive the UVs from for that particular texture.

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

    Comment


    • #3
      Thanks for the reply, Vlado!

      I was able to use the V-Ray attribute to change the UV set, which is fantastic. However, I have another question... it seems that ply2vrmesh or the proxy loader is renaming my vertex channels from "uv1," "uv2" to "uvmap1," "uvmap2," etc. Is there a way to preserve my original channel names? It would make automation a little easier.

      Thank you!

      Comment


      • #4
        Can you please send us a simple example with multiple uv sets, to see what can be done.

        Best regards,
        Asen

        Comment


        • #5
          The uv set names should be preserved in tomorrow's nightly. I tested only with files with one uv set. Please check if everything is fine.

          Best regards,
          Asen

          Comment


          • #6
            I don't currently have access to nightly builds. Who can I contact for a link?

            Thanks so much for patching this!
            H

            Comment


            • #7
              Email me to vlado@chaosgroup.com and I'll arrange that.

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

              Comment

              Working...
              X