POV-Ray : Newsgroups : povray.general : Cheapest possible primitive? : Re: Cheapest possible primitive? Server Time
30 Jul 2024 16:26:13 EDT (-0400)
  Re: Cheapest possible primitive?  
From: Dan Connelly
Date: 14 Nov 2008 08:39:57
Message: <491d7fad@news.povray.org>
David Buck wrote:
> SharkD wrote:
>> For testing purposes I would like to plot a large number of objects 
>> using a
>> function. I want the scene to render as quickly as possible. Which 
>> primitive
>> should I choose? What other settings should I enable/disable?
>>
>> -Mike
>>
>>
> 
> Spheres would be the cheapest shape. Obviously turning off reflection 
> and refraction would make it faster. If you also turn off diffuse and 
> turn up ambient there would be no need for shadow calculations and no 
> need for light sources.   You'd get a very boring rendering (just 
> colored circles) but it would render quickly.
> 
> David Buck

A quick way to reduce rendering time is by decreasing the quality setting (+Q from the
command line).

The example in the POV docs of implementing a ray tracer in the SDL uses only spheres,
I believe.  With spheres you can do planes, then with a CSG you can do basically
anything.

Dan


Post a reply to this message

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