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#90 - POV-Ray accepts additional patterns after "slope"

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Sunday, 28 March 2010, 16:35 GMT
Last edited by Christoph Lipka (clipka) - Saturday, 19 June 2010, 12:25 GMT
Task Type Definite Bug
Category Backend → Parser/SDL
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Very 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

The following code is erroneously accepted by POV-Ray (tested with 3.7.0.beta.36):

pigment{
  slope { x }
  checker
}

The result is a checker pattern.

Apparently there is an EXIT statement missing in the slope-pattern parsing code in parstxtr.cpp.

This task depends upon

Closed by  Christoph Lipka (clipka)
Saturday, 19 June 2010, 12:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  No beta tester feedback on this for quite a while, so I consider that good news.
Comment by Christoph Lipka (clipka) - Sunday, 28 March 2010, 16:50 GMT

POV-Ray also erroneously accepts an additional pattern body after pigment pattern, or any pattern preceded with "uv_mapping"; e.g., the following code snippets are also accepted by POV-Ray:

pigment {
  pigment_pattern { gradient x }
  checker
}
pigment {
  uv_mapping gradient x
  checker
}

Underlying error cause is more missing EXIT statements.

Comment by Christoph Lipka (clipka) - Monday, 29 March 2010, 01:48 GMT
  • Field changed: Status (Investigating → Requires testing)
  • Field changed: Due in Version (Undecided → 3.70 beta 37)
  • Field changed: Percent Complete (90% → 100%)

fixed with change #4935

Loading...