POV-Ray : Newsgroups : povray.beta-test : [SOR] Bug still there ... : Re: [SOR] Bug still there ... Server Time
5 Nov 2024 01:24:38 EST (-0500)
  Re: [SOR] Bug still there ...  
From: Nathan Kopp
Date: 28 Sep 2001 00:27:33
Message: <3bb3fc35$1@news.povray.org>
"Jan Walzer" <jan### [at] lzernet> wrote...
>     sor {
>         #declare Value=0.2
>        5,
>        <0.0,   -1.0>
>        <0.0,   -0.5>
>        <Value,   0.5>   // <------ change Value to 0.15 or lower ... and
see

It is possible that the first two points, combined with a third point with a
height of 0.15, will cause the cubic spline to dip below a height of 0.0.
That would cause problems for the root solver.  Render with the values below
to see how the curve is concave, and how two zero-height points could cause
the SOR height to drop below 0.0.

Therefore, this is not really a bug, but a strange limitation of the SOR
object.

-Nathan


    sor {
        #declare Value=0.1
       5,
       <0.013,   -1.0>
       <0.013,   -0.5>
       <Value,   0.5>   // <------ change Value to 0.15 or lower ... and see
       <0.3,   1.0>
       <0.4,   1.5>
       rotate z*90
        pigment{color rgb 1}
        sturm
    }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.