POV-Ray : Newsgroups : povray.advanced-users : max_intersections problem Server Time
1 Nov 2024 19:16:54 EDT (-0400)
  max_intersections problem (Message 1 to 4 of 4)  
From: Christoph Hormann
Subject: max_intersections problem
Date: 8 Feb 2001 13:01:28
Message: <3A82DEF8.8D3F50A6@gmx.de>
I'm working on my IRTC entry and am continuously getting I-Stack overflows
although i'm already using max_intersections above 1000.  

1) Are there other things apart from intersection/difference affecting
this and what are the CSG constructions needing a high max_intersections -
intersections containing a lot of objects or highly nested CSG?

2) How does increasing max_intersections influence the rendering speed in
general, anyone any experience concerning that?

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Alf Peake
Subject: Re: max_intersections problem
Date: 10 Feb 2001 18:44:57
Message: <3a85d279@news.povray.org>
If its any help - I had a problem using around 6000 spheres to make a
rounded (welded) inside corner on a curve. Using merge{} instead of
union{} and playing with max_trace_level and
max_intersections in global settings eventualy helped.

Except in glass objects with that obstinate couple of black pixels, I
can't see much change increasing m_t_l above around 30. Sorry, but I
don't remember what m_i did to speed.

I used DOS versions of pov3.1g and mp0.6 and the stats output gave
useful help about progress.

Alf

"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3A82DEF8.8D3F50A6@gmx.de...
>
> I'm working on my IRTC entry and am continuously getting I-Stack
overflows
> although i'm already using max_intersections above 1000.
>
> 1) Are there other things apart from intersection/difference
affecting
> this and what are the CSG constructions needing a high
max_intersections -
> intersections containing a lot of objects or highly nested CSG?
>
> 2) How does increasing max_intersections influence the rendering
speed in
> general, anyone any experience concerning that?
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmxde>
> IsoWood include, radiosity tutorial, TransSkin and other
> things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: max_intersections problem
Date: 12 Feb 2001 07:15:30
Message: <3a87d3e2@news.povray.org>
Alf Peake <alf### [at] peake42freeservecouk> wrote:
: I had a problem using around 6000 spheres to make a
: rounded (welded) inside corner on a curve.

  Unrelated to the thread, but...
  When you need that huge amount of spheres to make something that's usually
an indication that using (only) spheres is not the best solution.

  Usually when making curved pipes or whatever, one of the best solutions is
to use cylinders to connect the points and spheres (with equal radius) at
the connection points.
  There are, of course, other solutions as well.

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

From: Christoph Hormann
Subject: Re: max_intersections problem
Date: 12 Feb 2001 09:24:48
Message: <3A87F230.54E25C88@gmx.de>
Alf Peake wrote:
> 
> If its any help - I had a problem using around 6000 spheres to make a
> rounded (welded) inside corner on a curve. Using merge{} instead of
> union{} and playing with max_trace_level and
> max_intersections in global settings eventualy helped.
> 
> Except in glass objects with that obstinate couple of black pixels, I
> can't see much change increasing m_t_l above around 30. Sorry, but I
> don't remember what m_i did to speed.
> 
> I used DOS versions of pov3.1g and mp0.6 and the stats output gave
> useful help about progress.
> 

Thanks, although it does not help much in this case.  I now use
max_intersections 2000 and it works while not being recognizable slower.  

It would of course be nice to have something like 'eval' for
max_intersections meaning to have a high limit and testing how much of it
is used.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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