POV-Ray : Newsgroups : povray.general : Cheapest possible primitive? Server Time
30 Jul 2024 18:14:13 EDT (-0400)
  Cheapest possible primitive? (Message 1 to 4 of 4)  
From: SharkD
Subject: Cheapest possible primitive?
Date: 13 Nov 2008 23:50:00
Message: <web.491d028c170fac0181af21ed0@news.povray.org>
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


Post a reply to this message

From: David Buck
Subject: Re: Cheapest possible primitive?
Date: 14 Nov 2008 05:47:57
Message: <491d575d@news.povray.org>
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


Post a reply to this message

From: Dan Connelly
Subject: Re: Cheapest possible primitive?
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

From: SharkD
Subject: Re: Cheapest possible primitive?
Date: 14 Nov 2008 17:40:01
Message: <web.491dfdd1e403b977d9463f370@news.povray.org>
Dan Connelly <djc### [at] yahoocom> wrote:
> 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 c
an do planes, then with a CSG you can do basically anything.
>
> Dan


OK, thanks!


Post a reply to this message

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