POV-Ray : Newsgroups : povray.general : Max_trace_level larger than 256? : Re: Max_trace_level larger than 256? Server Time
30 Jul 2024 10:16:00 EDT (-0400)
  Re: Max_trace_level larger than 256?  
From: clipka
Date: 11 Mar 2009 18:25:01
Message: <web.49b83957326e0563801985dd0@news.povray.org>
"Mike" <win### [at] hotmailcom> wrote:
> I have been running an egg crate pattern of two different IOR regions unioned
> together.  It seems to nearly work, but it seems to max out the trace level
> "256/256" when I up the frequency of the pattern.  This probably makes sense
> since there will be more internal reflections depending on the freq. of my
> pattern.  But, is there anyway to increase the max_trace_level to a value
> larger than 256? Maybe there is a patch/hack of the source code?

Just came across the answer to your first original question:

This is limited by the constant MAX_TRACE_LEVEL_LIMIT, defined in
configbackend.h; its only purpose seems to be to provide for a "sanity check"
of the max_trace_level setting, so basically it should be possible to pick any
other aribitrary value like, say, 1024, or remove the check altogether.
However, there will be *some* limit to it imposed by the memory available, and
POV will probably crach if it reaches this limit. It will also affect render
time, of course.


Post a reply to this message

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