|
|
On Tue, 08 Feb 2000 19:00:10 -0800, SamuelT. wrote:
>Hello everybody. Attached is an image showing off a new pigment I found
>today. I've been wanting to create a maze-like pigment for some time
>now. Can you guess how it was done?
Okay, I'm going to assume this is pretty much it until you say otherwise:
#macro MazePigment(Pig1,Pig2)
#local Pig3=pigment {
gradient x
pigment_map {[.25 Pig1][.25 Pig2][.75 Pig2][.75 Pig1]}
warp {repeat x} scale sqrt(2) rotate 45*y
}
function { noise3d(floor(x)+.5,floor(y)+.5,floor(z)+.5) }
pigment_map {
[.5 Pig3 ]
[.5 Pig3 rotate 90*y ]
}
#end
camera {location 80*y sky z look_at 0}
light_source {80*y rgb 1}
plane {y 0
pigment {
MazePigment(pigment{color rgb <.5,.5,1>}, pigment {color rgb 0})
}
}
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
|