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#73 - Blend map cannot get 256 entries

Attached to Project: POV-Ray
Opened by Grimbert Jérôme (Le_Forgeron) - Tuesday, 29 December 2009, 21:22 GMT
Last edited by Chris Cason (chrisc) - Thursday, 31 December 2009, 14:32 GMT
Task Type Definite Bug
Category Backend → Parser/SDL
Status Closed
Assigned To Chris Cason (chrisc)
Operating System All
Severity Medium
Priority Normal
Reported Version 3.70 beta 34
Due in Version 3.70 beta 35
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Reported by cshake + pov @ gmail . com in p.beta-test, 14th december 2009

I wrote a simple script to convert fractint color maps to povray color_maps so I could use ApoMap to make nice fractal colors for pov, but I ran into
“Parse Error: Blend_Map too long.” The map has entries from 0/255 up to 255/255 (inclusive). I looked up the documentation which says that color_maps can have from 2 to 256 entries, and this is exactly 256 entries.
I’m posting this in beta-test because I assume that the documentation is correct for v3.6, and that a previous version can handle 256 entries.

This task depends upon

Closed by  Chris Cason (chrisc)
Thursday, 31 December 2009, 14:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed, thanks for the assistance.
Comment by Grimbert Jérôme (Le_Forgeron) - Tuesday, 29 December 2009, 21:27 GMT

Suggested (and tested solution on #4900) : changes the place of the tests, and use the right index!

It's in express.cpp (attached)

Loading...