POV-Ray : Newsgroups : povray.macintosh : Alpha channel : Re: Alpha channel Server Time
24 Apr 2024 16:38:09 EDT (-0400)
  Re: Alpha channel  
From: kurtz le pirate
Date: 30 Jan 2021 11:19:37
Message: <60158719$1@news.povray.org>
On 30/01/2021 09:58, E-mailyvo s gmx.net wrote:

> 
> It is still there:
> Turn on "Add Alpha Channel" in the "image & Quality" panel on the 
> preferences panel.
> 
> And use this simple example scene:
> 
> camera {
>      perspective
>      location < 0.0, 0.0, -5>
>      right x * 1
>      up y * 3/4
>      angle 60
>      look_at < 0.0, 0.0, 0.0>
> }
> light_source {
>      < 0.0, 100, 100>
>      rgb <1.000000, 1.000000, 1.000000> * 1.0
> }
> 
> sky_sphere {
>      pigment {
>          rgbt <0.016749, 0.198007, 0.999977, 1.000000>
>      }
> }
> sphere {
>      <0.0, 0.0, 0.0>, 0.5
>                  pigment {
>                  rgb <0.500000, 1.0, 1.0>
>              }
> 
> }

Looking at your example, I found the guilty !
The sky_sphere pigment has transmit attribute...

background { color <0,0,0> }
	=> no alpha channel

background { color <0,0,0> transmit 1 }
	=> alpha channel OK !

*transmit* is a key
I don't remember needing to add this in the old versions.




-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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