|
|
On 21-2-2017 23:52, Stephen wrote:
> On 2/21/2017 9:43 PM, zhekai wrote:
>> 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.
>>
>> Zhekai
>>
>>
> Hi Zhekai and welcome.
>
> You have to define the background as transparent.
>
> For instance: background { colour rgbt <0.0, 0.0, 0.0, 0.0> }
>
> Or better still to use the sRGB standard
> background { colour srgbt <0.0, 0.0, 0.0, 0.0> }
>
>
>
correction: background { colour srgbt <0.0, 0.0, 0.0, 1.0> } ;-)
--
Thomas
Post a reply to this message
|
|