POV-Ray : Newsgroups : povray.general : stack overflow exception Server Time
5 Nov 2024 07:17:53 EST (-0500)
  stack overflow exception (Message 1 to 3 of 3)  
From: Andrew Rowson
Subject: stack overflow exception
Date: 24 May 2003 16:37:50
Message: <3ecfd81e$1@news.povray.org>
I'm trying to render fractals via an iterative method and it gets about 3%
in and complains of a stack overflow exception. What exactly is causing
this?


Post a reply to this message

From: Warp
Subject: Re: stack overflow exception
Date: 24 May 2003 20:45:08
Message: <3ed01213@news.povray.org>
Andrew Rowson <pov### [at] growsecom> wrote:
> I'm trying to render fractals via an iterative method and it gets about 3%
> in and complains of a stack overflow exception. What exactly is causing
> this?

  Showing some (minimal) code can help solving the problem (or at least
finding it).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Slime
Subject: Re: stack overflow exception
Date: 26 May 2003 03:33:59
Message: <3ed1c367@news.povray.org>
> I'm trying to render fractals via an iterative method and it gets about 3%
> in and complains of a stack overflow exception. What exactly is causing
> this?

You're using recursion that's going too "deep." If you're using functions
especially, you need to limit the recursion level. I'm not sure what the
limit is, but it's in the documentation somewhere.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

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