|
|
On Tue, 18 Jan 2000 14:45:06 +0100, Sander wrote:
>Now re-reading my post it seems very unclear to me too!
>What I am after is a floor with long rows of stones having equal widths but
>lengths differing slightly and randomly. Like:
>-------------------------------------------------------
> | | | | | |
>-------------------------------------------------------
> | | | | | |
>-------------------------------------------------------
>This would result in rows of stones that are all different from each
>other....
Note: this requires the superpatch or megapov for the planar and
reset_children warps. Followups set to povray.text.scene-files.
---------- code begins here ------------
#macro Irregular_Bricks( Brick, Mortar, MortarThick, Vary )
gradient z
pigment_map {
[MortarThick Mortar]
[MortarThick gradient x
pigment_map {[MortarThick Mortar][MortarThick Brick]}
translate 1000*x
warp {turbulence Vary octaves 1}
warp {planar z 0}
warp {reset_children}
]
}
warp {repeat z offset 97.5*x}
#end
camera {location 5*y sky z look_at 0}
light_source {5*y rgb 1}
plane {y,0
texture {
pigment {
Irregular_Bricks(
pigment {bozo color_map {[0 rgb .5][1 rgb .8]} scale <.1,.1,.2>},
pigment {bozo color_map {[0 rgb .9][1 rgb 1]} scale <.05,.05,.1>},
.1,
.5
)
scale <1,1,.5>
}
}
}
---------- code ends here ------------
--
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
|
|