POV-Ray : Newsgroups : povray.advanced-users : Too many layers : Re: Too many layers Server Time
30 Jul 2024 10:22:50 EDT (-0400)
  Re: Too many layers  
From: Chris Colefax
Date: 8 Oct 1999 22:15:15
Message: <37fea533@news.povray.org>

> I have a question for the 'POV-oldies' :
>
> For  a rendering, I need to place something like 70 semi-transparent (
> with transmit 1,0) images on a surface.
> POVWIN gets stuck at 30, Pov for Linux does better but still gets stops
> at 50 and tells me :
> 'rendering error, too many layers'
>
> Is there a limit set in the source limiting the number of layers ?
>
> Does anyone know how I could avoid the problem ?

The limit is indeed set in the source code, in LIGHTING.C - for the DOS
version this is right down to just 20 layers.  Apart from adjusting the code
and recompiling, there should be ways around the problem: perhaps you could
use an average pigment of your image maps (if you want to blend them).

If you want the images actually layered perhaps it would be better to
combine the images in a paint program before mapping them onto your surface.
On the other hand, if you wanted to animate the layers changing separately
you could look at using multiple, layered surfaces (with a corresponding
increase in the max_trace_level, of course).


Post a reply to this message

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