Announcement

Collapse
No announcement yet.

Vray Scene converter in 2009

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

  • Vray Scene converter in 2009

    Does it work?
    Because the last X amount of times i've tried it, it's always failed?
    I remember having to change the code for models imported from Revit files, but i'm just trying to convert a simple downloaded model which has standard Raytrace textures...

    I can send the file if needed, but it's not worked for me in ages now, only with Max 2009....

    Thanks in advance as always!

  • #2
    How does it fail?

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

    Comment


    • #3

      Comment


      • #4
        Ah; change line 105 to
        Code:
        if (r.texmap_reflection!=undefined) then (
        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment


        • #5
          Just a question, without have taken a look at the MAXScript converter...

          Isn't there another bug on line '110' - a forgotten 'n' in 'transparency' - or is the transparency-setting in the origMtl variable working correct?
          --> http://www.tobyatwork.de
          --> http://www.scriptspot.com/blog/toby

          Comment


          • #6
            There is no bug there, the script is correct. The actual parameter name in the Raytrace material is misspelled.

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

            Comment


            • #7
              Ah okay. Thank you for the info.
              --> http://www.tobyatwork.de
              --> http://www.scriptspot.com/blog/toby

              Comment


              • #8
                I am also getting this error.....

                unable to convert :[color 17 17 17 0] to type :float

                tcolor.color=(color (1.0-orig_mtl.refr_color) (1.0-orig_mtl.refr_color) (1.0-orig_mtl.refr_color))


                Any suggestions ?

                Regards,
                Mike
                http://mikebracken.cgsociety.org/gallery/

                Comment


                • #9
                  It should read something like:
                  Code:
                  tcolor.color=(color (1.0-orig_mtl.refr_color.r) (1.0-orig_mtl.refr_color.g) (1.0-orig_mtl.refr_color.b))
                  Best regards,
                  Vlado
                  I only act like I know everything, Rogers.

                  Comment


                  • #10
                    Thanks for the quick response !

                    Regards,
                    Mike
                    http://mikebracken.cgsociety.org/gallery/

                    Comment


                    • #11
                      Script

                      Can some share this working script?
                      Bobby Parker
                      www.bobby-parker.com
                      e-mail: info@bobby-parker.com
                      phone: 2188206812

                      My current hardware setup:
                      • Ryzen 9 5900x CPU
                      • 128gb Vengeance RGB Pro RAM
                      • NVIDIA GeForce RTX 4090 X2
                      • ​Windows 11 Pro

                      Comment

                      Working...
                      X