Announcement

Collapse
No announcement yet.

PhysicalMaterial to VRaymtl ?

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

  • PhysicalMaterial to VRaymtl ?

    Hi everyone

    With the current update for 3ds Max 2021 importing FBX file will assign a PhysicalMaterial instead of Standard mtl which was the the old behavior .
    The problem with that is VRay converter doesn't currently convert these materials to Vraymtl which I need because :

    1-They are not comptable with Vray gpu
    2- Slow to render with VRay CPU
    3- When possible, I prefer to stay away from anything related to Autodesk when it comes to shading and rendering.

    Lele did wrote a script to do the opposite (Thank you! ) Here but I think an official converter would be necessary with the current situation.

    Thank you !

    Last edited by M.Max; 19-04-2020, 10:38 AM.
    -------------------------------------------------------------
    Simply, I love to put pixels together! Sounds easy right : ))
    Sketchbook-1 /Sketchbook-2 / Behance / Facebook

  • #2
    Any comment on this,please ?
    Unfortunately .I've tried few free and paid scripts and none could solve this .
    -------------------------------------------------------------
    Simply, I love to put pixels together! Sounds easy right : ))
    Sketchbook-1 /Sketchbook-2 / Behance / Facebook

    Comment


    • #3
      Isn't physical material directly supported?
      Lele
      Trouble Stirrer in RnD @ Chaos
      ----------------------
      emanuele.lecchi@chaos.com

      Disclaimer:
      The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

      Comment


      • #4
        Originally posted by ^Lele^ View Post
        Isn't physical material directly supported?
        it is supported, but as I've mentioned above it is way slower to render ( like 8 times slower in some cases ) and show totally black in GPU .

        Every sketchup, revit, fbx, obj ..etc models will import with physical material now in Max 2021 : )) .
        -------------------------------------------------------------
        Simply, I love to put pixels together! Sounds easy right : ))
        Sketchbook-1 /Sketchbook-2 / Behance / Facebook

        Comment


        • #5
          I haven't seen the slowdown with CPU, do you have a scene to share?
          It's internally translated to a V-Ray material, so if it's slower it's likely a bug.
          Lele
          Trouble Stirrer in RnD @ Chaos
          ----------------------
          emanuele.lecchi@chaos.com

          Disclaimer:
          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

          Comment


          • #6
            Originally posted by ^Lele^ View Post
            I haven't seen the slowdown with CPU, do you have a scene to share?
            It's internally translated to a V-Ray material, so if it's slower it's likely a bug.
            It's probably a bug then .

            but it can easily replicated with a teapot
            default physical material vs default VRay material ( increase reflection to full in order to match) and the render went from 17 sec to 1 m 34 sec and with weird artifices
            attached a simple scene for that .

            I have a scene that show a very different result comparing to VRaymtl with artifices and the render time going up. it is for a client so I will zip it and send it to your email ( Max 2018 if that's okay)

            Thank you!
            Attached Files
            -------------------------------------------------------------
            Simply, I love to put pixels together! Sounds easy right : ))
            Sketchbook-1 /Sketchbook-2 / Behance / Facebook

            Comment


            • #7
              I cannot get to the attachment, somehow.
              Could you kindly mail it to me?

              EDIT:while waiting, i tested again, and the most i see is a 10% speed difference, under controlled conditions.
              The physical material doesn't have glossy fresnel, f.e., which is enabled by default in the V-RayMtl, and there are a slew of little differences (read: the physical material is less featured) which could contribute to the rendertime differences you are experiencing.
              Last edited by ^Lele^; 29-04-2020, 06:48 AM.
              Lele
              Trouble Stirrer in RnD @ Chaos
              ----------------------
              emanuele.lecchi@chaos.com

              Disclaimer:
              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

              Comment


              • #8
                That's strange as I can't download the attachment either .

                Here is the Max file
                https://www.dropbox.com/s/ild73yyf39...issue.rar?dl=0

                I usually take the imported materials just as as starting point ( Mainly the textures and colors ) and refine it later for better look so a simple conversion would be enough for me even if it doesn't match 1 to 1 at the moment.

                Thanks for looking into this !
                -------------------------------------------------------------
                Simply, I love to put pixels together! Sounds easy right : ))
                Sketchbook-1 /Sketchbook-2 / Behance / Facebook

                Comment


                • #9
                  Yeah, it's down to number of reflective bounces, and glossy fresnel.
                  You'll notice the physmat "hangs" where the teapot edges inter-reflect.
                  The VRayMtl, between a set bounce level of 5, and glossy fresnel which may contribute to dimming (your setup has perfect white, perfectly sharp reflections, that doesn't help with extinction under sunlight), and hence speed up.
                  Deactivate glossy fresnel, set the global bounces to, say 5, and render again: you'll see the difference is all but gone.
                  EDIT: because the teapot isn't shelled, also turn on "reflect on back side" for the vrayMtl. Minor, but contributing.
                  This should show you why conversion is always going to be troublesome, be it internally done like it is now, or through scripting. When feature sets do not match, and some things are local, while others global, and other still are hardcoded, it becomes an insoluble problem. Looks, when not rendertimes, will always end up differring, sometimes by a lot (think of the development the VRayMtl has gone through, in the time the max Physmat has stood still.)
                  Last edited by ^Lele^; 29-04-2020, 08:40 AM.
                  Lele
                  Trouble Stirrer in RnD @ Chaos
                  ----------------------
                  emanuele.lecchi@chaos.com

                  Disclaimer:
                  The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                  Comment


                  • #10
                    Thank you ! I remember switching off glossy frensal in my tests but beside the look I couldn't see any difference in render time.
                    .Anyway I will test what you have mentioned with the other scene ( which have a bit more complicated shader) to see if that will help .

                    But still the main issue is that, I don't want to build my scene using other materials than the built in if possible.. you start with removing glossy drensal and 10% speed then reducing the bounces then you find another little feature/setup that doesn't work as intended and you find yourself trying to fight with the settings and changing the whole workflow to get what you want while you could just use the Vraymtl and do the job properly .
                    it is great that VRay support this shader but if it will bring trouble to use I would prefer to avoid it .
                    I hope you see my point with this and thanks again for checking the file! .
                    -------------------------------------------------------------
                    Simply, I love to put pixels together! Sounds easy right : ))
                    Sketchbook-1 /Sketchbook-2 / Behance / Facebook

                    Comment


                    • #11
                      We will be adding a converter from the Physical Material, hopefully soon enough.

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

                      Comment


                      • #12
                        Off i scamper writing... ^^
                        Lele
                        Trouble Stirrer in RnD @ Chaos
                        ----------------------
                        emanuele.lecchi@chaos.com

                        Disclaimer:
                        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                        Comment


                        • #13
                          That's great !!
                          Thank you 3000 ! =D
                          -------------------------------------------------------------
                          Simply, I love to put pixels together! Sounds easy right : ))
                          Sketchbook-1 /Sketchbook-2 / Behance / Facebook

                          Comment


                          • #14
                            Originally posted by vlado View Post
                            We will be adding a converter from the Physical Material, hopefully soon enough.

                            Best regards,
                            Vlado
                            Awesome!
                            can we have it bidirectional please?
                            Last edited by Morne; 30-04-2020, 12:16 AM.
                            Kind Regards,
                            Morne

                            Comment


                            • #15
                              Originally posted by Morne View Post

                              Awesome!
                              can we have it bidirectional please?
                              https://forums.chaosgroup.com/forum/...mat-conversion
                              Lele
                              Trouble Stirrer in RnD @ Chaos
                              ----------------------
                              emanuele.lecchi@chaos.com

                              Disclaimer:
                              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                              Comment

                              Working...
                              X