Announcement

Collapse
No announcement yet.

rgb values and LWF

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

  • rgb values and LWF

    hi all

    how do you guys deal with rgb values out of e.g. photoshop to LWF in max?
    I mean the values from 0-255 in max doesn't match the values out of any app, when working in LWF, it would get brighter (gamma corrected). how do I get the right values? is there a workaround or a trick to match the exact values?

    best regards
    themaxxer
    Pixelschmiede GmbH
    www.pixelschmiede.ch

  • #2
    You'd need to apply the inverse gamma correction to the colors (e.g. raise each color component to the power 1/2.2).

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      The vray colour map has a gamma setting so you can copy and paste your photoshop values into the colour swatch then use the gamma spinner to tell vray what gamma to apply - after that it's a case of getting your exposure correct to make sure your colour doesn't burn out.

      Comment


      • #4
        Originally posted by joconnell
        The vray colour map has a gamma setting so you can copy and paste your photoshop values into the colour swatch then use the gamma spinner to tell vray what gamma to apply - after that it's a case of getting your exposure correct to make sure your colour doesn't burn out.
        thanks for answers.

        but the vraycolor doesn't change anything. what gammacorrection do I have to apply? 2.2 or 0.455?

        best regards
        themaxxer
        Pixelschmiede GmbH
        www.pixelschmiede.ch

        Comment


        • #5
          I wrote this little app to do just what your asking:

          http://www.six4one.com/index.php?opt...fileinfo&id=38

          Just feed it the rgb values and it converts them to gamma 2.2.

          Comment


          • #6
            Originally posted by themaxxer
            the vraycolor doesn't change anything. what gammacorrection do I have to apply? 2.2 or 0.455?
            As a direct answer to your question, 2.2. But you will also need the "gamma correction" type set to "specify" and you will have to put the color to the slot again after that has been changed. Usually once I set it, it becomes set for any others I create in my scene thereafter.

            EDIT: Did you know that using these settings will also wash out your grayscale values and procedural maps as well? You will notice the shift most promenantly in gradients, and the only way I have found to fix it is by using the ColorCorrect tool which affects the complete operation of the gradient, rather than just the input colors. If you find yourself having to drastically increase bump values in order for your textures to show up, this is probably exactly what is happening to you.
            Ben Steinert
            pb2ae.com

            Comment


            • #7
              I think what the maxer is saying and my understanding of the vray colour, is that the gamma settings don't actually change the colour values in any way except in how they are displayed. The Gamma settings in vray colour are pretty useless it appears (I hope I'm wrong...), I thought it would apply the gamma but it doesn't appear that it does. It's not really documented either.
              So you still have to do a conversion with colour correct or a gamma colour correction script to get 2.2 adjusted colours :/

              Maybe they can change this or add a map to apply gamma in a future version.. Vlado?
              Richard De Souza

              www.themanoeuvre.com

              Comment


              • #8
                Originally posted by rhino
                I think what the maxer is saying and my understanding of the vray colour, is that the gamma settings don't actually change the colour values in any way except in how they are displayed. The Gamma settings in vray colour are pretty useless it appears (I hope I'm wrong...), I thought it would apply the gamma but it doesn't appear that it does. It's not really documented either.
                So you still have to do a conversion with colour correct or a gamma colour correction script to get 2.2 adjusted colours :/

                Maybe they can change this or add a map to apply gamma in a future version.. Vlado?
                yes, It's exactly as you say.
                Pixelschmiede GmbH
                www.pixelschmiede.ch

                Comment


                • #9
                  Originally posted by rhino
                  I think what the maxer is saying and my understanding of the vray colour, is that the gamma settings don't actually change the colour values in any way except in how they are displayed. The Gamma settings in vray colour are pretty useless it appears (I hope I'm wrong...), I thought it would apply the gamma but it doesn't appear that it does. It's not really documented either.
                  So you still have to do a conversion with colour correct or a gamma colour correction script to get 2.2 adjusted colours :/

                  Maybe they can change this or add a map to apply gamma in a future version.. Vlado?
                  double agree. i switched back to the color correct plug-in within a day.

                  Comment


                  • #10
                    I to had a try with the gamma 2.2 settings it appears alright in max but when i opened it in photoshop its was al to dark. is there something i missed?? whe still work with max6 at my wrokplace so maybe thats the problem??

                    Comment


                    • #11
                      Originally posted by provise
                      I to had a try with the gamma 2.2 settings it appears alright in max but when i opened it in photoshop its was al to dark. is there something i missed?? whe still work with max6 at my wrokplace so maybe thats the problem??
                      did you render with max FB or vray Framebuffer?
                      if you rendered with MFB then did you saved the image with gamma 2.2?
                      in the save dialog you have to check "Override" and put in 2.2 for gamma. then it should appear right.

                      best regards themaxxer
                      Pixelschmiede GmbH
                      www.pixelschmiede.ch

                      Comment


                      • #12
                        You could just make a little bitmap with the desired color and apply it to the geometry.
                        "Why can't I build a dirigible with my mind?"

                        Comment


                        • #13
                          how do you guys deal with rgb values out of e.g. photoshop to LWF in max?
                          I mean the values from 0-255 in max doesn't match the values out of any app, when working in LWF, it would get brighter (gamma corrected). how do I get the right values? is there a workaround or a trick to match the exact values?
                          Sorry I'm a bit late on this one but this can be done with the VRayColor map if you follow these steps.

                          1. Put a VRayColor map in the diffuse slot.
                          2. Enter your photoshop RGB values into VRayColor.
                          3. Set gamma correction to 'specify'.
                          4. Type 0.4545 into gamma value.
                          5. Right click over the VrayColor chip (see diagram) and select 'copy'.

                          6. Go back up to the top level of your material and right click over the diffuse colour chip and select 'paste'.
                          7. Go to the Maps section of the material and untick the diffuse map.

                          You now have the corrected colour in the diffuse slot of your material!

                          Does that fix the problem or have I completely misunderstood the problem, again.

                          Dan
                          Dan Brew

                          Comment


                          • #14
                            Yes that does work, I use a script that does a similar thing with fewer clicks. good tip though.
                            Richard De Souza

                            www.themanoeuvre.com

                            Comment


                            • #15
                              Originally posted by rhino
                              Yes that does work, I use a script that does a similar thing with fewer clicks. good tip though.
                              ...and the name of this script is?

                              best regards
                              themaxxer
                              Pixelschmiede GmbH
                              www.pixelschmiede.ch

                              Comment

                              Working...
                              X