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.

Tasklist

FS#89 - PPM output garbled for bit depths other than 8 bits

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Friday, 26 March 2010, 14:45 GMT
Last edited by Christoph Lipka (clipka) - Saturday, 19 June 2010, 12:47 GMT
Task Type Definite Bug
Category Frontend → Image format
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Low
Priority Normal
Reported Version 3.70 beta 36
Due in Version 3.70 beta 37
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When choosing PPM output with a bit depth other than 8 bits per color channel (e.g. +FP16), POV-Ray messes up the colors (see thread news://news.povray.org:119/4babb48f$1@news.povray.org)

This task depends upon

Closed by  Christoph Lipka (clipka)
Saturday, 19 June 2010, 12:47 GMT
Reason for closing:  Fixed
Comment by Christoph Lipka (clipka) - Friday, 26 March 2010, 14:47 GMT

There are actually two separate errors in the code, pertaining to (a) bit depths lower than 8 bpcc, and (b) bit depths greater than 16 bpcc. In both cases the respective formula to convert from floating point to integer is plain wrong.

Comment by Christoph Lipka (clipka) - Friday, 26 March 2010, 16:34 GMT
  • Field changed: Status (Investigating → Requires testing)
  • Field changed: Percent Complete (0% → 100%)

fixed with change #4932

Loading...