POV-Ray : Newsgroups : povray.general : --- : Re: Efficiency question, PovRay 3.1 - intersections? Server Time
3 Aug 2024 12:16:51 EDT (-0400)
  Re: Efficiency question, PovRay 3.1 - intersections?  
From: Andreas Kaiser
Date: 13 Feb 2004 15:09:40
Message: <upaq20h2vam2n06pqkm0n5n2d08ko8n33b@4ax.com>
On Thu, 12 Feb 2004 16:15:30 -0800, Darren <dne### [at] sanrrcom> wrote:

>I'm drawing a building, rendering it with V 3.1. (Willing to switch up, 
>if it'll help, tho. It just happens to be what I have.)
>
>If I trace it at +Q3 with no AA, it renders some 3000 pixels per second. 
>If I trace it at +Q4 with no AA, it renders at some 3 pixels per second.
>
>Yep. a 1000:1 hit there, apparently to calculate the shadows.
>
>Now, the building consists basically of
>
>intersection {
>   union {
>     ... lots of walls ...
>    }
>    union {
>      ... all the doorways and windows ...
>    }
>  }
>followed by lights, furniture, etc. The lights are all point sources 
>with various falloffs.
>[...]

I've posted a patch for an improved intersection routine in p.b.p some
days ago  (<news:4003c00f.84804802@news.povray.org>) which should give
you a significant speed up.
It should be easy to integrate it into 3.1 (the posted patch is for
3.5) but I don't have the sources of 3.1 anymore. I could give you a
Windows 3.5 binary (which probably requires that you 1st install the
official version).
I could do a test render on my machine if you are willing to share the
current (or a comparable) version of your scene to get some timing
values for my version.


-- 
Andreas


Post a reply to this message

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