POV-Ray : Newsgroups : povray.newusers : Making a plane transparent : Re: Making a plane transparent Server Time
14 Jun 2021 17:52:05 EDT (-0400)
  Re: Making a plane transparent  
From: William F Pokorny
Date: 29 Mar 2021 11:34:30
Message: <6061f386$1@news.povray.org>
On 3/29/21 10:14 AM, schoeni wrote:
> "jr" <cre### [at] gmailcom> wrote:
>>
>> I replaced the colours with 'color rgbft <>' (inserting a zeros as values (in
>> 3rd pos)), seems to do the trick.
>>
> 
> Thanks for the fast reply! Unfortunately, I still cannot make it work. I have
> now
> 
> """
> 
> square color rgbft <0.5,0,0,0,0.5> color rgbft <0,0.5,0,0,0.5>  color rgbft
> <0.5,0,0,0,0.5> color rgbft <0,0.5,0,0,0.5>
> 
> """
>   and I still see now blue sphere. Also changing values in the f or t position of
> rgbft didn't help.
> 
> May I ask what exact setting you used?
> 
> Cheers,
> Oliver
> 
> 

Hi Oliver,

Your original color encoding should work OK too - and does for me with 
v3.7 and v3.8 versions of POV-Ray on Ubuntu linux.

(jr, does his original scene not work for you?)

One thing happening here is I believe the sphere is partly, or wholly, 
lit through the plane. You could try adding finish { emission 0.3 }, 
say, to the sphere to make the transparency more obvious.

If still no sphere visible, try explicitly deleting the plane.png file 
ahead of running the next render to be sure you are really creating a 
new output file and not looking at an older one perhaps created with Red 
and Green out of colors.inc.

Oh, and I don't know how the mac version saves ahead of each render. I 
understand some versions have user interfaces with editors? I guess I'm 
saying, be sure your updates are being saved ahead of new renders.

Bill P.


Post a reply to this message

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