Would you like to react to this message? Create an account in a few clicks or log in to continue.

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

+7
v_wrangler
mez
aesonck
deosrock
yaug_03
christiange
mokong
11 posters

Page 1 of 2 1, 2  Next

Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Thu Jun 16, 2011 1:25 pm

Did any of you encounter washout color of material when using LWF Gamma 2.2? This happens when we merge 3D models to the scene which were not color corrected, or in other way they were made without using LWF Gamma 2.2. Example are 3D cars from *****MOTION haven't we notice it, they look washout in LWF.

So, I made this tutorial on how to convert the diffuse color from a non-LWF to its equivalent color in LWF Gamma 2.2.

FIRST METHOD USING VRAYCOLOR

Here is an example of diffuse color without Gamma/LUT Correction having an RGB value of 255,100,100. Look closely on the color.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Gammalutoff

Now we have tick the Gamma/LUT Correction with Gamma 2.2, Affect color selectors, Affect Material Editor, input Gamma 2.2, output gamma 1.0. We use the same RGB values 255,100,100. We notice the color changes, this is due to the gamma 2.2, checking the Affect color selectors & Affect Material Editor.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Gammaluton

We make another material. Click the diffuse and selecting VrayColor.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Choosevraycolor


In the VrayColor, we put our RGB values 255,100,100 or just copy & paste the color. In gamma correction select specify & gamma value of 1.0 (see image below).
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Specifycolor

Now we will correct the color by changing the gamma value of 0.4545. This is the invert of gamma 2.2. As we can see the color changes. The RGB value 255,33,33 is the equivalent of RGB 255,100,100 in non-LWF.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Equivalentcolor

Comparing our results, we can say that they are the same color but differ in RGB values.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Comparisonqx

We copy the result color in VrayColor or manually typing the RGB values. This our final result, the equivalent RGB value of diffuse color from a non-LWF.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Pasteequivalentcolor


We only use the VrayColor to serve as a Color Calculator of RGB's.


SECOND METHOD USING VRAY COLOR CORRECTION

We use the same sample RGB value 255,100,100. In the diffuse color, apply ColorCorrection.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Selectcolorcorrection

In the color slot of ColorCorrection, copy & paste the color or you can type it manually but express the RGB values in decimals. Divide the corresponding values by 255. For our example, we express it as RGB 1.0, .392, .392 .
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Pastecolor

Preview of RGB 255,100,100 or RGB 1.0, .392, .392 without color correction.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Previewofcolor

Now we go to the lightness tab, click advance & in the Gamma/Contrast put the value .4545 (the invert of gamma 2.2). We notice the color changes. This the equivalent value of RGB from a non-LWF.
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Equivalentcolor2

The second method is the easiest way. Now, we can start converting all our stock models. Lol!!!

Thank you for spending time reading this tutorial... Ciao!!!!!!!!!!!!!!! Very Happy
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by christiange Thu Jun 16, 2011 5:00 pm

Thanks Master Mokong! thumbsup
christiange
christiange
CGP Apprentice
CGP Apprentice

Number of posts : 240
Age : 42
Location : dubai
Registration date : 24/08/2010

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by yaug_03 Thu Jun 16, 2011 5:44 pm

Very informative and very useful.thanks for sharing Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 290602
yaug_03
yaug_03
CGP Guru
CGP Guru

Number of posts : 1911
Age : 40
Location : Cainta,Rizal
Registration date : 05/07/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by deosrock Thu Jun 16, 2011 5:53 pm

-nice, thanks sir!! Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 808695
deosrock
deosrock
CGP Expert
CGP Expert

Number of posts : 2033
Age : 46
Location : CAGAYAN VALLEY, REGION 2
Registration date : 24/03/2009

http://deosrock.daportfolio.com/

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Fri Jun 17, 2011 2:21 am

Your welcome po mga sir.. Very Happy
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by aesonck Fri Jun 17, 2011 3:07 am

Thanks bro . 2thumbsup
aesonck
aesonck
CGP Expert
CGP Expert

Number of posts : 2448
Age : 44
Location : Philippines. La Trinidad-Visayas
Registration date : 13/07/2010

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mez Fri Jun 17, 2011 4:06 am

galing thumbsup
mez
mez
CGP Expert
CGP Expert

Number of posts : 2692
Location : dxb
Registration date : 24/07/2010

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by v_wrangler Fri Jun 17, 2011 4:50 am

This tutorial will stand only on cases when you need to pick up colors from an old render or need to specifically maintain swatches from an old render and you need to re-render with LWF. For new projects - do not bother with this. Otherwise you'll break the car even more when it's not even broken at all...

The procedure above is something you do depending on how you set up the gamma preferences in max.

If the affect color selectors in teh gamma preferences are checked and you are starting a new project, you do not need to tinker with values specially if you have set the gamma preferences already to 2.2. All colors will be automatically converted to 2.2. That color swatch is there only for you to visualize what color appears in the rendering. You may pick the color swatch and choose the color you want, remember though that the color picker is 8-bits internally so while you are getting a color you want - it is not a floating point value. if you arent compositing, no big deal. Isa pa, you set colors visually anyways, so don't bother.

So do not think the above tutorial is something you need to do everytime. It is just an explanation on how to arrive at colors when you have messed up the gamma setting while in a middle of a project.

If you want precise colors, make a bitmap of your colors instead and load that up. (gamma correcting a bitmap requires another explanation - I'll do that later)

LWF is serious stuff, and it takes time to get used to it specially the wash out looks in the mat editor the first time you do set it on. Do not tinker with the dials or don't do LWF at all if you do not know what you are doing or if you think your renders with the No-LWF setup is fine as it is.



v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Fri Jun 17, 2011 5:13 am

yep sir your right.. i made this tutorial for old renders or models w/o LWF converted to LWF Gamma 2.2 .. for starting a new project in LWF Gamma 2.2 settings there's no need to color correct but if you merge previous models made in non-LWF, then that's the time to convert.
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by v_wrangler Fri Jun 17, 2011 5:30 am

A more painless process> Check the Linear workflow tickbox in the color mapping parameters.

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Colormapping
v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Fri Jun 17, 2011 5:46 am

yeah checking the linear workflow in color mapping is only good for old renders non LWF.. how about if you merge 3d models which were not made in a LWF set up to a current scene with LWF? I bet we should manually color correct, am I right?
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by v_wrangler Fri Jun 17, 2011 5:57 am

Well I have yet to know till I render and check. Safest way is to convert the old file first (via the shortcut I mentioned) before merging to an LWF setupped file. Don't you think so?
v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Fri Jun 17, 2011 6:15 am

There are two options.

1. Convert the old file first then merge to the scene.

2. Merge it to the scene then convert.

I bet option number 1 is better, we can save more time when making new projects. We can make another folder for converted models.
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by v_wrangler Fri Jun 17, 2011 6:17 am

mokong wrote:There are two options.

1. Convert the old file first then merge to the scene.

2. Merge it to the scene then convert.

I bet option number 1 is better, we can save more time when making new projects. We can make another folder for converted models.

No 1 is exactly what I suggested. There is no better way than to lessen the risks even before you proceed.
Isa pa, simple color swatches for cars isnt a big deal at all...
v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Fri Jun 17, 2011 6:34 am

v_wrangler wrote:Well I have yet to know till I render and check. Safest way is to convert the old file first (via the shortcut I mentioned) before merging to an LWF setupped file. Don't you think so?


So, you mean sir you will have to tick linear workflow in the color mapping from the old file. Then you merge in it to the scene with LWF setup, I guess it will carry those settings in the old file because in the current setup (LWF) you will not have to tick the linear workflow in the mapping. If we try to tick that (linear work flow) it will mess up our render.
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by v_wrangler Fri Jun 17, 2011 7:43 am

actually, all you need to do is paste the RGB value of the color from the orignal non LWF file to the swatch sa Vraycolor map. Let Vray color do the rest. as long as you set the gamma to 1 (which is the gamma of the non lwf file), then it will render the same color as that of the non- lwf file.

No more of those making another material and pasting the new rgb values.

Isa pa, vraycolor serves that purpose. Its not just a calculator as you mentioned.
v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by Neil Joshua Rosario Fri Jun 17, 2011 7:53 am

salamat master
Neil Joshua Rosario
Neil Joshua Rosario
CGP Guru
CGP Guru

Number of posts : 1827
Age : 33
Location : Bangus City
Registration date : 02/06/2010

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by julcab Fri Jun 17, 2011 8:15 am

great stuff kabayan! 2thumbsup
.4545 value is still thoeretical cause there is no range of equal value on gamma but its the closest.

dont or never tick (linear work flow) as it is almost the same as burning your gamma on the environment and revert it again in zbuffer but not in a srgb format (worse, im not quite sure why they put it in there). just let it 1:1:1 openexr is much accurate because it preserves values of bitmap and resolution.
julcab
julcab
CGP Apprentice
CGP Apprentice

Number of posts : 556
Age : 41
Location : dubai-laoag
Registration date : 27/04/2011

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by v_wrangler Fri Jun 17, 2011 8:23 am

julcab wrote:great stuff kabayan! 2thumbsup
.4545 value is still thoeretical cause there is no range of equal value on gamma but its the closest.

dont or never tick (linear work flow) as it is almost the same as burning your gamma on the environment and revert it again in zbuffer but not in a srgb format (worse, im not quite sure why they put it in there). just let it 1:1:1 openexr is much accurate because it preserves values of bitmap and resolution.

masyadong mabigat ang dating di ko naintindihan Smile Di ko naintindihan yung comment mo about burning gamma to where so I will reply about it pag nagets ko na ibig mong sabihin.

The .4545 value is the closest. And its a standard value cause you do not and will not see the integer difference unless you are compositing for float images.

Anyways, the linear workflow tickbox is there to automatically convert rgb values of old files. That simplifies the conversion that the thread starter wrote about. Don't fear, just know when to use it.
v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by julcab Fri Jun 17, 2011 9:08 am

masyadong mabigat ang dating di ko naintindihan Di ko naintindihan yung comment mo about burning gamma to where so I will reply about it pag nagets ko na ibig mong sabihin.

compile ko yung reference ,study at comparison samples ko po medyo madami^^ mostly sa google lang din master tsaka konting experiment sa cs. but i was wondering there must be a reason why they didnt make LWF standard in 3ds max rather than going all the trouble?.



The .4545 value is the closest. And its a standard value cause you do not and will not see the integer difference unless you are compositing for float images.

yup^^

Anyways, the linear workflow tickbox is there to automatically convert rgb values of old files. That simplifies the conversion that the thread starter wrote about. Don't fear, just know when to use it. Very Happy

hindi ko kasi natry magexperiment sa linear workflow na dbox based lang din sa google. so diko pa nagrasp talaga. experiment ako ng comparison soon. anyway thanks master for the added info on the topic.^^ 2thumbsup
julcab
julcab
CGP Apprentice
CGP Apprentice

Number of posts : 556
Age : 41
Location : dubai-laoag
Registration date : 27/04/2011

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Sat Jun 18, 2011 12:58 am

thanks for the info sir wrangler i'll try to do what you have said.. there are many ways how to solve this things as long we arrive on the same output.. there are many interpretation of LWF on the internet, generally some of the members here find hard time to understand.. thanks for your undying inputs and comments... Very Happy
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Sat Jun 18, 2011 1:06 am

@julcab.. regarding the tickbox for the linear workflow in color mapping, it is applicable only for old files non-LWF...
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by julcab Tue Jun 21, 2011 6:14 am

mokong wrote:@julcab.. regarding the tickbox for the linear workflow in color mapping, it is applicable only for old files non-LWF...

ive tried the linear worflow tab (gi colormapping: gamma 2.2 with linear workflow ticked) with my old non-lwf scenes and output is not quite the same as the real LWF preset should look like. LWF dialog box is more like a color mapping preset and not rig in the gamma preference itself which means it is only burned after the computation of the gi or after the image is being rendered. It doesnt serve it purpose even though it is indicated in the vray docs(fake lwf dialog box). In short it is like a color map preset. Very Happy
julcab
julcab
CGP Apprentice
CGP Apprentice

Number of posts : 556
Age : 41
Location : dubai-laoag
Registration date : 27/04/2011

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by mokong Tue Jun 21, 2011 6:46 am

as what I've read in some websites they always disregard this option.. confusing... anyway, thanks for the info...
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by Anoy_Datahan Mon Aug 19, 2013 11:56 pm

Good day sir,tanong ko lang po,pano pag nag color bleed yung bitmap.kagaya po ng nangyari sa render ko,ano po ba remedyo nun?
Anoy_Datahan
Anoy_Datahan
CGP Newbie
CGP Newbie

Number of posts : 15
Age : 42
Location : Bohol
Registration date : 24/01/2011

Back to top Go down

Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2 Empty Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum