Hi,
when i reset my materialeditor, i get an error - is this a vray problem?
I use Max 2011 x64 on Windows 7 with Vray SP5. On Max 2010 x64 i get no error!
I have the same problem.
The problem is that max can’t find a default .mat file (presumably) to use. The line that declares where it is is this one.
MeditUtilities.getDefaultLibraryFile()
I just tried running it on my max2010 64bit that works fine when resetting material editor slots and it was undefined. (didn’t do anything).
So I’m not sure. Check your folders for some default.mat files etc, try and create one with 24 materials in it and save it in the vray directory (in 3dmax root/plugins/stdscripts/) etc.
But the question is: Is it a max or a vray problem?
In Max 2010 it work fine, yes!
I think it only happens if you have chosen the MAX.vray preset for 3ds Max (from the Custom UI and Defaults Switcher menu). Apparently something changed there for 3ds Max 2011.
Best regards,
Vlado
is there a fix or workaround coming shortly?
We are looking into it…
Best regards,
Vlado
fix:
Start 3dsmax
run following script (default .max copied with this default UI is corrupt i think..):
a = materialLibrary ()
for m in meditMaterials do append a m
saveTempMaterialLibrary a “C:/Program Files/Autodesk/3ds Max Design 2011/Defaults/MAX.vray/FactoryDefaults/medit.mat”
Yep, that will work also. We have updated the .mat file for future V-Ray versions too.
Best regards,
Vlado