POV-Ray : Newsgroups : povray.unofficial.patches : Transmit -> File alpha bug im MP0.7 : Re: Transmit -> File alpha bug im MP0.7 Server Time
6 Oct 2024 12:34:04 EDT (-0400)
  Re: Transmit -> File alpha bug im MP0.7  
From: Nathan Kopp
Date: 10 Jun 2001 23:40:48
Message: <3b243dc0$1@news.povray.org>
"PoD" <pod### [at] internodeonnet> wrote...
>
> OK. The problem is that the output alpha channel contains exactly what
> is put into the tranmit part of FilCol at the start of
> compute_lighted_texture.
> To test this I made FilCol = [1.0,1.0,1.0,1.0,0.5] and then the output
> alpha for any ray is 128.

True.  There are some other problems with the alpha channel in MegaPov (and
also in POV 3.1).  These will be fixed for POV 3.5.  Basically, the line of
code that sets ResCol[TRANSM] should be moved into the preceeding
if(one_colour_found) block, and should use RfrCol[TRANSM] and Trans instead
of FilCol[TRANSM].

-Nathan


Post a reply to this message

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