Getting rid of legacy "Mental Ray Connection" features

Hello!

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?

Thanks,
Gábor



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?

You may try the Autodesk troubleshooting guide about the matter here.

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!

Same here. Every scene and every texture. What was your solution?

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.

How do you go about doing this?

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\

problem should go away :slight_smile:

I’ll give it a try, thank you. The people at Autodesk doesn’t have a solution. Basically, it is a user problem???

It’s funny that Autodesk basically couldn’t care less about helping, although the cure is obviously widely available :stuck_out_tongue:

Hmm, what if one uninstalled the previous 3ds Max installations? :frowning:

Yes that’s true. Could you not use the folder that exists on one of our installations…or is that naughty?
If appropriate then I can dropbox it.

That would be super appreciated! And no, I can’t see how that would be naughty as I’m a subscriber.

In that case enjoy Dropbox

Thanks a million! That completely fixed the problem.:slight_smile:

Thank you so much ! this solved the issue

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

You can likely find which function is used, and let it run on a batch of max files at once, but yes, it’d be nice to have a global ignore.

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.