The Persistence of Vision Raytracer (POV-Ray).
This is the Bug Tracking System for the POV-Ray project. Before opening a new task, please read How to make a Bug Report
Please do not issue bugs reports against versions earlier than 3.6.
FS#55 - Output_Alpha=on doesn't work as documented
Attached to Project:
POV-Ray
Opened by Olaf Reinhold (yamo64) - Thursday, 03 September 2009, 07:17 GMT
Last edited by Christoph Lipka (clipka) - Thursday, 11 February 2010, 16:46 GMT
Opened by Olaf Reinhold (yamo64) - Thursday, 03 September 2009, 07:17 GMT
Last edited by Christoph Lipka (clipka) - Thursday, 11 February 2010, 16:46 GMT
|
Details
I have installed POV-Ray 3.7 beta 34 on Windows 7
Check with this Code:
camera {
location <3, 3, -3>
direction <0, 0, 2.9>
look_at <0, 0, 0>
right 1.0*x
}
light_source { < 3, 3, -3> color red 1 green 1 blue 1 }
sphere
{
<0,0,0> 0.8
pigment {color rgb<1,1,0>}
finish
{
ambient 0.2
diffuse 0.8
}
}
and with this ini file: Input_File_Name=C:\Users\dfv_rei1\AppData\Local\Temp\Cuadrigula\PreviewObject.pov Output_File_Name=C:\Users\dfv_rei1\AppData\Local\Temp\Cuadrigula\PreviewObject.tga Output_File_Type=t Output_Alpha=on Bits_Per_Color=24 +W121 +H121 +a0.3 +q11 +a |
This task depends upon
Behavior is indeed different from 3.6.
As POV-Ray uses a transmit value with fully opaque defined as 0.0 and fully transparent defined as 1.0, but TGA format uses an alpha value with values defined the other way round, this needs to be corrected; apparently, in refactoring of the image data container to store alpha instead of transparency, this correction was duplicated, with the effect of cancelling it out.
fixed with change #4886