POV-Ray : Newsgroups : povray.general : why are differences soooo slow? : why are differences soooo slow? Server Time
11 Aug 2024 23:24:04 EDT (-0400)
  why are differences soooo slow?  
From: Rainer Mager
Date: 26 Apr 1999 22:08:02
Message: <37250df2.0@news.povray.org>
Hi all,

    I may very well answer my own question here but here goes anyway.

    What are difference CSG operations so darn slow? I had a basic box from
which I was trying to cust about 200 holes. When I did this the render too
for ever and the stats showed LOTS of cylinder checks (the holes were made
with cylinders).
    I decided to fake it by just placing very thin black cylinders instead
of holes because in my case the underside of the box was not to be seen and
since it was dark inside these black cylinders made it look like holes to
the inside. This rendered very quickly with many fewer cylinder checks.
    So, my hopothysis is this...on the second case, as soon as the box or
black cylinder objects are found by a cast ray, the ray is ended and the
pixel is plotted. In the first case, when a ray enters a hole it must check
and recheck many times for other objects as it passes through the hole,
hence the higher stats and the slower render.

    Is this correct? Is there any way to make the holes and have a
reasonable render time?

Thanks,

--Rainer


Post a reply to this message

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