POV-Ray : Newsgroups : povray.advanced-users : Fake shadows in 32-bit images? : Re: Fake shadows in 32-bit images? Server Time
27 Sep 2021 09:11:18 EDT (-0400)
  Re: Fake shadows in 32-bit images?  
From: Alain Martel
Date: 1 Sep 2021 11:05:37
Message: <612f96c1$1@news.povray.org>

> What you can do is take the object and make it into an isosurface, then use that
> function like: function {Object (x, y, 0)} which will scale the object
> infinitely in the z direction.
> But wait - there's more!
> Now use that function in a pigment pattern, and you get a silhouette (shadow) of
> the object.
> Easy to do for cardinal axis aligned shadows, takes a little bit more to do
> off-axis either by pre-rotating the object and then rotating the pattern back,
> or maybe by doing some vector normal to a plane type stuff...

The problem with that option is the infinite gradient because the 
function returns only zero or one.

Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.