|
![](/i/fill.gif) |
In article <39A### [at] istar ca>, sde### [at] istar ca wrote:
> Actually, I've found an easier (for me) method.
>
> I took my complex Bozo perlin, and converted it into a function with
> the function{pigment{...}} command in MegaPov. Now that it's a
> function, I can use it like any other pigment type, with
> pigment{function{...}}. A little roundabout, but at least I
> understand how it works.
As I understand it, using a pigment function as a pattern does the exact
same thing as pigment_pattern. The difference is that you have to
declare a separate function and use that as a pattern, but it allows you
to manipulate the pattern in whatever way you want.
Not really pertinent to this problem, but I personally would prefer it
if functions took *patterns*. You could use pigments with
pigment_pattern to get the same results as a pigment function does now,
but could use plain patterns if you wanted, without any computational
overhead of evaluating a pigment. But I doubt this will happen any time
soon, since I don't know how to implement it.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |