POV-Ray : Newsgroups : povray.advanced-users : Seeing shadow on 'no-image' shape : Re: Seeing shadow on 'no-image' shape Server Time
28 Jul 2024 16:16:16 EDT (-0400)
  Re: Seeing shadow on 'no-image' shape  
From: Christoph Hormann
Date: 31 Oct 2004 07:20:05
Message: <cm2l26$d75$1@chho.imagico.de>
Hombre wrote:
> Hello !
> 
> I'm currently trying to generate a POV image with transparent background to
> paste it on a real life photo. I would like to render the shadow in alpha
> channel on an invisible table (which have the 'no-image' flag on), but
> nothing appears at all... Is there a way to do this ?

Not that easy.  You can render the alpha channel in a second render 
(with the table in white color and the object that casts the shadow in 
black.  Then you can use this (grayscale) image as the alpha channel in 
the image (for example using Imagemagick).

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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