POV-Ray : Newsgroups : povray.newusers : Rendering Error: Too many nested textures. Server Time
2 Nov 2024 15:23:47 EDT (-0400)
  Rendering Error: Too many nested textures. (Message 1 to 5 of 5)  
From: Bill Hails
Subject: Rendering Error: Too many nested textures.
Date: 4 Mar 2004 15:40:09
Message: <40479429@news.povray.org>
Rendering Error: Too many nested textures.

I get this about 1/3 of the way through a 1500x1500 render, it doesn't
happen for lower resolutions.

I'm not suggesting it's a bug in pov, but before I either a) try to
reduce the complexity of my textures or b) re-compile pov with a
higher setting for MAX_NESTED_TEXTURES in lighting.cpp (currently
unchanged from 100);
I'm wondering if tripping this limit is a sign of something really
pathologically wrong with my scene file, or is it something that's
more or less likely to happen once in a while.

The actual textures are pretty complex (trying for partly melted snow
on gravel).

I can't find any reference to this error in the docs, and the web
news isn't searchable atm, so sorry if this is a FAQ.
 
-- 
Bill Hails


Post a reply to this message

From: Bernard Hatt
Subject: Re: Rendering Error: Too many nested textures.
Date: 4 Mar 2004 16:13:01
Message: <40479BE6.DD475784@arkady.demon.co.uk>
Bill Hails wrote:
> 
> Rendering Error: Too many nested textures.
> 
> I get this about 1/3 of the way through a 1500x1500 render, it doesn't
> happen for lower resolutions.

I have a recollection of seeing something like this myself with
layered textures, it was in the form of:

blob
{
	[blob-stuff]
	texture{pigment{aaaaa}}	// base colour
	texture{bbbbb}		// semi-transparent layer
	texture{ccccc}		// semi-transparent layer
	texture{ddddd}		// semi-transparent layer
}

where it also gave a "Warning: No pigment type given" at all resolutions,
and the "nested textures" error at high resolutions.

The work around seemed to be to change the base colour from
	texture{pigment{aaaaa}}
to	pigment{aaaaa}

But it's a while since I looked at it so I could be mis-remembering it, and
your problem could be completely different.

Regards,

Bernard


Post a reply to this message

From: Bill Hails
Subject: Re: Rendering Error: Too many nested textures.
Date: 4 Mar 2004 16:27:21
Message: <40479f38@news.povray.org>
Bernard Hatt wrote:

> Bill Hails wrote:
>> 
>> Rendering Error: Too many nested textures.
>> 
>> I get this about 1/3 of the way through a 1500x1500 render, it doesn't
>> happen for lower resolutions.
> 
> I have a recollection of seeing something like this myself with
> layered textures, it was in the form of:
> 
> blob
> {
> [blob-stuff]
> texture{pigment{aaaaa}}       // base colour
> texture{bbbbb}                // semi-transparent layer
> texture{ccccc}                // semi-transparent layer
> texture{ddddd}                // semi-transparent layer
> }
> 
> where it also gave a "Warning: No pigment type given" at all resolutions,
> and the "nested textures" error at high resolutions.
> 
> The work around seemed to be to change the base colour from
> texture{pigment{aaaaa}}
> to    pigment{aaaaa}
> 
> But it's a while since I looked at it so I could be mis-remembering it,
> and your problem could be completely different.
> 
> Regards,
> 
> Bernard

Thanks for that. To my knowlege I'm not using any layered textures,
but I'll double check.

-- 
Bill Hails


Post a reply to this message

From: Christopher James Huff
Subject: Re: Rendering Error: Too many nested textures.
Date: 4 Mar 2004 19:51:01
Message: <cjameshuff-5AF0D3.19520304032004@news.povray.org>
In article <40479429@news.povray.org>,
 Bill Hails <bil### [at] europeyahoo-inccom> wrote:

> Rendering Error: Too many nested textures.

There was just a discussion on this topic in *.general...see the thread 
"render time error" for details:
<http://news.povray.org/povray.general/thread/%3C4040c3be%241%40news.povr
ay.org%3E/>

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

From: Bill Hails
Subject: Re: Rendering Error: Too many nested textures.
Date: 5 Mar 2004 03:32:10
Message: <40483b09@news.povray.org>
Christopher James Huff wrote:

> In article <40479429@news.povray.org>,
>  Bill Hails <bil### [at] europeyahoo-inccom> wrote:
> 
>> Rendering Error: Too many nested textures.
> 
> There was just a discussion on this topic in *.general...see the thread
> "render time error" for details:
> <http://news.povray.org/povray.general/thread/%3C4040c3be%241%40news.povr
> ay.org%3E/>
> 

Ah right, sorry about that.
I recompiled pov with MAX_NESTED_TEXTURES incremented from 100 to 150
and it seems to have got past the problem line in the render.

BTW I spotted some bugs in lighting.cpp, I'll post to a more relevant list
-- 
Bill Hails


Post a reply to this message

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