Page 1 of 2
How to imitate real world materials
Posted: Fri Nov 16, 2018 9:30 am
by lighting_freak
Hello all,
I'm a bit lost while trying to create a specific material. There are lots of numbers in node tree and I don't know what they are exactly doing.
This is an very simple example, maybe someone could help me to create the first node tree for that.
From light measurements I know that the surface that I want to imitate in luxcorerender has an overall (integral) reflectivity of 60% in neutral white color. 40% are absorbed.
This is the ratio for directional depencies of this 60% of reflection:
20% are matte (ideal lambertian diffuser)
40% are glossy with 0,1 roughness (kind of gaussian scattering with a given half angle)
40% is mirror like scattering (ideal specular reflection)
Let's assume that this ratio is valid for every incidence angle.
I'm really looking forward to your help.
Thank you.
BR
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 11:37 am
by Dade
lighting_freak wrote: Fri Nov 16, 2018 9:30 am
From light measurements I know that the surface that I want to imitate in luxcorerender has an overall (integral) reflectivity of 60% in neutral white color. 40% are absorbed.
This is the ratio for directional depencies of this 60% of reflection:
20% are matte (ideal lambertian diffuser)
40% are glossy with 0,1 roughness (kind of gaussian scattering with a given half angle)
40% is mirror like scattering (ideal specular reflection)
You have to transform your Mix of 3 materials in a chain of Mix of 2 materials with something like:
Mix material(20% A, 40% B, 40% C) = Mix material(20% A, 80% Mix material(50% B, 50% C))
80% * 50% equal to the 40% you need. This trick can be applied to any number of mixed materials.
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 1:16 pm
by lighting_freak
Hi,
thanks for your support:
Is that the right nodetree to fullfil the describes requirements?
To see more details - this is the related blend file:
Thank you.
BR
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 1:19 pm
by B.Y.O.B.
I think your matte mix-in is reversed. Either switch the inputs or change the mix amount to 0.8.
(When the slider is at 0, only Material 1 is used. If the slider is at 1, only Material 2 is used)
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 2:27 pm
by lighting_freak
I dont't get it.
I thought this is the logic:
Section 1
Mixed with 0.5 factor (so 50% M1 and 50% M2)
M1 Glossy with 0.1 roughness (Color 0 (black) Diffuse and 1 (white) for specular color)
M2 Mirrot (Color 1 (white))
Section 2
Mixed with 0.2 factor (so 20% M1 and 80% M2)
M1 Matte material (Color 1 (white))
M2 Mixed material from section 1
Section 3
Mixed with 0.6 factor (so 60% M1 and 40% M2)
M1 Mixed material from section 2
M2 Matte material (Color 0 (black)) - my overall absorption
BR
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 4:15 pm
by Dade
B.Y.O.B. wrote: Fri Nov 16, 2018 1:19 pm
I think your matte mix-in is reversed. Either switch the inputs or change the mix amount to 0.8.
It looks correct to me
The section #3 could be avoided (for instance by using kd=0.6 instead of kd=0.8) but it would me hard to do in the case of glossy material and it is probably easier to read as it is).
Does it work ? I mean does the material look like it should ?
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 4:50 pm
by lighting_freak
Hi,
Not yet. This my first test for working with values.
Those numbers came more or less free from mind.
Let's assume I've a real sample in front of me. How would you test whether is representation in luxcorerender is right? I can't reproduce the lighting conditions of my appartment easily (quickly) in blender.
For more realistic appearance I've to figure out much more details. But thanks to your help I've a valid point to start from.
BR
Re: How to imitate real world materials
Posted: Fri Nov 16, 2018 9:10 pm
by kintuX
lighting_freak wrote: Fri Nov 16, 2018 4:50 pm
Let's assume I've a real sample in front of me. How would you test whether is representation in luxcorerender is right? I can't reproduce the lighting conditions of my appartment easily (quickly) in blender.
For starters you create a controlled environment: a studio or a lab (ie.
Cornell Box). You can also go in opposite direction, synthesize first and then try to reproduce for real (ie.
Still File).
After, it becomes much easier to do comparative studies.
Re: How to imitate real world materials
Posted: Tue Nov 20, 2018 2:08 pm
by lighting_freak
Hi,
I've updated my real world material node.
Now there is a reflection, transmission and absorption portion available.
Each, the reflective and transmittive portion, could be separated into lambertian, gaussian and specular elements.
While testing the node setup an strange behaviour could be observed.
While entering 100% gaussian reflection and 100% gaussian transmission (both wirh tinies possible roughness) the transmitted part seems to be lambertian scatterd.
Is this a bug? There is the blend file.
Thanks for your advice
BR
Re: How to imitate real world materials
Posted: Tue Nov 20, 2018 3:21 pm
by Dade
I'm not sure if it is intended but your "transition" and "reflection" sections are not transition-only and reflection-only: for instance the matte translucent material in your "transmission" section will also reflect (so the name of the two sections are quite misleading, is it intended ?).