Details on bugfix patch for POVRay
Note: You can download the patch diff on the
parent page.
Parametric object issue
-
Patch against out-of-bounds array indexing in parametric object code for
too small accuracies. Accurary will now be reduced when the sector limit is
reached.
Unpatched versions may decide to crash when fed with the following
scene file: parametric-crash.pov. However,
although the out-of-bounds array access happens, a crash is not guaranteed
to take place; if not you should at least observe image distortion.
-
Fix parametric object getting completely black due to self-shadowing.
Credit: Massimo Valenti
Unpatched
|
|
Patched
|
In the unpatched version, the parametric object turns out to be
completely black due to self-shadowing.
Test scene: parametric-shadow.pov
Bezier bicubic patch
-
Patch against two "copy-n-paste typos" in bezier.cpp found by
Gianluca Arcidiacono by looking at the code.
Unpatched
|
|
Patched
|
Moving the green point over to the red, the bug will be triggered once
both control points match (right bottom part of image);
see the sequence above.
Test scene engineered by me based on example code in POVRay documentation.
Test scene: bezier-test.pov
Standalone patch: bezier.diff
Isosurface accuracy improvement
media_attenuation bug
-
Patch against media_attenuation bug (atmospheric effects).
Credit: A. Brinkmann
Unpatched
|
|
Patched
|
In the unpatched version, you can see that the transparent object
is casting a (fairly large) shadow on the ground; this is fixed by
the patch.
Test scene: media_attenuation.pov
The rest of the patch
-
Isosurface warning patch (use floaing decimal point for accuracy values).
(Direct verification in source code.)
-
Some minor things.
(Direct verification in source code.)
|