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 Jeff Wood - 2010-04-01
Last edited by Christoph Lipka - 2010-06-19
Opened by Jeff Wood - 2010-04-01
Last edited by Christoph Lipka - 2010-06-19
FS#92 - Sphere_Sweep Bug
This item may need to be merged with item FS#81. This is another sphere sweep bug, though they are of different spline types.
The code is
#include "colors.inc" camera { location <0, 0.0, -4.0> direction 1.5*z right x*image_width/image_height look_at <0.0, 0.0, 0.0> } light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color translate <-30, 30, -30> } #declare i_start = 0; #declare i_stop = 3; #declare i_step = 0.05; #declare i_inc = i_start; sphere_sweep { linear_spline // linear curve (i_stop - i_start)/i_step + 1, // number of specified sphere positions #while(i_inc<=i_stop) #declare y_coor = 0.23*sin(7.1*i_inc); <i_inc, y_coor, 0>, 0.05 #declare i_inc = i_inc + i_step; #end pigment{color Orange} }
Closed by Christoph Lipka
Saturday, 19 June 2010, 01:13 GMT
Reason for closing: Fixed
Additional comments about closing:
Saturday, 19 June 2010, 01:13 GMT
Reason for closing: Fixed
Additional comments about closing:
No beta tester feedback for way over a
month now; I consider that good news.
Sorry, posted wrong category. Also, did not know how to display image.
Under some circumstances (apparently when the camera is close to the plane perpendicular to the spline, and sufficiently far away), the coefficients of the quadratic polynom to solve grow seriously small, causing some approximation mechanism in the root solver to kick in where it’s not helpful.
The issue seems easy to fix, but I’m not sure yet whether to modify only the spline code or the root solver as such (the latter will obviously affect other geometry for good or for bad).
fixed with change #4944.