Nav:  [home][render][povray][patches] > [ww-bugifx]
 
← [What are these? Why?]

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

    unpatched [4kb]

     
    Patched

    patch applied [8kb]

    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

    unpatched [3kb]

     
    Patched

    patch applied [3kb]

    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

  • Isosurface accuracy improvement patch.

    For details, see here.

media_attenuation bug

  • Patch against media_attenuation bug (atmospheric effects). Credit: A. Brinkmann

    Unpatched

    unpatched [3kb]

     
    Patched

    patch applied [3kb]

    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.)


[home] [site map]
Valid HTML 4.01!
Copyright © 2004-2005 by Wolfgang Wieser
Last modified: 2005-04-10 16:57:50