POV-Ray : Newsgroups : povray.advanced-users : Dispersion Server Time
31 Oct 2024 16:14:49 EDT (-0400)
  Dispersion (Message 1 to 3 of 3)  
From: Andrew the Orchid
Subject: Dispersion
Date: 14 Mar 2005 14:56:39
Message: <4235ec77@news.povray.org>
Turning on dispersion seemed to produce a really huge speed reduction - 
even with it set to only 2 samples. I was expecting it to be 
approximately 2 times slower... but it seems vastly slower than that. 
(It goes from thousands of pixels per second down to 40 or so.)

Can anyone explain to me why that is? What have I missed here?


Post a reply to this message

From: PM 2Ring
Subject: Re: Dispersion
Date: 7 Apr 2005 12:55:00
Message: <web.42556517786e71d93d6ca37a0@news.povray.org>
Andrew the Orchid <voi### [at] devnull> wrote:
> Turning on dispersion seemed to produce a really huge speed reduction -
> even with it set to only 2 samples. I was expecting it to be
> approximately 2 times slower... but it seems vastly slower than that.
> (It goes from thousands of pixels per second down to 40 or so.)
>
> Can anyone explain to me why that is? What have I missed here?

I'm only guessing, but I think that the dispersion is allowing rays to get
to places in your scene that they weren't reaching without dispersion and
they're getting involved in more reflections. Also, dispersion does weird,
unreal-looking things with less than 5 samples.


Post a reply to this message

From: Lonnie
Subject: Re: Dispersion
Date: 11 Jul 2005 03:55:01
Message: <web.42d22536786e71d9328c25a60@news.povray.org>
Andrew the Orchid <voi### [at] devnull> wrote:
> Turning on dispersion seemed to produce a really huge speed reduction -
> even with it set to only 2 samples. I was expecting it to be
> approximately 2 times slower... but it seems vastly slower than that.
> (It goes from thousands of pixels per second down to 40 or so.)
>
> Can anyone explain to me why that is? What have I missed here?

Really you have missed nothing - dispersion is one of the most CPU intensive
effects that POV can do, especially if you are using photon mapping, media
or radiosity at the same time.  Using them all together on my 2.10 GHz
Athlon 3000+ routinely results in renders that take days or even weeks.  A
rate of less than 10 PPS is common.  A high dispersion_samples value (50 or
more) slows things down but it's worth the time for your final render. If
you really want to see the full-blown effect of dispersion, using photons
is the only way to go since they will project caustics outside the object
anywhere, even onto atmospheric or object media, not just in the shadow.
(tip: when using photons with media you must add a photon block with target
to your media container.) If it is a CSG object with difference you are
using with photons and dispersion(like a cut gemstone), consider bounding
the object by hand - it can really speed things up.  Also, careful use of
spotlights can make a difference since the light only goes where it's
needed.  Check out the consts.inc file docs for a list of materials, their
iors, and dispersion amounts.  Good luck


Post a reply to this message

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