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
Page 1 of 2 • 1, 2
Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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.
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.
We make another material. Click the diffuse and selecting VrayColor.
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).
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.
Comparing our results, we can say that they are the same color but differ in RGB values.
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.
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.
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 .
Preview of RGB 255,100,100 or RGB 1.0, .392, .392 without color correction.
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.
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!!!!!!!!!!!!!!!
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.
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.
We make another material. Click the diffuse and selecting VrayColor.
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).
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.
Comparing our results, we can say that they are the same color but differ in RGB values.
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.
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.
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 .
Preview of RGB 255,100,100 or RGB 1.0, .392, .392 without color correction.
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.
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!!!!!!!!!!!!!!!
mokong- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
Thanks Master Mokong!
christiange- CGP Apprentice
- Number of posts : 240
Age : 42
Location : dubai
Registration date : 24/08/2010
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
Very informative and very useful.thanks for sharing
yaug_03- CGP Guru
- Number of posts : 1911
Age : 41
Location : Cainta,Rizal
Registration date : 05/07/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
Your welcome po mga sir..
mokong- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
aesonck- CGP Expert
- Number of posts : 2448
Age : 44
Location : Philippines. La Trinidad-Visayas
Registration date : 13/07/2010
mez- CGP Expert
- Number of posts : 2692
Location : dxb
Registration date : 24/07/2010
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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.
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.
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
A more painless process> Check the Linear workflow tickbox in the color mapping parameters.
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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?
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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.
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- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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...
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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.
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.
Neil Joshua Rosario- CGP Guru
- Number of posts : 1827
Age : 34
Location : Bangus City
Registration date : 02/06/2010
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
great stuff kabayan!
.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.
.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- CGP Apprentice
- Number of posts : 556
Age : 41
Location : dubai-laoag
Registration date : 27/04/2011
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
julcab wrote:great stuff kabayan!
.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 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.
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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.
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.^^
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.
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.^^
julcab- CGP Apprentice
- Number of posts : 556
Age : 41
Location : dubai-laoag
Registration date : 27/04/2011
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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...
mokong- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
@julcab.. regarding the tickbox for the linear workflow in color mapping, it is applicable only for old files non-LWF...
mokong- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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.
julcab- CGP Apprentice
- Number of posts : 556
Age : 41
Location : dubai-laoag
Registration date : 27/04/2011
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
as what I've read in some websites they always disregard this option.. confusing... anyway, thanks for the info...
mokong- CGP Guru
- Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009
Re: Converting a non-LWF Diffuse Color to its equivalent in LWF Gamma 2.2
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- CGP Newbie
- Number of posts : 15
Age : 42
Location : Bohol
Registration date : 24/01/2011
Page 1 of 2 • 1, 2
Similar topics
» Standard AutoCAD Layer NAMING and Color Equivalent
» diffuse color and maps are missing after rendering
» LWF 2.2 material library ( color guides pantone CYMK RAL linear equivalent )
» Gamma Color Mapping Calculator
» Diffuse and Opacity Conflicts
» diffuse color and maps are missing after rendering
» LWF 2.2 material library ( color guides pantone CYMK RAL linear equivalent )
» Gamma Color Mapping Calculator
» Diffuse and Opacity Conflicts
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum
|
|