POV-Ray : Newsgroups : povray.general : why are differences soooo slow? : Re: why are differences soooo slow? Server Time
14 Nov 2024 21:13:31 EST (-0500)
  Re: why are differences soooo slow?  
From: Ron Parker
Date: 28 Apr 1999 10:29:59
Message: <37270d57.0@news.povray.org>
On Wed, 28 Apr 1999 11:46:37 +0900, Rainer Mager wrote:
>and my view of this scene basically is just this box thingy. Is there any
>way to speed this up? If I bound the whole thing it doesn't help because
>every ray hits it anyway. I can try to strategically bind the cylinders but
>this doesn't seem to help much at all. 

You are correct.  When POV is testing whether a hit is inside, it ignores 
bounded_by.  To me, that feels like a bug.  But you wouldn't gain much by
bounding the cylinders anyway.  What would be nice is if POV could use better
internal structures to allow it to do bounding more efficiently on large
CSG objects, as it currently traverses a linked list to find hits and/or
test insideness.

>The only way I can think of that
>would help significanly is making a lot of small boxes with singly cylinder
>differences and then putting all of them together to seem like a single
>large box. 

I tried this when I was trying to model a sponge and I never did get something
that looked quite right.


Post a reply to this message

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