POV-Ray : Newsgroups : povray.general : Speed up Boolean : Re: Speed up Boolean Server Time
30 Jul 2024 12:30:19 EDT (-0400)
  Re: Speed up Boolean  
From: Alain
Date: 11 Feb 2009 12:28:49
Message: <49930ad1$1@news.povray.org>
P Brewer nous illumina en ce 2009-02-08 20:16 -->
> Are there any tricks to speed up "complex" boolean objects?
> 
> I have a hockey puck, with several thousand small prisms cut from the side to
> make a knurl texture on the side. I've manually bounded the puck, but POV still
> crawls once it starts rendering that surface.
> 
> I'm hoping that by altering the way I put the initial objects together, I can
> speed it up.
>
When you remove pieces with a difference, you get all component's bounding boxes 
to overlap. Each is tested against every bounding boxes, ans each components.

Instead of removing small bits, try making the base shape a little smaller, and 
ADD in an union the small prisms to acheive the same aspect.

Even faster, try using some normals. Chances are that the difference will be 
minimal, barely visible, if you can spot a difference.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when your idea of a complete computer 
is a fast CPU, lots of RAM, and a means of running POVray.
Aaron Gage a.k.a Slartibartfast


Post a reply to this message

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