Announcement

Collapse
No announcement yet.

FBX import -> convert maya material to vray material -> script?

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

  • FBX import -> convert maya material to vray material -> script?

    Any mellable people out there that know how to script conversions from maya to vray materials?

    FBX import by default assigns Maya phong to all objects, would be nice not to have to manually reassign all of them.

  • #2
    I've been told that technically there is a possibility to extend the FBX format using the FBX SDK with custom data and it is something that we will look into, but at this point I don't know yet if it is fully possible.

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

    Comment


    • #3
      Hey Timdog,

      I have a script which converts most of the Maya materials into VRay materials.

      You can download it from www.dryzen.com -> Scripts.
      VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

      Comment


      • #4
        Ahh nice, thanks alot!
        And it works too! The vray forum rocks!
        Last edited by timdog; 11-10-2010, 06:01 AM.

        Comment


        • #5
          Sure it is working ^^, but maybe I need to make some adjustments and add more support for the Maya shaders (PhongE, Anisotropic is not supported right now).
          VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

          Comment


          • #6
            I cant seem to get this working anymore...It use to tried it in maya 2020-24

            // Error: line 2: Cannot find procedure "maya2VRay.mel". //

            Its in the scripts folder !!
            then type
            source maya2VRay.mel; maya2VRay.mel;

            Any ideas?
            Cheers

            Comment


            • #7
              I use this one

              string $replaceType = "VRayMtl";
              string $sNode[] = `ls -sl`;
              for ($each in $sNode)
              {
              string $replaceWith = `createNode $replaceType`;
              replaceNode $each $replaceWith;
              delete $each;
              rename $replaceWith $each;
              }​
              https://www.artstation.com/damaggio

              Comment


              • #8
                What is this witchcraft?
                I managed to find an old script "Material swapper" from the VRay Tuner script

                I'll give it a spin, cheers

                Comment

                Working...
                X