POV-Ray : Newsgroups : povray.beta-test : Might need a bigger stack for refraction & glass : Might need a bigger stack for refraction & glass Server Time
17 May 2024 07:52:53 EDT (-0400)
  Might need a bigger stack for refraction & glass  
From: Le Forgeron
Date: 21 Jul 2012 11:36:34
Message: <500acc82$1@news.povray.org>
Greeting,

Trying to make a bit of tutorial (how to make glass with liquid without
coincident surface), I was hit by an issue with the stack size.

After 732 function calls, it dumped a core, when entering
ComputeTextureColour from Trace::

How to reproduce: povray -Iglass1.pov +H300 +W600 +A0.0001

Notice that the limit is 255 (and that seems legal).

Lowering the limit to 155 with only the left transparent cylinder is ok,
but still crash once the right cylinder get the same material.

Technical details: povray 3.7RC6, 64 bits linux system.
Compiler seems irrevelant (g++ as well as icpc)

(debug done on g++ version)

Any suggestion (short of limiting the trace level to 5 ) ?


Post a reply to this message


Attachments:
Download 'glass1.pov.txt' (7 KB)

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