Hi,
with the new plugin instalation method I’m a bit confused what to do when I want server instalation. This V-Ray for 3ds Max is obsolote and according to this Help the only thing I need to set is this env variable ADSK_APPLICATION_PLUGINS pointing to the VRay3dsMax2022 folder? So no need to set VRAY5_FOR_3DSMAX2021_MAIN,VRAY5_FOR_3DSMAX2021_PLUGINS,etc anymore?
Thanks
I did manage to get it work, but with some issues.
1) where is mdl folder, do I need it?
2) I’m getting errors in library description for vray_dr1.dll,vray_gpu_common.dll,vray_http_client.dll,vray_intel_utils.dll,vray_opticx_denoiser.dll and vray_telemetry.dll which are not present in PackageContents.xml why?
3) no icons for vray toolbar
Hi,
You still have to configure the variables: VRAY5_FOR_3DSMAX2022_MAIN, VRAY5_FOR_3DSMAX2022_PLUGINS. Additionally the VRAY_MDL_PATH_3DSMAX2022, VRAY_OSL_PATH_3DSMAX2022 may have to be set according to the new location. They are needed by V-Ray internally, 3ds Max doesn’t use them at all.
1) The MDL directory contains V-Ray shipped MDL examples. It’s considered auxiliary, so it’s location is still in the “Program Files/Chaos Group/V-Ray/…” directory (by default), but if you expect scenes with the samples it should be deployed too.
2) These are loaded internally by V-Ray (that’s why VRAY5_FOR_3DSMAX2022_MAIN is needed), but not by 3ds Max directly. Here may be the best would be to refer to the shipped PackageContents.xml. Actually is there a reason not to use it as it is?
3) The icons should be in a “resources” directory relatively found in the package root as the “plugins” directory too, the resource loading relies on this layout.
Best regards,
Alexander
1) I have vray variebles set correctly and I’m still getting errors noted in 2).
2) I’m using shipped PackageContents.xml.
3) there are two .rcc files in resources folder (xml file pointing to them) but no icons apperss in max toolbar
Can you give me a screenshot of the first error that appears?
enviroments for Vray are:
VRAY5_FOR_3DSMAX2022_MAIN: [‘r:\repo\max_2022\vray\bin\’]
VRAY5_FOR_3DSMAX2022_PLUGINS: [‘r:\repo\max_2022\vray\plugins\’]
VRAY_OSL_PATH_3DSMAX2022: [‘r:\repo\max_2022\vray\opensl\’]
VRAY_MDL_PATH_3DSMAX2022: [‘r:\repo\max_2022\vray\mdl\’]
adsk repository is:
ADSK_APPLICATION_PLUGINS: [‘r:\repo\max_2022\’]
PackageContents.xml is default
Vray loads correctly and even finish rendering but it shows thiss error after render is done (see attachment)

These files are not present in plugins folder, they are in bin. So thats maybe the problem.
Ah it should be: VRAY5_FOR_3DSMAX2022_PLUGINS: [‘r:\repo\max_2022\vray\**bin\**plugins\’] It’s confusing but “r:\repo\max_2022\vray\plugins” is the directory with V-Ray’s 3ds Max plugins and “r:\repo\max_2022\vray\bin\plugins” is the directory that has the V-Ray GPU/Standalone plugins.
I assumed wrongly that the error is produced by 3ds Max itself…
I’ll check about the icons in a bit, as they loaded successfully with my initial test.
Best regards,
Alexander
Aaah i Got it. So it was my fault after all. ![]()
Yup the loading relies on the standard directories. There is a workaround renaming the “resources” directory to “UI_ln” should do the trick. Still I think we can fix it properly, will make a note on it.
Best regards,
Alexander
And where to change it? Itried folder name and also in PackageContents.xml and it doesnt work.
Aaaaaah its not UI_In but UI_ln
crazy…
Yup, hopefully this will be temporary.
Best regards,
Alexander
So conclusion is that “dark icon paths parts” and “light icon paths parts” components doesnt work right in package controll?
I am not sure they may be working, but currently yes we are bypassing them and load the resource directly.
Best regards,
Alexander
