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#12 - facets pattern in normal map

Attached to Project: POV-Ray
Opened by Tim Attwood (TimA) - Saturday, 09 May 2009, 22:27 GMT
Last edited by Grimbert Jérôme (Le_Forgeron) - Sunday, 09 September 2012, 17:19 GMT
Task Type Definite Bug
Category Backend → Texture/Material/Finish
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Very Low
Priority Normal
Reported Version 3.70 beta 32
Due in Version 3.70 RC6
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Using a facet pattern in a normal map results in a unspecified error in Evaluate_TPat at the render stage.
This probably should be caught at parse time to give a more descriptive error and a line number.

Example:

sphere {
  0, 1
  texture{
    pigment{rgb <1,1,1>}   
    normal {
      facets
      normal_map {
         [0 bumps ]
         [0.5 facets ]
         [1 bumps ]
      }
    } 
  }
}
This task depends upon

Closed by  Grimbert Jérôme (Le_Forgeron)
Sunday, 09 September 2012, 17:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Tested with official 3.7RC6: fine, error line is correct, message seems clear.
Comment by Christoph Lipka (clipka) - Sunday, 10 May 2009, 00:35 GMT
  • Field changed: Status (Unconfirmed → New)

Confirmed with beta.32 based development version.

Note that the offending construct is “facets normal_map {...}”, not the “facets” statement appearing inside the normal_map block (which can be replaced with e.g. “bozo” with the same effect).

Also note that the render-time abort matches behavior of version 3.6.

Comment by Thorsten Fröhlich (thorsten) - Tuesday, 23 August 2011, 06:52 GMT

What is the status of this?

Comment by Christoph Lipka (clipka) - Thursday, 25 August 2011, 18:42 GMT

nothing new from my side; Chris?

Comment by Christoph Lipka (clipka) - Tuesday, 21 February 2012, 08:14 GMT
  • Field changed: Task Type (Possible Bug → Definite Bug)
  • Field changed: Status (Assigned → Requires testing)
  • Field changed: Percent Complete (0% → 100%)
  • Task reassigned to Christoph Lipka (clipka)

I took the liberty to “steal” this task from Chris, and fix this with change #5610 as suggested.

Loading...