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.


FS#116 - assertion fails when using "filter all" with small-palette images

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Saturday, 22 May 2010, 18:15 GMT
Last edited by Christoph Lipka (clipka) - Sunday, 29 August 2010, 20:12 GMT
Task Type Definite Bug
Category Backend → Texture/Material/Finish
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Low
Priority Normal
Reported Version 3.70 beta 37a
Due in Version 3.70 beta 38
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When using “filter all VALUE” with an image_map using a 4-bit (16-color) paletted bmp image, debug builds of POV-Ray fail with an assertion.

According to code analysis, other paletted image formats with <256 palette entries are also likely to be affected; similar assertion fails can be expected when using the “filter INDEX, VALUE” feature on such files with an index exceeding the palette size. “transmit” shows the same flaws.

This task depends upon

Closed by  Christoph Lipka (clipka)
Sunday, 29 August 2010, 20:12 GMT
Reason for closing:  Fixed
Comment by Christoph Lipka (clipka) - Saturday, 22 May 2010, 18:47 GMT
  • Field changed: Status (Investigating → Requires testing)
  • Field changed: Due in Version (Undecided → 3.70 beta 38)

Parser code for “filter|transmit all VALUE” and “filter|transmit INDEX, VALUE” always presumed a 256-color palette.

Fixed with change #4992.