Announcement

Collapse
No announcement yet.

vray materials by default

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

  • #31
    Thanks!
    I will give it a try, and will give a feedback.

    Best regards,
    nikki Candelero
    .:: FREE Your MINDs, LIVE Your IDEAS ::.

    Comment


    • #32

      It works great so far. Doesn't affect the already existing VRayMtls, as well as the new VRay(other)materials.

      I believe it just looks for a string "VRay" and doesn't touch it, right ?

      Best regards,
      nikki Candelero
      .:: FREE Your MINDs, LIVE Your IDEAS ::.

      Comment


      • #33
        ah, got me secret already!

        Yes, it's been fairly consisten through the versions, so i thought it'd be the safest bet.

        So up to what version does it work? (poke!)

        Lele

        Comment


        • #34
          Aye, that's one of the lines of the above script.
          sorry, i didnt had a look at your script...i will have a look at it now

          Olli
          www.short-cuts.de

          Comment


          • #35
            for that matter can you set it to look for egz as well, i use egz glass alot

            ---------------------------------------------------
            MSN addresses are not for newbies or warez users to contact the pros and bug them with
            stupid questions the forum can answer.

            Comment


            • #36
              Originally posted by Da_elf
              for that matter can you set it to look for egz as well, i use egz glass alot
              Nice reminder, Da_elf !

              Best regards,
              nikki Candelero
              .:: FREE Your MINDs, LIVE Your IDEAS ::.

              Comment


              • #37
                ooooh lol

                Ok, can anyone run this line of script, and let me know what the listener returns?

                Code:
                classof meditMaterials[1]
                After having put an EGZ material in slot one?

                I gather there's a few of them, so repeat the step for each, or change the number between square brackets to reflect the material editor slot number where the egz mat is.

                By now i'm thinking i could sell it for 50cents a copy, lol!

                Lele

                Comment


                • #38
                  @ studioDIM,
                  it is giving back - VrayMtl

                  Don't worry at all, the last version is working perfectly with EGZ materials,
                  as they are based also on VRayMtl.
                  Just checked that, and they (all the 3 types) left untouched by the script.

                  Best regards,
                  nikki Candelero
                  .:: FREE Your MINDs, LIVE Your IDEAS ::.

                  Comment


                  • #39
                    as i thought: they are just encapsulation of a master class (pun intended )

                    That also means i can't sell the script for 50 cents a copy?!?



                    Lele


                    p.s.: i noticed you glazed on the version up to which the script works :P (re-poke!)

                    Comment


                    • #40
                      Herm, i reupdated it.

                      I simply added a spinner to be able to choose into which slot to create the multi-sub material.

                      Would you peeps say it might be expanded with a "dumb" multi-Vray light editor?

                      Ie.: being able to change all the Vraylights subdivs at once and so on?

                      I tried to modify the lightlister to do so but without success, so i was thinking i might just add something simpler and dedicated to this little one...

                      What say you?

                      Lele

                      Comment


                      • #41
                        Is there a 1.5R3 version of the script ? Thanks

                        Edit: The V-Ray scene converter does the job ...

                        Comment


                        • #42
                          Has anyone been able to get this to work with Viz2007 and RC3?
                          I get the following error

                          --Type error:Call needs function or class,got: undefined
                          Bret

                          Comment


                          • #43
                            Originally posted by vlado
                            You can do that yourself by creating a new Defaults scheme for 3dsmax.

                            For example, copy the maxroot\defaults\MAX folder into \maxroot\defaults\MAX.vray folder; then in the material editor, fill all the 24 sample slots with default VRay materials, and save the material editor as \maxroot\defaults\MAX.vray\medit.mat.

                            Optionally, edit the \maxroot\defaults\MAX.vray\CurrentDefaults.ini file to specify VRay as the default renderer by replacing the lines
                            Code:
                            DefaultProdRenderer=1 0
                            DefaultDraftRenderer=1 0
                            DefaultIReshadeRenderer=1 0
                            DefaultMEditRenderer=1 0
                            DefaultMEditRendererLocked=1
                            with
                            Code:
                            DefaultProdRenderer=0x73bab286 0x77f8fd0c
                            DefaultDraftRenderer=0x73bab286 0x77f8fd0c
                            DefaultIReshadeRenderer=1 0
                            DefaultMEditRenderer=0x73bab286 0x77f8fd0c
                            DefaultMEditRendererLocked=1
                            You can also specify that the default shadow type should be VRayShadow by replacing the lines
                            Code:
                            [30 1011 0]
                            castShadows=0
                            useGlobalShadowSettings=0
                            ; Shadow Map
                            ShadowGenerator=0x100 0
                            with
                            Code:
                            [30 1011 0]
                            castShadows=0
                            useGlobalShadowSettings=0
                            ; Shadow Map
                            ; ShadowGenerator=0x100 0
                            ShadowGenerator=0x1daee05f 0x74b2d60f
                            You can also make other changes, as you wish. Then, start 3dsmax and from Customize > Custom UI and Defaults Switcher choose the Max.vray configuration. Restart 3dsmax.

                            Now VRay will be your renderer by default when you start 3dsmax, and the material editor will contain the 24 VRay materials by default. Also, the standard lights will have vray shadows by default when they are created.

                            Best regards,
                            Vlado
                            okay, Vlado, this is frustrating the fool out of me. On my old machine I was able to get this to work like a champ, but on my new machine, I can't seem to get this to work - the material editor part. No matter what I do, I can't get the material editor to come up with 24 vray mats.

                            Same with using Lele's starter script. I get an error on the "renderer.current=cr()" line - not sure what that's about, Lele. If I use the script to switch to default, then back to vray, I don't get the error.

                            Any ideas?

                            TIA,
                            ME
                            Matt English
                            Harper Perkins Architects / base2studios
                            VizDepot.com Moderator
                            AArch2008/VIZ2008/VRay ONE POINT (WHOOHOO) FIVE!!!

                            Comment


                            • #44
                              Which 3ds Max version is that?

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

                              Comment


                              • #45
                                check my sig - VIZ2008
                                Matt English
                                Harper Perkins Architects / base2studios
                                VizDepot.com Moderator
                                AArch2008/VIZ2008/VRay ONE POINT (WHOOHOO) FIVE!!!

                                Comment

                                Working...
                                X