Is there a way to upgrade materials which were created by older versions of VRay? Now that Mental Ray is not supported, when opening files which contain older VRay materials, I get pop-up warnings for missing DLL’s, and it’s getting tiring.
The warning I get when opening file is: “FileName: mrmaterialattribs.gup Class: mental ray: material custom attribute”
I manged to narrow down cause of the the error to some materials’ “Mental Ray Connection” section. Although I never used this section, this seems to be the cause of the warnings.
Any ideas, how to get rid of the error message, or upgrade materials so it discards this section?
I did not manage to find out where the other warning comes from. It says: “FileName: mrmaterialattribs.gup Class: mental ray: Displacement Custom Attributes”
I managed to find an object which causes it. I deleted everything from the file but this object, and removed materials. It’s an Editable Poly, so it does not have Dispacement applied.
I also deleted every User Property from the object (it had VRay settings), but the warning still remains.
Any ideas?
Thank you! Your solution works, but I have to target the ini file to an older 3ds max folder, since 2021 does not have the Nvidia plugins folder anymore.
In the meantime I found out, that running the Scene Converter removes the MR features from the materials and objects.
Thanks for the help!
Oh wow glad I found this… that was driving me nuts. Thanks Narmer Visual! The solution was to point “Additional MAX plug-ins NVIDIA=C:\Program Files\Autodesk\3ds Max 2017\PlugIns\NVIDIA\Plugins” to 2020 since 2021 does not have the Nvidia folder.
3ds max 2021 doesn’t have an NVidia folder so you need to point it to the 2020 version.
Go to "C:\Users\<username>\AppData\Local\Autodesk\3dsMax\2021 - 64bit\ENU
find the Plugin.User.Settings
make sure it looks like this:
Additional MAX plug-ins=C:\Program Files\Autodesk\3ds Max 2021\PlugIns\
Additional MAX plug-ins NVIDIA=C:\Program Files\Autodesk\3ds Max 2020\PlugIns\NVIDIA\Plugins\
Eheh, this is clever. ^^
But may i ask what is wrong with using the AD recommended approach?
Doesn’t the scene converter take care of the -proper and automatic- cleaning of the extra mR attributes?
Or was there a reason to drag them along more max versions?
I think they need to have a global ignore all mental ray connection toggle. There’s just too much stuff in libraries and other plugins that has mentalray embedded. Spent half of my day clicking that error box
Well, this trick is not working on every scenario. It works when opening a scene, but the pop up still appear when using xref.
That’s very annoying for sure.