Page 1 of 1
hard shadow
Posted: Thu Sep 28, 2006 8:56 am
by johanjohan
Hi!
I would like how to do a hard shadow (and not soft shadow) with the sun?
thanks
johan
Posted: Thu Sep 28, 2006 9:08 am
by WLAD
which versions do you use?
Posted: Thu Sep 28, 2006 9:10 am
by Maluminas
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...
Posted: Thu Sep 28, 2006 9:50 am
by dogfin
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 -
Posted: Thu Sep 28, 2006 12:44 pm
by TjGk
Yes, set the sky gain to a very low value. Setting the sky turbidity low helps, also. Something like 1.7 should be fine.
Posted: Thu Sep 28, 2006 12:48 pm
by TjGk
And dogfin, this is my first year in Film and Animation, so now I actually know what sunny 16 means!
/Yays for me.
Posted: Thu Sep 28, 2006 4:18 pm
by johanjohan
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
Posted: Thu Sep 28, 2006 4:55 pm
by dogfin
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 -
Posted: Thu Sep 28, 2006 5:28 pm
by johanjohan
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