POV-Ray : Newsgroups : povray.general : Photons and simulating a data projector : Re: Photons and simulating a data projector Server Time
30 Jul 2024 20:23:31 EDT (-0400)
  Re: Photons and simulating a data projector  
From: Christian Froeschlin
Date: 8 Jul 2008 06:25:01
Message: <4873407d$1@news.povray.org>
Paul Bourke wrote:

> Any comments on why the following doesn't work
>     http://local.wasp.uwa.edu.au/~pbourke/tmp/sim/testmodel.zip

According to the docs, the alpha channel is used for *non-filtered*
transparency (i.e. transmit instead of filter), so it wouldn't affect
the light going through it, only how you see objects through it
(except for alpha 255, which casts a shadow).

Furthermore, when I open projectorimage1.tga in Gimp I don't see any
transparency (checkered background shining through). After adding some
test transparency, it seemed indeed that the non-transparent areas cast
a shadow and semi-transparent area let all photons through unfiltered.

Do you actually need alpha to vary across the image? Otherwise, just
use a solid pigment and apply "filter all 1.0" to the image_map.


Post a reply to this message

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