POV-Ray : Newsgroups : povray.newusers : how to generate transparent image Server Time
29 Mar 2024 09:43:59 EDT (-0400)
  how to generate transparent image (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Leroy
Subject: Re: how to generate transparent image
Date: 18 Sep 2019 12:50:02
Message: <web.5d825fec86bdcb610414250@news.povray.org>
"William" <wil### [at] gmailcom> wrote:
> clipka <ano### [at] anonymousorg> wrote:
> > Am 21.02.2017 um 22:43 schrieb zhekai:
> > > Hi All,
> > >
> > > I want to render a image with transparent background. And I found online that
> > > with command inline +UA will lead to transparent background. Here is my problem,
> > > after using command inline "+UA", I do see the transparent checkboard background
> > > that Pov-Ray is rendering at Pov-Ray window. However, the actual picture file
> > > that is being generated is not transparent, and has white background. Any ideas
> > > how to fix it? I have tried different picture format such as png, jpg, and none
> > > of them shows the transparent background. I could post some mini example to show
> > > my code if that is necessary. Thanks.
> >
> > Due to the content of your scene (the white plane people have already
> > pointed out), your image background is _semi_-transparent.
> >
> > As for image file formats, you'll need to use either PNG or OpenEXR. The
> > other output file formats don't support transparency.
>
>
>
> Hi,
>
> I am runnning through the same issue. I followed your advise and still there is
> a black background. Can you please advise me?
>
> Best,
> William

I use background{rgbf 1} it worked for me! Have Fun!


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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