|
|
Wasn't it Lutz-Peter Hooge who wrote:
>Hi everybody
>
>This scene causes PovRay for Windows, Beta 8, to report a
>"Rendering Error: Maximum function evaluation recursion level reached.",
>and crash in the same moment.
>
>When inserting the function explictly everywhere, instaead of #declaring
>it, it starts to render but is extremely slow.
I confirm.
Here's a really weird work round.
Near the top of the scene file add:-
sky_sphere { pigment {
function{abs(y)}
color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
}
}
With this sky sphere it doesn't crash, and renders in a few seconds.
All the scenes in my isosurface tutorial just happen to have this as a
background. They all render if the background is there and crash if it
it's absent.
I think that the key factor here is that if an isosurface is the first
function parsed, then things go horribly wrong (crashes, slow renders
and hangs). But if the isosurface is the second function in the scene,
it's all OK. E.g. adding "#declare foo=function{0}" at the top of the
scene file avoids the problem.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|