Linear workflow (LWF) the easy way

Even after a few years since linear workflow (also known as gamma 2.2 method) first “appeared”, there still is quite a lot of confusion around the subject.

This is caused by the fact that there are several methods to achieve the same result and several tutorials on the internet most of them explaining different workarounds.

In this tutorial I will try to show all the steps that I use for linear workflow (working with 3ds max and vray) and keep things as simple as possible.

Bellow there are 2 images; the first one is rendered without linear workflow while the other one is rendered using this method. Although the second one looks much more natural, due to the even illumination and without color bleed, both of the scenes have exactly the same number of lights with the same light multipliers.

Click on the image to view a higher resolution rendering

Step 1
Go to “Customize”, “Preferences” and click the “gamma and lut” tab.
Check “Enable gamma /lut correction”, type 2.2 in the field next to “Gamma”.
Under “Materials and Colors” check both “Affect Color Selectors” and “Affect Material Editor”.

Step 2
In the material editor, select one of the materials and click on the texture in the diffuse channel. In the Bitmap Parameters rollout, click on the path of the bitmap and in the pop up window, under “Gamma” check override and type 2.2


If you haven’t started the scene from scratch and you are using an older scene, you must repeat the step above for all the textures that you have used.
This is what most people forget to do and as a result they end up with washed out textures.

Step 3
Believe it or not, you are now ready to render :)
The only thing that you need to do when the rendering process is ready, is to save the file as an .exr format (you need a 32 bit image, not an 8 image).
If you need to convert it to a jpg, open the exr file in photoshop, click on “image”, “mode” and choose 8bits/channel.

Just out of curiosity, you can try to save the image as a jpg directly from the render. You will end up with a dark rendering. This is because the gamma is not burnt in the image, but with the settings shown in the previous steps, you have set 3ds max to display it correctly.

If for some reason you need to burn the gamma into the image, you need to activate the Vray frame buffer, and under the color mapping options change the gamma from 1 to 2.2
I really don’t recommend doing this tough, because of the loss of quality.

The advantages of working with gamma 2.2 are obvious… less lights are needed to setup a lighting rig for an interior scene, less color bleed, faster rendering times, etc.
I use this for almost every daylight interior scenes; for interiors with night illumination I tend not use it since I find it easier to get more “drama” in the renderings, the old fashion way.







19 Responses to 'Linear workflow (LWF) the easy way'

  1. jackieteh - July 2nd, 2009 at 6:24 pm

    Thank you for your explaination, i will give it a try, hoping i could get the same result as your do here.

    bytheway, will you make a tutorial of how to make a spiral staircase from ground floor to 5th floor?

  2. jackieteh - July 5th, 2009 at 6:18 pm

    Hi Mr.Alex,your website is back,congratulation!!
    i have try the LWF for several day, but still facing some problem about which color mapping i should use and also textures show out blur and some weird white spot too.

    may i have your email address, so i can send some of my test rendering images to make you clear on what is my problem is.

    thanks in advance.

  3. Alex Mincinopschi - July 7th, 2009 at 5:48 pm

    Cgdigest (at) gmail.com
    Send me the details and I’ll be glad to help.

    Best regards,
    Alex

  4. jackieteh - July 7th, 2009 at 6:23 pm

    Thank you for allow me to send my work to you,
    i have just sent it,
    perhap i can learn more from you.
    thanks in advance.

  5. jackieteh - July 8th, 2009 at 2:58 pm

    thank you for your explaination.

    i have just sent the max file to you,
    please check your email,
    and hoping to learn from you.

    thanks in advance

  6. Alexa Serret - July 13th, 2009 at 3:54 pm

    Thank you Alex very nice tutorial

  7. Alex Mincinopschi - July 13th, 2009 at 4:05 pm

    @jackie teh – Thanks! I will check it out and try to do that case study these days.

    @Alexa – My pleasure. I’m glad you enjoyed it.

    Best regards,
    Alex

  8. jackieteh - July 14th, 2009 at 4:45 am

    Thank you Mr Alex, and don’t forget the spiral staircase tutorial too. =)

  9. Srinivas - July 23rd, 2009 at 1:46 pm

    Nice tutorial. Thanks for posting it.

  10. How incorrect geometry can affect the lighting of a 3d scene - August 3rd, 2009 at 10:57 pm

    [...] little introduction After having written the latest tutorial on linear workflow, I have received an email from Jackie (a frequent reader of this blog), who claimed that he had [...]

  11. pep - August 22nd, 2009 at 2:14 am

    thanks for the tut., but, by the way, like you said, there is so many information that i dont know really which steps follow :( .

    in this case, for example, we have to change de color mapping too, and the “input gamma” in “preference settings”….so finally we have the same with those differents ways?¿

    best regards

  12. pep - August 22nd, 2009 at 2:15 am

    uopppsss, sorry, here is the link: http://jg3d.blogspot.com/2008/12/v-ray-lwf-easy-way-for-3d-studio-max.html

  13. Alex Mincinopschi - August 24th, 2009 at 1:30 pm

    First of all, thanks for the visit pep (and for the feedback you sent me via email).

    The tutorial you are referring to is a bit old, and was done before the 1.5 version of vray came out.
    As you can see, in the next step it advices to change the parameter of the “inverse gamma” to 0.4545, which is not needed for vray 1.5 and above.

    Best regards,
    Alex

  14. monalisa mohapatra - September 13th, 2009 at 9:26 pm

    thanks for such a great help for my study…….

  15. vizdak - September 30th, 2009 at 8:45 am

    the tutorial is very nice, although i have a question regarding the use of archshaders in vray material. when ever i use it with gamma 2.2, the result is washout. is there any other way to make the color correction other than manually changing the color parameter of the arcshaders??

  16. Adrian - October 16th, 2009 at 9:16 pm

    This really is the best tutorial for gamma linear workflow

  17. yoursnavin - December 11th, 2009 at 2:16 pm

    hi,
    nice tutorial…..u wrote it in the easist way to understand…nice job alex

  18. mira/bangladesh - December 21st, 2009 at 3:48 pm

    hi,
    very nice tutorial.i got help full from this tutorial.carry on.thnx a lot

  19. VRay interior rendering: linear streaming applications | moonlightblog - February 8th, 2010 at 5:56 pm

    [...] Read More…. Posted in 3ds max Tags: 3ds max, VRay, Vray Interior Rendering « 3ds max – Animation Tutorial Material You can leave a response, or trackback from your own site. [...]


Leave a Reply