POV-Ray : Newsgroups : povray.general : Q: max_trace_level with POV 3.02? : Re: Q: max_trace_level with POV 3.02? Server Time
12 Aug 2024 23:17:03 EDT (-0400)
  Re: Q: max_trace_level with POV 3.02?  
From: Nieminen Mika
Date: 16 Dec 1998 09:36:53
Message: <3677c585.0@news.povray.org>
Swift <swi### [at] fanprocom> wrote:
: but when I increase the max_trace_level-value to 35 for example, POV for
: Win 3.02 crashes when rendering the scene

  This is a "known" bug.
  I think that it's a stack overflow problem.
  Reflections and refractions mean recursive functions calls. Recursive
function calls mean using of stack. When the stack is full and there's no
stack overflow checking, the program crashes.
  Watcom links a 8k stack by default. This is too little.
  I just tested Povray 3.02 for UNIX with max_trace_level set to 150 and no
problem. I think there's no stack limit in UNIX.

  I think that your only chance is to recompile povray with a bigger stack.

-- 
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/


Post a reply to this message

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