To try and shorten the time to this feature, and to collect some feedback, i'm sharing the scripted plugin below.
*) What it does: It extends the normal vrayMultiSubTex adding a rollout with controls that allow mass-loading of texture maps.
The buttons allow for the picking of a folder to recursively search into (for all valid image formats), or of files that can be multiple-picked.
The images are loaded alphabetically, into vrayBitmap loaders.
It is recommended to prefix image files accordingly to ensure they are loaded with the progressive IDs desired (f.e. 001_myTexture.tx, 002_myNewTexture.tx, and so on), without the need for later reordering.
It will take care of matching the number of IDs to the number of loaded files.
*) How to install it: The zip file is named eMST_001.zip. The script needs to sit in the max startup script folder: f.e. "C:\Program Files\Autodesk\3ds Max 2022\scripts".
*) Where to find it: You'll find it in the *General* section of the texture maps, named "enhancedVrayMultiSubTex" (Because of a limitation in the way texmap plugins work, i cannot have the map show up in the V-Ray category.)
*) What happens if the plugin isn't found: The same as any other missing plugin class: on max file load the missing plugin name is presented in the usual dialog.
So, the script *needs* to be copied over to all the relevant workstations, like any other plugin would have to.
I understand this may limit the usefulness of the approach somewhat, but i haven't yet come up with a better solution.
*) Future Plans: i'm planning on adding also the vraybitmap mass-controls, but that part is still being investigated for possible drawbacks.
*) Why bother: I could surely do with feedback, in the while, on how this part is working, and what changes would need to happen to make it more useful.
The final product will still be done by the devs and integrated with the original vrayMultiSubTex, but feedback on this will help speed up that process greatly.
EDIT: For those preferring to not use the plugin node, i've made a mass loader which creates the multiSubTex anew each time.
The only difference is that it'll need to put the map in a slot in the material editor.
The user can pick a specific number between 1 and 24, or let the script put the map in the first non-assigned material slot (if there are none free, it'll put the texture in slot 1.)
I have updated the script (not the map plugin) to optionally add a shared UVW randomizer to the loaded maps.
The zip file is named MST_ML_002.zip, the script needs to just be run.
*) What it does: It extends the normal vrayMultiSubTex adding a rollout with controls that allow mass-loading of texture maps.
The buttons allow for the picking of a folder to recursively search into (for all valid image formats), or of files that can be multiple-picked.
The images are loaded alphabetically, into vrayBitmap loaders.
It is recommended to prefix image files accordingly to ensure they are loaded with the progressive IDs desired (f.e. 001_myTexture.tx, 002_myNewTexture.tx, and so on), without the need for later reordering.
It will take care of matching the number of IDs to the number of loaded files.
*) How to install it: The zip file is named eMST_001.zip. The script needs to sit in the max startup script folder: f.e. "C:\Program Files\Autodesk\3ds Max 2022\scripts".
*) Where to find it: You'll find it in the *General* section of the texture maps, named "enhancedVrayMultiSubTex" (Because of a limitation in the way texmap plugins work, i cannot have the map show up in the V-Ray category.)
*) What happens if the plugin isn't found: The same as any other missing plugin class: on max file load the missing plugin name is presented in the usual dialog.
So, the script *needs* to be copied over to all the relevant workstations, like any other plugin would have to.
I understand this may limit the usefulness of the approach somewhat, but i haven't yet come up with a better solution.
*) Future Plans: i'm planning on adding also the vraybitmap mass-controls, but that part is still being investigated for possible drawbacks.
*) Why bother: I could surely do with feedback, in the while, on how this part is working, and what changes would need to happen to make it more useful.
The final product will still be done by the devs and integrated with the original vrayMultiSubTex, but feedback on this will help speed up that process greatly.
EDIT: For those preferring to not use the plugin node, i've made a mass loader which creates the multiSubTex anew each time.
The only difference is that it'll need to put the map in a slot in the material editor.
The user can pick a specific number between 1 and 24, or let the script put the map in the first non-assigned material slot (if there are none free, it'll put the texture in slot 1.)
I have updated the script (not the map plugin) to optionally add a shared UVW randomizer to the loaded maps.
The zip file is named MST_ML_002.zip, the script needs to just be run.
Comment