Page 1 of 1

Fabric behavior to light

Posted: 31 Mar 2015, 20:23
by mc_axe
Hello, hypothetically speaking, lets say that i want to create an image of a realistic sheet.
A sheet that just had been washed, so its hanging in a rope against sun, and its not ironed yet.

I noticed that im mising few things to achieve realism:

1)When the fabric is vertical against camera, or lets say between camera and sun -> fabric has max transparency.
When fabric has increased angles against the camera/sun , or when it goes like parallel , the fabric gets like zero transparency.
Image

2)Also i noticed that shadows casted on the front side *(to the side where the light falls) appear on the back side too .
But on a simple test i did thats not happening by default:
Image

How can i get these effects.
Just researching.

Re: Fabric behavior to light

Posted: 01 Apr 2015, 13:00
by mc_axe
Im most interested in the first question^^
And just to give you more info of what i mean, check this out:

Image

I painted this gradient by hand, so obviously is not correct, but you get the point.

Any ideas on how i can get a similar map to use it later as another layer of transparency, or smthing?

Re: Fabric behavior to light

Posted: 01 Apr 2015, 14:04
by rray
Transparency effect could be done with an incidence node in transparency, set to camera incidence. The backside lighting effect has different names, depending on which renderer you use. Not all materials support this also. In mental ray standard phong material it's called translucency. It works only when your cloth is one polygon layer.

Re: Fabric behavior to light

Posted: 01 Apr 2015, 14:11
by caledonian_tartan
i also think its a case for the incidence node.
this quick test is without shadows or transparency.
inc.jpg

Re: Fabric behavior to light

Posted: 01 Apr 2015, 15:54
by mc_axe
Nice!

Thanks guys for answers. Ill make some tests!

Re: Fabric behavior to light

Posted: 04 Apr 2015, 20:38
by mc_axe
Round 1 of tests complete.
Just letting this tree over here just in case.
Image
Note*The last mix down and right is not necessary.

+Transulency works fine, and the shadows look impressive when appear in the back side too esp. soft Shadows/self shadows.
+Incidence works fine for the overall polygonal shape, and it has parameters so its quite handy and can simulate (the angular transparency) lots different types of cloths i guess.

-The bumps are wiped in the back faces, (shaded area).
-I cant get correct angular transparency for the fine details. Non ironed areas etc.

How can i convert a bump map or a normal map to something like incidence?

Re: Fabric behavior to light

Posted: 10 Apr 2015, 05:49
by FXDude
That's pretty cool.

Also quite useful for drapes and the like and should be applicable to any renderer,

Thanks :ymcowboy: