New double sided thin material - tests
New double sided thin material - tests
As anyone who has tried to create a truly realistic leaf material in Indigo knows, it's not currently possible, at least if you model the leaf as a flat polygon.
Real leaves look quite different on the front from the back. The top of the leaf is often smoother, reflecting light in a more coherent way (higher exponent in Indigo language). the top of the leaf is also often darker than the underside.
Currently in Indigo, all materials look the same on the front as they do on the back. So to render realistic leaves, I will introduce a two-sided material model.
It's also important to be able to render the light that's scattered and transmitted through the leaf. For that, the diffuse transmitter material does a good job. However, blending phong with diffuse transmitter isn't really correct, as the specular reflection should take place before light is either back-scattered or forwards scattered in the substrate / leaf interior. Anyways, by building in the diffuse transmission to the model, the new material is more correct.
When the leaf is lit from the front, you can see that the leaf colour differs based on if the leaf is front or back side towards the camera: (The leaf on the right has the front/top side towards the camera) The light is behind the camera. When lit from the back, the leaf looks the same from both the front and the back. This is also what happens with a real leaf (try it!)
The roughness (exponent) of the top can be varied independently of the roughness of the bottom of the leaf.
In this render the leaf on the right is frontside-up, on the left backside-up:
This new material should allow people to create extremely realistic leaf renderings.
It will be available for beta testing after the 3.4 stable release.
Any questions or feedback welcome!
Real leaves look quite different on the front from the back. The top of the leaf is often smoother, reflecting light in a more coherent way (higher exponent in Indigo language). the top of the leaf is also often darker than the underside.
Currently in Indigo, all materials look the same on the front as they do on the back. So to render realistic leaves, I will introduce a two-sided material model.
It's also important to be able to render the light that's scattered and transmitted through the leaf. For that, the diffuse transmitter material does a good job. However, blending phong with diffuse transmitter isn't really correct, as the specular reflection should take place before light is either back-scattered or forwards scattered in the substrate / leaf interior. Anyways, by building in the diffuse transmission to the model, the new material is more correct.
When the leaf is lit from the front, you can see that the leaf colour differs based on if the leaf is front or back side towards the camera: (The leaf on the right has the front/top side towards the camera) The light is behind the camera. When lit from the back, the leaf looks the same from both the front and the back. This is also what happens with a real leaf (try it!)
The roughness (exponent) of the top can be varied independently of the roughness of the bottom of the leaf.
In this render the leaf on the right is frontside-up, on the left backside-up:
This new material should allow people to create extremely realistic leaf renderings.
It will be available for beta testing after the 3.4 stable release.
Any questions or feedback welcome!
Re: New double sided thin material - tests
Only one question: WHEN WILL THIS BE IMPLEMENTED IN SKINDIGO?!?!
Jokes apart, thanks: seems like glare is really busy on the shaders' topic, which in my opinion was the only thing a little under-rated. Good work, thanks!
Jokes apart, thanks: seems like glare is really busy on the shaders' topic, which in my opinion was the only thing a little under-rated. Good work, thanks!
- wlf_alex
- Posts: 99
- Joined: Tue Aug 28, 2012 9:26 pm
- Location: Russia-Moscow, Spain-Alicante
- Contact:
Re: New double sided thin material - tests
It is a good news!
thanks a lot..
thanks a lot..
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D
Re: New double sided thin material - tests
I can't wait! this will be great to (finally) have implemented
Cheers,
Roo Evans
Roo Evans
Re: New double sided thin material - tests
I have one question regarding the usage of this material, because I think it could be quite useful for other objects as well. As you discribed the differences of a leaf behaviour in real world, it came to my mind that this situation also fits very well for bird feathers, right? Feathers have also a different look on the back than the front. The back side is also more rough than the front. But I think you will also need two different diffuse images for the back and front. This is the thing I didn't got from your post. Is it possible with this material to use different images on front and back side for diffuse or bump channel ?
Overall, great news and thanks for implementing!
cheers
Overall, great news and thanks for implementing!
cheers
- zeitmeister
- Posts: 2010
- Joined: Tue Apr 22, 2008 4:11 am
- Location: Limburg/Lahn, Germany
- Contact:
New double sided thin material - tests
Fantastic, Ono!
Her damit, aber flott!
Her damit, aber flott!
Cheers, David
DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64
DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64
Re: New double sided thin material - tests
I would kind of second solarray and ask for the material xml description, for reference please.
Notes for instance have the same optical properties on both sides generally speaking, but two faces. Is this also covered ?
Notes for instance have the same optical properties on both sides generally speaking, but two faces. Is this also covered ?
obsolete asset
Re: New double sided thin material - tests
Hi Solarray,solarray wrote:I have one question regarding the usage of this material, because I think it could be quite useful for other objects as well. As you discribed the differences of a leaf behaviour in real world, it came to my mind that this situation also fits very well for bird feathers, right? Feathers have also a different look on the back than the front. The back side is also more rough than the front. But I think you will also need two different diffuse images for the back and front. This is the thing I didn't got from your post. Is it possible with this material to use different images on front and back side for diffuse or bump channel ?
Overall, great news and thanks for implementing!
cheers
You can use a different texture map for each side. Actually you can even use a different material for each side, so you could use e.g. Oren-Nayar on one side and diffuse on the other.
The bump has to be the same on both sides.
Re: New double sided thin material - tests
I'll post some xml later tonight.CTZn wrote:I would kind of second solarray and ask for the material xml description, for reference please.
Notes for instance have the same optical properties on both sides generally speaking, but two faces. Is this also covered ?
Re: New double sided thin material - tests
Indeed, it's been a while since we have worked on materials.Pibuz wrote: Jokes apart, thanks: seems like glare is really busy on the shaders' topic, which in my opinion was the only thing a little under-rated. Good work, thanks!
As well as this double sided thin material, we'll also be adding a coating material, as well as adding back Fresnel scale to Phong, and improving Phong a little bit in general.
Re: New double sided thin material - tests
..not to mention the uber-introduction of velvet materials!OnoSendai wrote:Indeed, it's been a while since we have worked on materials.Pibuz wrote: Jokes apart, thanks: seems like glare is really busy on the shaders' topic, which in my opinion was the only thing a little under-rated. Good work, thanks!
As well as this double sided thin material, we'll also be adding a coating material, as well as adding back Fresnel scale to Phong, and improving Phong a little bit in general.
Re: New double sided thin material - tests
In fact a list of parameters would do, it is just to have an idea of the material parameters/ressources. edit: I have read your last posts and that's fine by me. A very nice addition !OnoSendai wrote:I'll post some xml later tonight.CTZn wrote:I would kind of second solarray and ask for the material xml description, for reference please.
Notes for instance have the same optical properties on both sides generally speaking, but two faces. Is this also covered ?
obsolete asset
Re: New double sided thin material - tests
Hi, great news!
One question: One of the two materials can be "an invisible material"?
If so, you have just created a triangle visible only from one side!
If so, you have just solved this problem: to create a wall that is "opaque" internally (it reflects back the light)
but invisible from the outside.
A see through wall!
Delle
One question: One of the two materials can be "an invisible material"?
If so, you have just created a triangle visible only from one side!
If so, you have just solved this problem: to create a wall that is "opaque" internally (it reflects back the light)
but invisible from the outside.
A see through wall!
Delle
- Polinalkrimizei
- Posts: 647
- Joined: Sat May 02, 2009 6:59 am
Re: New double sided thin material - tests
Whoop-whoop!
Who is online
Users browsing this forum: No registered users and 81 guests