POV-Ray : Newsgroups : povray.general : Invisible object that accepts shadows? Server Time
8 Aug 2024 22:15:17 EDT (-0400)
  Invisible object that accepts shadows? (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Jerry
Subject: Re: Invisible object that accepts shadows?
Date: 27 Oct 2000 13:43:32
Message: <jerry-CD3194.10433327102000@news.povray.org>
In article <39F### [at] inapginrafr>, Gilles Tran 
<tra### [at] inapginrafr> wrote:

>Jerry wrote:
>
>> You can see an example of why I wanted it at
>> http://www.hoboes.com/html/RPG/The%20Game/The%20Game00.jpg
>
>Forgive me if I'm missing something obvious here, but why not just use 
>a white, empty background behind the paper ???

In the image that you're seeing, it is a white, empty background. The 
problem is that if you look at the shadow cast by the pencil, it 
disappears at the edge of the paper, as if the paper were floating in 
air. I don't want that to happen, but I also don't want an object 
visible in the scene--basically, I want the pencil to cast a shadow on 
the document that I'm placing this image in, whether that document is a 
web page or the printed page. I want the pencil to cast a shadow in that 
empty white area so that the pencil's shadow doesn't look odd when I 
actually use this image in my documents.

Jerry
-- 
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)


Post a reply to this message

From: Gilles Tran
Subject: Re: Invisible object that accepts shadows?
Date: 27 Oct 2000 14:24:18
Message: <39F9C83D.28CB4A7F@inapg.inra.fr>
Jerry wrote:

> In the image that you're seeing, it is a white, empty background.

OK, sorry for being dumb. I had understood that the picture shown was what you
wanted, which didn't make much sense...
The white plane with ambient 0 and high diffuse is the simplest solution for
this problem, then.

Just for the fun, you could also fake it with a height_field in the shape of the
shadow : render an orthographic top  view of the scene with a background plane
with all the shadows, then extract the shadow parts of the image and turn them
into thin height fields with a water level just above zero. Then remove the
plane object and replace it with the height fields...

G.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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