|
![](/i/fill.gif) |
"Trevor G Quayle" <Tin### [at] hotmail com> wrote:
> I know i'll probably get shot for this...
>
> But is there any way of adding a crackle pattern that is resolved only on a 2D
> plane rather than 3D space. I haven't looked at the code and don't have the
> means to program and compile it myself at the moment.
>
> I know I can take a 2D slice of the 3D pattern, but that doesn't achieve what I
> want, there are slight differences. The current crackle pattern is a Voronoi
> tesselation (I'm pretty certain) based on points in 3D, I wouldn't think it too
> hard to adapt an additional pattern where the points are only evaluated in 2D
> say on the x-y plane.
>
> I could probably dig aroung the source code myself and figure it out, but I
> don't have a compiler and am not sure how to go about it. What freeware
> compilers are available for Windows XP?
>
> -tgq
Maybe you can convert the pattern into a function and then omit the y
coordinate?
Something like:
#declare FOO = function {pigment {checker}}
pigment
{
function
{
FOO(x,0,z)}
[PIGMENT_MODIFIERS...]
}
}
-Mike
Post a reply to this message
|
![](/i/fill.gif) |