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 Christoph Lipka - 2013-01-27
Last edited by William F Pokorny - 2017-01-24

FS#268 - "naked" pigment statement does not properly override previous pigment

A pigment statement not wrapped in a texture statement does not properly override a pigment previously defined for the object. In the following SDL code:

  #declare PLANE = plane { y,0
    texture {
      pigment { checker color rgb 1 color rgb 0 scale 0.1 }
  } }
  object { PLANE
    pigment { checker color red 1 color blue 1 scale 1.0 }
  }

the scaling of the pigment previously specified for the PLANE object is retained for the new pigment. Compare:

  #declare PLANE = plane { y,0
    texture {
      pigment { checker color rgb 1 color rgb 0 scale 0.1 }
  } }
  object { PLANE
    texture {
      pigment { checker color red 1 color blue 1 scale 1.0 }
  } }

which behaves as expected.

The issue has been around at least since POV-Ray 3.6.2.

Closed by  William F Pokorny
Tuesday, 24 January 2017, 16:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  

Confirmed fixed by git commit 87dd6ee was Christoph Lipka, Mon Dec 16 13:55:18 2013 +0100, corresponding to Perforce changes 6156, 6158.

Note.  FS#268  is not yet listed as fixed in changes.txt.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing