POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Attached to Project: POV-Ray
Opened by Olaf Reinhold - 2009-09-03
Last edited by Christoph Lipka - 2010-03-26

FS#55 - Output_Alpha=on doesn't work as documented

I have installed POV-Ray 3.7 beta 34 on Windows 7
The setting ‘Output_Alpha=on’ doesn’t work as documented. With this setting the Background appear black and the scene is transparent.

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
Closed by  Christoph Lipka
Friday, 26 March 2010, 16:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  

No feedback from beta testers for months, so probably "no news is good news"

Admin
Christoph Lipka commented on Wednesday, 09 September 2009, 10:23 GMT

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.

Admin
Christoph Lipka commented on Wednesday, 09 September 2009, 10:36 GMT

fixed with change #4886

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing