Drag and drop texture to specific VrayMtl slot?

I would love to see or get info where i can get a script, which allows you to put a texture with drag and drop method (from windows (from acdsee image explorer for example) to a specific vraymtl slot.
The drag and drop method in max works, but it works in a way where it always crates a standard material and place the selected texture to diffuse slot, i need the drag and drop method to maintain the vraymtl on the object and all textures in different slots and just puts (or replaces) texture in the vraymtl slot you want (diffuse, bump, specular etc.).
Could someone make it? Or does someone have it already? For example with some basic UI which allows you to switch between slots in which the drag and drop method will work?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
roamn's picture

Thanks

Hi and big thanks to you for the script, bud im not sure if it does really what i wanted. I thought that you have several geometry in scene (sphere, box, tube for example). If yu drag a bitmap texture from somewhere on your harddrive to the object, it creates a standard material with the bitmap texture in the diffuse slot.

I would love to find a script that allows you to simply choose to whatever slot of VRAymaterial it will copy... For example ill choose that all images dragged to max to any object on the scene will be placed in the bump slot of VrayMtl (instead of diffuse slot), then ill choose that i want to put all the dragged bitmaps in the specular slots etc.

do you please understand what i mean? Does your script do this please or has there been an mistunderstanding.

barigazy's picture

NO my script don't do that.I

NO my script don't do that.I can make it to do this:
--first i need to add in script code 2 dropdown list.
One will contains material types (standard or vray) and second material slot names (diffuse, specular, bump etc.)
--then select mtl type and slot name
--select a object on the scene
--drop image to the script "DROP HERE" area
--and you will get new mtl in Material Editor and new object (auto-asigned) material.
This is the next "to-do" task for the script

barigazy

roamn's picture

why not :-(?

And why the script cant do that please? It is not reliazable in maxscript or it would take too much work?

barigazy's picture

Would definitely be a little

Would definitely be a little more time to figure out how it could be carried out.
But what is the advantage of this compared to the way that I presented. On my way you have a lot of diferent options, right?

barigazy

roamn's picture

Well the way i wanted it to

Well the way i wanted it to be is more simple (and probably harder to make), it makes the workflow much faster. On one monitor you have the whole scene opened in 3ds max. On the other monitor i have my picture browser opened (ACDSee) and i just drag and drop the textures (diffuse) directly to the scene objects, no material editor needed. Simple as hell :-). And i would like to have some UI that allows me to switch between slots of (vray)mtl directly already aplied on the scene objects. Then ill start dragging and dropping bitmaps to the bump slots etc.

Simply drag and drop the textures (diffuse) directly to the scene objects, no material editor handling needed. Then i would like just to switch in the UI of the script the slot where the new bitmaps will go in. After that ill start simply and quickly dropping the bump maps DIRECTLY again on a huge ammount of scene objects (which now already have the bitmap textures in diffuse slots), again no material editor manipulation needed. Then i would switch in the script UI to the displace slots (for example) and again would start simply and quickly dragging and dropping the displace textures directly on the scene objects and the textures would go straight to the displace slots (leaving the previous slots untouched)...

This would be much more faster, easier and effective, but probably harder to script (if even possible)?

Do you get me? (my english isnt that well)?

Is it possible to do it that way?

barigazy's picture

I know for now only to do

I know for now only to do that on the way that i show. Maybe someone else you can help with this.

barigazy

roamn's picture

Ah ok, nevermind, thank you

Ah ok, nevermind, thank you anyways :-)!

roamn's picture

Thanks for answer. And the

Thanks for answer.
And the thing that i would like to see and which is i think more handy, that it not realizable in maxscript or is it too much complicated (too much work in it) for a free script (and thus you dont have the time to do it)?

barigazy's picture
barigazy's picture

i just finish the

i just finish the script
http://www.scriptspot.com/3ds-max/scripts/mapdroper

barigazy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.