Ken wrote:
> Try adding it to the interior statement with a float value.
>
> e.g.- interior { ior 1.5 dispersion 1.2 }
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net
Here is the very small amount of info I have for using the dispersion
patch. You may also need to add the disp_nelems modifier though Nathan
failed to mention whether it is neccessary or not. Read on:
------------
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 dispersion.
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.
-------------
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|