VRayColor Map diffrence in Max 2021 and 2022

Hi!

Please look at the image attached.

Left side: Max 2021.3
Right Side: Max 2022.3

Both on VRay 5.2.2


Click to enlarge.

What can be the diffrence?
I think max 2022 is correct.

Color value in color picker is R255 , G106 , B57 on both.

In max 2021 I have to type in gamma 4,4 to get the right color but that seems unlikely to me. Anyone knows what can I do to fix 2021?

Thanks for any help.

Hello again. Can please anyone have a look into this issue? Or check and confirm / not confirm? Even if I check “FileInGamma” “FileOutGamma” via scriplister it tells me the same values of 2.2 for max 2021 and 2022. So, what can be the diffrence? Is some INI setting wrong? Where do I need to look? Is it a bug?

Hi I tested what you are describing but was not able to reproduce this issue.

I will see if I can find out something and get back to you.

Thanks! It’s really strange. Would be very good if it could be found out whats going on.

Hi could you try to reset your 3ds max to default settings?
You need to delete/rename your ENU folder. It is located here. C:\Users\<username>\AppData\Local\Autodesk\3dsMax\ 20XX - 64bit\ENU. Rename the ENU folder to ENU_old. When 3ds max is launched, a new ENU folder will be created.

Thanks, Vladimir!

Good news is, that does the trick!

Bad news is, erasing the ENU folder purges any customizations of 3dsmax and recreating them is a lot of work.

So, can you please be more precise, which files in ENU belong to VRay, so that I may purge them separately? - That would be awesome!

Hello, just wanted to ask again which Files in ENU are related to VRay? Created by VRay or entries added by VRay or files containing other VRay related data? - Is there something like a list of those files and data? Maybe in the docs?

Hi you can save all your customizations that you have done to 3ds max before resetting and then load them again. This is the easiest and proven method.

Okay. Thanks for that suggestion. Yes it’s the recommended method but it’s also well known, that migrating user customizations by the customization load / save tools, works unreliable. E.g. custom buttons which are connected to external scripts lose this connection and get grayed out. To make them work again you have to recreate them. But thats not a VRay issue.
However, it would be good to have the info which data VRay populates into the ENU folder. New files and changes to existing files. Even better would be if VRay would have a factory reset function for VRay related ENU settings.

It’d be nice if you could pack me the two ENU folders (remove any big file, like the substance temp ones, and so on) so to be able to take a look.
In any event, did removing the ENU folder fix the issue?

Which ENU folders? The newly created 2021 and the old 2021 (the issued) OR the old 2021 (the issued) and the 2022?

Old 2021 and 2022.
Did the issue definitely disappear when you deleted the ENU folder, though?
As if it didn’t, then it’s not useful to check those.

Thanks! I will make a package for you. Yes it solved the issue.

Ok, so restoring the *old* 2021 ENU, then removing and reinstalling V-Ray didn’t help?

I sent you a e-mail with download link to the adress from your forum signature. We cannot use the VRay uninstaller since we don’t use the shipped default installer. For the studio we distribute the VRay installation by a batch operation to all machines.

To follow up, we found the reason for the issue.

The file “MtlBrowser.mpl” in “C:\Users\%username%\AppData\Local\Autodesk\3dsMax \20XX- 64bit\ENU\en-US\defaults\MAX” stores which material libaries are loaded in slate on startup (left side of slate).

If there are material libaries which contain old VRayColor maps, from before the rework of VRayColor, VRayColor operates in an “irregular mode”. So, if you have loaded those old material libaries with old VRayColors, then even newly created VRayColor maps are operating weird, in a wrong way.

I think this is a VRay bug. Is it?

I have emailed you, Lele, a material libary which contains those old VRayColor maps and a little guide, so you can reproduce the issue. Can you confirm?

As soon as you unload all material libaries from slate and close max. Open max and create a VRayColor, it will work regular again, without issues.

The goal of a fix would be, that newly created VRayColors should work issue-free, even when some old VRayColors are sitting in loaded material libaries.

I have finally come to check your latest email, -sorry i was away- but unfortunately it doesn’t repro for me.
There may have been some other issue afoot in the way you manually set up v-ray, as you’re the only ones to have ever had that issue (we have no trace of it anywhere in our bug tracker, the devs had no idea of how it could happen from our side on first analysis.).
We’re still looking into this, however.

I made a small video with repro steps for you. Unfortunately I cannot attach it here, so that everybody can see and understand whats going on, because attachment size of 2.0 MB is too tiny.
This time I did it in max 2022 with a clean and fresh VRay default installation and no arbitrary location install. So you can safely exclude that the issue has something to do with that.
I will upload it and sent you a mail.

That reproed, and has been sent to devs for analysis, thank you!

The issue has been filed as VMAX-11952.

We have an idea of how this may be happening now, thanks so much for the extensive investigative work done.