|
|
"Ross" <rli### [at] speakeasynet> wrote in message
news:4558ce0e$1@news.povray.org...
> That's pretty cool.
thanks :)
> I'd like to see what the function is for generating the
> continents. I tried this once and couldn't come up with anything realistic
> or even stylized and unrealistic but visually appealing.
this is the pattern that determines the height of the landscape:
pigment_pattern {
pigment_pattern {
crackle scale .75
poly_wave .125
warp {turbulence .125 lambda 3}
}
pigment_map {
[0 rgb 0]
[1 granite scale 10
scale .5 warp {turbulence .75 lambda 3} scale .5
]
}
}
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
|