POV-Ray : Newsgroups : povray.binaries.images : A study in Heatsinks : Re: A study in Heatsinks Server Time
7 Nov 2024 07:34:18 EST (-0500)
  Re: A study in Heatsinks  
From: clipka
Date: 2 Aug 2016 23:30:49
Message: <57a16569$1@news.povray.org>
Am 02.08.2016 um 22:55 schrieb Bald Eagle:

>> However, the main factor is the careless use of `difference`. For
>> instance, a heat sink modeled as a union of a base and 11x11 = 121
>> individual "fingers" renders about 10 times as fast as a heat sink
>> modeled as a single block with 2x10 = 20 "grooves" cut into it.
>>
>> As a rule of thumb, avoid `difference` wherever possible.
> 
> Really???   My heatsinks are ALL primarily made with loops of differences.  I
> try to avoid them, after reading Mike Williams' page about holes, but they are
> convenient.   It must be something else slowing down that scene.

Sorry, I made the "main factor" statement above in error, based on the
factor 4 speedup for making the area lights adaptive. I hadn't measured
the speedup for eliminating the area lights classic entirely.

It turns out that the area lights account for a factor of about 40,
which is obviously more than the factor of 10 for the differences.

Still, avoiding differences does pay off -- and in contrast to avoiding
area lights it doesn't reduce the render quality.


Post a reply to this message

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