Announcement

Collapse
No announcement yet.

max22 server instalation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • max22 server instalation

    Hi,
    with the new plugin instalation method I'm a bit confused what to do when I want server instalation. This https://docs.chaosgroup.com/display/...trary+Location is obsolote and according to this https://help.autodesk.com/view/MAXDE...g_plugins_html 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_PLU GINS,etc anymore?
    Thanks

  • #2
    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

    Comment


    • #3
      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
      Alexander Kazandzhiev
      V-Ray for 3ds Max developer

      Comment


      • #4
        Originally posted by alexander.kazandzhiev View Post
        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

        Comment


        • #5
          Can you give me a screenshot of the first error that appears?
          Alexander Kazandzhiev
          V-Ray for 3ds Max developer

          Comment


          • #6
            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)
            Attached Files

            Comment


            • #7
              These files are not present in plugins folder, they are in bin. So thats maybe the problem.

              Comment


              • #8
                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
                Alexander Kazandzhiev
                V-Ray for 3ds Max developer

                Comment


                • #9
                  Aaah i Got it. So it was my fault after all.
                  Last edited by frodopytlicek; 21-06-2021, 07:05 AM.

                  Comment


                  • #10
                    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
                    Alexander Kazandzhiev
                    V-Ray for 3ds Max developer

                    Comment


                    • #11
                      And where to change it? Itried folder name and also in PackageContents.xml and it doesnt work.

                      Comment


                      • #12
                        Just the directory name should be "UI_ln". Here is a screenshot of my test setup with a copy of the directory:

                        Click image for larger version

Name:	icons.png
Views:	485
Size:	23.4 KB
ID:	1117354

                        Best regards,
                        Alexander
                        Attached Files
                        Alexander Kazandzhiev
                        V-Ray for 3ds Max developer

                        Comment


                        • #13
                          Aaaaaah its not UI_In but UI_ln crazy...

                          Comment


                          • #14
                            Yup, hopefully this will be temporary.

                            Best regards,
                            Alexander
                            Alexander Kazandzhiev
                            V-Ray for 3ds Max developer

                            Comment


                            • #15
                              So conclusion is that "dark icon paths parts" and "light icon paths parts" components doesnt work right in package controll?

                              Comment

                              Working...
                              X