hard shadow

General questions about Indigo, the scene format, rendering etc...
Post Reply
9 posts • Page 1 of 1
johanjohan
Posts: 43
Joined: Wed Sep 13, 2006 3:33 pm
Location: New Caledonia

hard shadow

Post by johanjohan » Thu Sep 28, 2006 8:56 am

Hi!

I would like how to do a hard shadow (and not soft shadow) with the sun?

thanks
johan

WLAD
Posts: 101
Joined: Mon Jun 26, 2006 5:59 am
Contact:

Post by WLAD » Thu Sep 28, 2006 9:08 am

which versions do you use?

User avatar
Maluminas
Posts: 148
Joined: Fri Aug 18, 2006 11:06 am
Location: Canada>Quebec>Montreal

Post by Maluminas » Thu Sep 28, 2006 9:10 am

Well since the atmosphere in Indigo is phisically based its gonna be hard, because the atmosphere scatters light a bit :? Anyone knows how if its possible? Perfectly sharp shadows are impossible in the real world and since Indigo is a mathematical replica of the real world in terms of lighting it might be impossible in it too...

User avatar
dogfin
Posts: 48
Joined: Wed Sep 13, 2006 1:28 pm
Location: Washington State - USA

Post by dogfin » Thu Sep 28, 2006 9:50 am

Hard shadows happen all the time. Take a Sunny 16 day. As long as my shadow isn't much longer than I am tall, it will appear to be nice and sharp. There's a limit to what our eye's can see.

Todo it in indigo I believe that you set up a sun with a low gain. When I experimented with linear tonemapping, a sungain of 0.005 and a linear_gain of 5000000 gave me very sharp shadows. A sungain of 5000000 and a linear of 1.0 gave me almost no shadows.

I hope that helps.


dogfin -

TjGk
Posts: 10
Joined: Sun Sep 17, 2006 8:00 am
Location: Rochester, NY
Contact:

Post by TjGk » Thu Sep 28, 2006 12:44 pm

Yes, set the sky gain to a very low value. Setting the sky turbidity low helps, also. Something like 1.7 should be fine.

TjGk
Posts: 10
Joined: Sun Sep 17, 2006 8:00 am
Location: Rochester, NY
Contact:

Post by TjGk » Thu Sep 28, 2006 12:48 pm

And dogfin, this is my first year in Film and Animation, so now I actually know what sunny 16 means!

/Yays for me.

johanjohan
Posts: 43
Joined: Wed Sep 13, 2006 3:33 pm
Location: New Caledonia

Post by johanjohan » Thu Sep 28, 2006 4:18 pm

ok, thanks but I have yet a soft shadow
but how to use sunny 16?
where to add the code for its good hard (or burn) shadow with sunny16?

thanks
johan

I use Blender 2.42a and Indigo 06t2

User avatar
dogfin
Posts: 48
Joined: Wed Sep 13, 2006 1:28 pm
Location: Washington State - USA

Post by dogfin » Thu Sep 28, 2006 4:55 pm

Oh sorry johanjohan, didn't mean to confuse you. Sunny 16 is a photography term. Its basically a summers day in brighness for us non-photography people. (Actually, a summers day may be a bit brighter than sunny16).

Anyway, keep lowering you're sky_gain. 0.005 is a good starting point, just keep lowering it. Don't be surprized by insane numbers like 0.000001. See if that works. (I'd test this myself, but all my cpu power and ram are in use). Later.


dogfin -

johanjohan
Posts: 43
Joined: Wed Sep 13, 2006 3:33 pm
Location: New Caledonia

Post by johanjohan » Thu Sep 28, 2006 5:28 pm

yess its cool its now with sharp shadow
for me its with :

<linear>
<scale>5000000</scale>
</linear>

<turbidity>2.000000</turbidity>
<sky_gain>0.0000000000000000000000000001</sky_gain>

but its strange because there are not the "background" sky gradient, its black.. :?

thanks
johan

Post Reply
9 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 103 guests