selos69 Posted February 1, 2009 Share Posted February 1, 2009 Hi Guys, Does anyone know of a script that has material script with a UVW and VrayDisplacement (modifier) preset that applies automatically. I know of a couple that do similar things minus the displace modifier however, none seem to work on 64bit damn it!! If there are no existing ones, does anybody know how much roughly it would cost to get someone to write it for me? Thanks. Chris Link to comment Share on other sites More sharing options...
quizzy Posted February 1, 2009 Share Posted February 1, 2009 If I knew Vray, I could prolly write one in a few minutes. You can write one in maybe 30 minutes. Maxscript is not really hard to learn. You could start out by enabling your maxscript listener, then open the listener by pressing F11. After this do whatever you want to do, and you will see the steps you make in the listener, select the bunch and drag/drop it to a toolbar. BTW, maxscript is not 32/64 bit dependant. If it works in max32bit then it will work with max64bit. Plugins on the other hand need to be recompiled against their proper bit-age. Link to comment Share on other sites More sharing options...
selos69 Posted February 1, 2009 Author Share Posted February 1, 2009 Thanks mate - new to scripting. 30 mins huh? I can guarantee you it will take me all day, a few coffees and quite a few lost hairs! Unrelated, I've downloaded your attach by material script and placed it in relevant folders but I cant seem to find it in the CUI list? Link to comment Share on other sites More sharing options...
quizzy Posted February 1, 2009 Share Posted February 1, 2009 thats because its a utility script, you can run it in the utility panel. So in the utility panel go to maxscript, run script, choose file to run, check te pulldown menu and click on the attach by material option. I should prolly make most of my scripts into macroscripts, but thats for when I have some free time... Link to comment Share on other sites More sharing options...
anton Posted February 2, 2009 Share Posted February 2, 2009 Could you explain in more detail what you need? If I understand it right, you need a one click solution to apply to an object a custom vray material with a corresponding uvwmap and a vray displacement modifier? Link to comment Share on other sites More sharing options...
selos69 Posted February 2, 2009 Author Share Posted February 2, 2009 Could you explain in more detail what you need? If I understand it right, you need a one click solution to apply to an object a custom vray material with a corresponding uvwmap and a vray displacement modifier? Spot on. Ideally it would have an option to be able to also modify the uvw map coordinates and displacement settings in the script itself. Link to comment Share on other sites More sharing options...
Trick Posted February 2, 2009 Share Posted February 2, 2009 It also needs to be able to fetch the material/modifiers from an object (or more objects at once) and to do this to multisubobject materials, and the possibility to make a library/list that can be docked to a sidebar, where all these material/modifier combinations reside, and a way to update the scene by looking at all objects that carry materials with the same name (either by whole or multisubobject material) Link to comment Share on other sites More sharing options...
anton Posted February 3, 2009 Share Posted February 3, 2009 It also needs to be able to fetch the material/modifiers from an object (or more objects at once) and to do this to multisubobject materials, and the possibility to make a library/list that can be docked to a sidebar, where all these material/modifier combinations reside, and a way to update the scene by looking at all objects that carry materials with the same name (either by whole or multisubobject material) I wish I could have the time to fully make this script as I know everybody would use it but for now here is a quick mix of both your requests: http://downloads.75ive.com/75iveTools_MatsAndMods.zip Download, unzip and copy in your UI/MacroScripts folder. Start max, go to Customize / Customize User Interface and you should find a 75ive Tools category with the Mats and Mods script. To use it, just create on object and set the material and the modifiers you need. You can have any modifiers not only the UVW Map and Vray Displacement and any number of them. Run the script and choose Select Source Object to select your object. After that you can select any number of objects in your scene and it will apply the material of the source object and make instances of all the modifiers found on it. That way if you further need to tweak your modifiers you can modify any of the objects. Let me know if you have any issues with it. Link to comment Share on other sites More sharing options...
selos69 Posted February 4, 2009 Author Share Posted February 4, 2009 (edited) Anton, thats so awesome man! Thanks so much! I was going to try to have a play this weekend to make it. Now i might try to figure out how to add preset settings. Thanks again mate! Edited February 4, 2009 by selos69 Link to comment Share on other sites More sharing options...
anton Posted February 4, 2009 Share Posted February 4, 2009 I'm glad that helps! For the preset settings what I would do is have a file in which you setup all your needed materials and just merge it in and use when you need it. There are other ways to do it, like .ini files in which you would just set each parameter apart and read them but that's a lot more scripting and not as easy to configure. Another way i can think of is using custom attributes. If anybody else has a better and simpler idea post it here and we'll see if it's feasible for implementation. Link to comment Share on other sites More sharing options...
Trick Posted February 4, 2009 Share Posted February 4, 2009 Anton, you're simply the best :cool: There is also this (http://www.cgarchitect.com/vb/30091-matmanagerbeta.html) script in the making which would be perfect if it stored Displ.map info. Another question: I saw on your site that you made a library system for Focus360. DesignConnected also has a library/icon system for their custom models. Wouldn't it be possible to make a system with icons (rendered by yourself) carrying te same name as a Max file, so you can drag the icon from the library to your scene, after which the contents of Max file are merged ? Maybe with the possiblity to make subdirectories and small and large icon sizes ? I would gladly pay for such librarysystem, just as I would for a material manager that also carries material related modifiers (UVW, Displace, Polygonmap, etc). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now