




Will arrive for the final, integrated version.). The default is 512px, which is mostly fine.įor those wanting bigger samples (to be clear, those are the images shown when the samples are double-clicked and open in a new window), the option is there.īe mindful of higher resolutions: the 2048 one will take 16 times the default one to render.īecause the script can scan folder trees, using the preview quality and the small resolutions will allow for a very quick pre-pass to create matlibs from any number of max files, as quickly as possible.Īs a second stage, the ones worthy of being kept can be rendered at higher quality and resolution.īelow the render options, there are choices for copying the textures to the asset folder in the library, and to convert to. The defaults can be overridden for both resolution and quality (more on this further down.): from 64 to 4096px can be rendered in final or preview quality. The script has two main modes of operation:Ī1) Select (or -recursively- scan for) a material library, then process it as per the chosen options: copy and repath the textures to the assets' folder in the library, render the previews, and copy/refresh the material library file in the V-Ray Library folder.Ī2) Select (or -recursively- scan for) a Max file, then process it as per the chosen options: copy and repath the textures to the assets' folder in the library, render the previews, and create/refresh a material library file in the V-Ray Library folder.īoth buttons can be used, and the script will process the. This may or may not change in the future. So, for now, no custom locations for new material libraries, nor the chance to choose custom location for the assets. Should it not find it, it will warn and close. The script expects the Swatch max file to live inside the correct assets folder in the v-ray install. Should this not be the case, the script will warn and close. The script will try to detect the material library installation folder.Ĭurrently, the script expects this library to exist and be valid. *)The script can instead be opened and run from the maxscript editor, or from the maxscript/scripting menu. Code: C:\Program Files\Chaos Group\V-Ray\3ds Max 2021\assets\You may need elevated privileges to write in there.
