Announcement

Collapse
No announcement yet.

What does 'Default' do on a VrayBitmap's 'RGB Color Space' dropdown?

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

  • What does 'Default' do on a VrayBitmap's 'RGB Color Space' dropdown?

    When leaving the Auto RGB Primaries option OFF, how does V-ray interpret any VrayBitmaps with their Color Space set to 'Default' ?

    also, the 'Auto RGB primaries' option only does anything if it detects the relevant tags on the end of the filename, correct?

    Thanks
    Last edited by Richard7666; 28-04-2021, 01:13 AM.

  • #2
    VRayBitmap's default RGB primaries option tells V-Ray not to perform color transformations unless a relevant tag is present in the filename and the Auto RGB Primaries option is active.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Hi,
      whats the propper filename tags when using aces. Should be just _acescg or _raw right? Bu I'm always getting color space transfer function utomaticly set to "from max" and rgb color space "defaul"
      Thanks

      Comment


      • #4
        Just for clarification. If I use the _srgb extension the value Color space transfer function is set to none. The RGB color space remains on Default. Doesn't this value have to be sRGB primaries for sRGB textures and Raw for data maps such as normal, height eg.?

        _srgb > Color space transfer function = sRGB and RGB color space = sRGB primaries

        _lin_srgb > Color space transfer function = none and RGB color space = Raw

        Comment


        • #5
          For working with ACES system, If you decide NOT TO USE NAMING (this is what I do personally)

          -for 8-bit color maps(diffuse/translucency/textured lights) set Color space transfer function to sRGB (this is called linearizing the image) , then set RGB Primaries to sRGB*
          -for HDRIs or linear exr files used for diffuse/translucency/textured lights set Color space transfer function to None or Inverse gamma of 1 (these maps are linear already), then set RGB Primaries to sRGB*

          -for maps used for bump/normal/displacement/roughness (any greyscale/achromatic maps, meaning they don't have any saturation) set Color space transfer function to none and RGB Primaries to RAW**

          If you decide to USE NAMING (usually for studios or automation) Auto RGB primaries for VRayBitmap textures, needs to be checked in color management settings

          -for 8-bit color maps(diffuse/translucency/textured lights) use _sRGB (bitmap settings at defaults)

          -for HDRIs or linear exr files used for diffuse/translucency/textured lights use _Lin_sRGB (bitmap settings at defaults)

          -for maps used for bump/normal/displacement/roughness use _RAW


          *You are basically telling Vray this bitmap is in Linear sRGB color space and needs a transformation to ACEScg color space
          **RAW means no conversion and if you set RGB Primaries for a greyscale map to sRGB it will look exactly the same after the conversion, hence RAW is recommended, basically a transformation here has no effect on how the image looks

          I hope it is clear now, frodopytlicek arcmos Let me know if you have questions
          Last edited by Muhammed_Hamed; 05-10-2021, 09:53 AM.
          Muhammed Hamed
          V-Ray GPU product specialist


          chaos.com

          Comment


          • #6
            NOT TO USE NAMING (this is what I do personally)
            I don't use naming (yet).

            I also do it manually and change the value for Color space transfer function AND RGB Primaries. Do you have to change the RGB Primaries value at all to get a correct result? I ask because the name extension _srgb, _lin_srgb and _raw do not change the RGB Primaries value at all.

            Comment


            • #7
              By the way, I believe 3DZver's script "V-RayMtl Converter" has a tool within it to set the primaries automatically, depending on what node the VRayBitmap is plugged into. 3DZver might give us confirmation about this?
              http://www.glass-canvas.co.uk

              Comment


              • #8
                Originally posted by arcmos View Post
                Do you have to change the RGB Primaries value at all to get a correct result?
                If you are using ACES system, yes!

                Originally posted by arcmos View Post
                I ask because the name extension _srgb, _lin_srgb and _raw do not change the RGB Primaries value at all.
                Only if you are dealing with a greyscale map, but if it has any saturation you will see a difference
                _RAW doesn't do any conversion
                _sRGB will have an effect 100% , the bitmap will look less saturated (I have to use wrong terminology here to get my point through, what happens actually is a conversion for Linear sRGB color space to Linear ACEScg color space
                _Lin_sRGB will have an effect in the same way (only difference is that the bitmap is already linearized)

                If this still confusing just do this,

                -for 8-bit color maps(diffuse/translucency/textured lights) set Color space transfer function to sRGB (this is called linearizing the image) , then set RGB Primaries to sRGB*
                -for HDRIs or linear exr files used for diffuse/translucency/textured lights set Color space transfer function to None or Inverse gamma of 1 (these maps are linear already), then set RGB Primaries to sRGB*

                -for maps used for bump/normal/displacement/roughness (any greyscale/achromatic maps, meaning they don't have any saturation) set Color space transfer function to none and RGB Primaries to RAW**


                Best,
                Muhammed


                Muhammed Hamed
                V-Ray GPU product specialist


                chaos.com

                Comment


                • #9
                  Now we have the "Auto" option in VRayBitmap's "Color space transfer function", I am interested to know if there are any practical reasons to use any other value here.

                  I know some people like to specify the gamma of sky domes, but I consider that an edge case for handling HDRIs with low dynamic range.

                  Are there any other reasons to change this from "Auto"?
                  Set V-Ray class properties en masse with the VMC script
                  Follow me for script updates: @ollyspolys

                  Comment


                  • #10
                    Originally posted by olly View Post
                    Are there any other reasons to change this from "Auto"?
                    No, you could always keep it on Auto
                    Then with ACES workflow, RGB Primaries is used to specify the right conversion

                    Best,
                    Muhammed
                    Muhammed Hamed
                    V-Ray GPU product specialist


                    chaos.com

                    Comment


                    • #11
                      That is what I suspected - thank you Muhammed_Hamed

                      Maybe there is some scope for UI optimisation here?
                      Set V-Ray class properties en masse with the VMC script
                      Follow me for script updates: @ollyspolys

                      Comment


                      • #12
                        Originally posted by olly View Post
                        Maybe there is some scope for UI optimisation here?
                        Probably yes, the issue is that 3Ds Max has no color management. So we needed to break up an Input Device Transform into 2 components, Gamma/transfer function and Primaries/Gamut
                        In Maya, V-Ray adapts to Maya's native color management so you have a drop down menu for all IDTs(like the OCIO texture)
                        If 3Ds Max gets proper color management it will make this easier on everyone

                        Best,
                        Muhammed
                        Muhammed Hamed
                        V-Ray GPU product specialist


                        chaos.com

                        Comment


                        • #13
                          in 3ds max for non-hdri maps describing color the proper Color space transfer function is Inverse gamma 0.455 or From max 3ds max (if max is on defaults). not sRGB.

                          edit: aces or no aces.
                          Marcin Piotrowski
                          youtube

                          Comment


                          • #14
                            Originally posted by piotrus3333 View Post
                            in 3ds max for non-hdri maps describing color the proper Color space transfer function is Inverse gamma 0.455 or From max 3ds max (if max is on defaults). not sRGB.

                            edit: aces or no aces.
                            That depends on the encoding of the incoming map, i'd wager.
                            If it was saved with a gamma 2.2, then it is intended to be used with the inverse of that, or a power curve at 0.4545 exponent.
                            If it was encoded as sRGB, then one needs the sRGB inverse matrix to represent it correctly.

                            Lele
                            Trouble Stirrer in RnD @ Chaos
                            ----------------------
                            emanuele.lecchi@chaos.com

                            Disclaimer:
                            The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                            Comment


                            • #15
                              what is Substance Painter outputting by default? (not a user but I guess it is the standard today)
                              Marcin Piotrowski
                              youtube

                              Comment

                              Working...
                              X