Announcement

Collapse
No announcement yet.

Vray Scene Converter

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

  • Vray Scene Converter

    This has bugged me for a while, but I kept forgetting to bring it up here:

    When using the "Vray Scene Convertor" the resulting materials have their Diffuse, Bump, Displace & Opacity maps turned off, but only if the slots weren't occupied & "on". It also turns "Trace Reflections" off.

    Is this by design & if so, why?

    Cheers,
    Olly
    Set V-Ray class properties en masse with the VMC script
    Follow me for script updates: @ollyspolys

  • #2
    as far as the "view texture in viewport" being checked or unchecked, the only thing I can think is the max bug with changing the map while that is checked. Unchecking them all first, avoids this problem.
    Colin Senner

    Comment


    • #3
      Sorry if I wasn't clear: I wasn't talking about the "show map in viewport" feature. I'm referring to the tick boxes that enable/disable maps being applied to a material...

      Cheers,
      Olly
      Set V-Ray class properties en masse with the VMC script
      Follow me for script updates: @ollyspolys

      Comment


      • #4
        The unticking of the trace reflection tick box is to simulate the fake highlights of the standard max materials which dont need reflections to be used. With vray its all based of glossy reflections. So to mimic the max material reflections need to be disabled but still have the glossy highlight part visible.

        As for the disabled materials part.. that is odd. Cant say I have had that happen to me.

        Comment


        • #5
          Really? Can you repeat this behaviour on your setup? Just create a standard mat & run the scene converter, then check the resulting Vray mat's map slots...

          It's been happening from me since I started using 1.47.03 and above.

          Cheers,
          Olly
          Set V-Ray class properties en masse with the VMC script
          Follow me for script updates: @ollyspolys

          Comment


          • #6
            Its just the way vray interprets the standard max materials glossyness spinner. As by default max has a rather glossy material.. set to 10. So vray converts that. If you set the glossy spinner to 100 then vray interprets that as closer to 1.0 glossy.. 0.9 infact.
            And its just unticking the reflections to try match the glossy of the max material which as i mentioned isnt reflection based as its a fake.

            So it is a feature of the converter.. maybe an annoying one but a feature none the less

            Comment


            • #7
              Sorry DaForce, I meant can you repeat the behaviour of the Diffuse, Bump, Displace & Opacity map slots being unticked? You said you hadn't had it happen to you...

              I appreciate that the unticking of "Trace reflections" is by design now...

              Cheers,
              Olly
              Set V-Ray class properties en masse with the VMC script
              Follow me for script updates: @ollyspolys

              Comment


              • #8
                ahhhh right.. got ya.

                testing now.

                Comment


                • #9
                  How'd you get on DaForce?
                  Set V-Ray class properties en masse with the VMC script
                  Follow me for script updates: @ollyspolys

                  Comment


                  • #10
                    ah yeah.. sorry.. got a little side tracked

                    For me as long as there is a map in the slot it wont untick it.
                    However if there is no map in the slot it will untick diffuse, bump, displace and opacity only. Which is a little weird.

                    So yes your right. Odd how the converter does that.

                    Comment


                    • #11
                      pretty easy to edit the script to make it do what you want it to.
                      Eric Boer
                      Dev

                      Comment


                      • #12
                        I didn't realise the converter was a user accessible script; I just assumed it was hard-coded into Vray.

                        I've looked at the script and it's written to set the status of the map as it was on the original material. The unwanted behaviour is occurring because the native Standard & Raytrace mats have their map slots off until you assign a map, where Vraymtl's have them on.

                        It just needs a check added to fix this; I'll have a look at it and post the modified script when it's done...
                        Set V-Ray class properties en masse with the VMC script
                        Follow me for script updates: @ollyspolys

                        Comment


                        • #13
                          A modified version of the script can be found here:

                          Put the file in <your max folder>/scripts/startup/ making sure to backup the original. File is unsupported, so use at your own risk!

                          I've added a check so that if a map slot is undefined it leaves the corresponding vraymtl slot alone, and if it is defined it matches the status as before...

                          Let me know if there are any problems.

                          Cheers,
                          Olly
                          Last edited by olly; 22-10-2009, 01:18 AM. Reason: Removed dead link
                          Set V-Ray class properties en masse with the VMC script
                          Follow me for script updates: @ollyspolys

                          Comment

                          Working...
                          X