Announcement

Collapse
No announcement yet.

VFB OCIO environment variable behavior

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

  • VFB OCIO environment variable behavior

    When using VFB OCIO environment variables [VRAY_VFB_OCIO、OCIO、VRAY_VFB_OCIO_INPUT_COLORSPACE、 VRAY_VFB_OCIO_DISPLAY_DEVICE、VRAY_VFB_OCIO_VIEW_TR ANSFORM], if you change Input Colorspace, Device, Veiw Transform in VFB and save the max file, and then open the max file again, the OCIO settings will be overwritten by the environment variable values.

    Even if the OCIO environment variable is used, the Input Colorspace,Device,Veiw Transform settings are read from the .max file when the OCIO file path is manually set in VFB. (Desired behavior)

    Perhaps if the OCIO file path is empty VFB is reading the Input Colorspace,Device,Veiw Transform settings from the OCIO environment variables.

    Is it possible to change this so that the Input Colorspace, Device, and Veiw Transform parameters are read from the .max file, even if OCIO environment variables are used?

    Chaos should implement the VRAY_VFB_OCIO_FILE environment variable.
    It sets the path to the VFB OCIO File.
    Attached Files
    Last edited by flat; 27-04-2022, 12:00 AM.

    OakCorp Japan - Yuji Yamauchi
    oakcorp.net
    v-ray.jp

  • #2
    Yes, the environment variables should not override what's in the scene. We already have the issue logged (internal bug-tracker id: VMAX-11948 ).

    Chaos should implement the VRAY_VFB_OCIO_FILE environment variable.
    It sets the path to the VFB OCIO File.
    What do you mean by this? A separate OCIO environment variable only for the VFB?
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Thanks for the notice that there is already a LOG. We can look forward to future improvements.

      Originally posted by hermit.crab View Post
      What do you mean by this? A separate OCIO environment variable only for the VFB?
      The problem is that OCIO-related parameters are read from the environment variables when the path to the VFB "OCIO File" is empty (obtained from the OCIO environment variables).

      Therefore, I suggested that VRAY_VFB_OCIO_FILE could be used to prevent the "OCIO File" path from being empty.

      Of course, if Chaos developers can improve the behavior so that OCIO-related parameters are read from the .max file even if the "OCIO File" path is empty, this would be no problem.


      OakCorp Japan - Yuji Yamauchi
      oakcorp.net
      v-ray.jp

      Comment

      Working...
      X