POV-Ray : Newsgroups : povray.unofficial.patches : Dispersion patch docs? Server Time
2 Sep 2024 18:15:42 EDT (-0400)
  Dispersion patch docs? (Message 1 to 3 of 3)  
From: cadman
Subject: Dispersion patch docs?
Date: 4 Jul 1999 18:27:30
Message: <377fdfd2@news.povray.org>
Where can I find the docs for Mr. Wilson's dispersion patch?  All my
searches turn up 404'd.


Post a reply to this message

From: Ken
Subject: Re: Dispersion patch docs?
Date: 4 Jul 1999 19:06:40
Message: <377FE8B2.44EFC6E0@pacbell.net>
cadman wrote:
> 
> Where can I find the docs for Mr. Wilson's dispersion patch?  All my
> searches turn up 404'd.

  About the only thing I know exsists as far as documentation is the
little bit that Mike Hough provided with his windows compile of it.
The usage portion of the tiny text file is below:


------------
  The new dispersion feature creates a prismatic color effect in
refractive objects. It does this by refracting different colors
(wavelengths) differently within the object interior.  There are
two new keywords to control the effect.  They should be placed in
interior.

dispersion float - 

   Controls the amount of dispersion to be used.  A value of 1 is
no dispersion. Values around 1.1 or 1.2 seem to work well in most
situations.

disp_nelems integer -

  Specifies how many different colors should be used to samples the
disperion. The default is 7, but higher values are really needed to
get a good result. At around 50 disp_nelems the colors start to look
more accurate and at 100 it looks very smooth at normal resolutions.

  In this compile there is no way to turn the dispersion off and images
can suffer as a result unless the disp_nelems is set to a high value,
even when dispersion is set to one.  It manifests itself as a yellowing
hue on refractive objects.  I recommend using the official version of
POV-Ray when the dispersion feature is not wanted.  Another thing to
look out for is an odd bug that causes the dispersion to disappear if
the render is interupted.  I suppose the positive thing that can be
gleaned from this is that it gets around the previously mentioned problem. :)

I suppose that covers the important stuff.


-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Mike
Subject: Re: Dispersion patch docs?
Date: 4 Jul 1999 23:47:16
Message: <3780290B.E55E32EC@aol.com>
I fixed the render interuption problem, which presumably got passed on to
everyone else.  I think it's fixed in the last compile I released too.

I'm not certain if I included code to turn off dispersion if the amount is set to
1, though I think I did that too.  Hmm...

One more thing.  Although dispersion 1.1 or 1.2 can look nice, more accurate
values are like 1.001.

-Mike


Post a reply to this message

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