POV-Ray : Newsgroups : povray.newusers : how to generate transparent image : Re: how to generate transparent image Server Time
16 Apr 2024 06:17:01 EDT (-0400)
  Re: how to generate transparent image  
From: clipka
Date: 22 Feb 2017 12:26:35
Message: <58adc9cb$1@news.povray.org>
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.

Post a reply to this message

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