|
|
David Fontaine <dav### [at] faricynet> wrote
> This code crashes MegaPOV 0.4 and 0.5. (Oh, and it's not the tan(pi/2),
> because changing the v-bound to pi-.001 or similar does not fix it.)
>
> #include "colors.inc"
> #version unofficial MegaPOV 0.5;
>
> #declare KuenSurface = parametric {
> function (2*sqrt(1+u^2)*cos(u-atan2(u,1))*sin(v))/(1+u^2*sin(v)^2),
> (2*sqrt(1+u^2)*sin(u-atan2(u,1))*sin(v))/(1+u^2*sin(v)^2),
> ln(tan(.5*v))+(2*cos(v))/(1+u^2+sin(v)^2)
> <0,0>,<2*pi,pi>
> <-5,-5,-5>,<5,5,5>
> }
>
I get a "illegal operation" and program abort with WinMegaPOV
but not with DOS MegaPOV. Usually such things are vice versa,
(DJGPP compile seems more sensitive to memory mishandling) and
that makes me more curious.
Post a reply to this message
|
|