|
|
Something with an "urban" look, using radial, cells and checker functions for a
heightfield.
Nothing definitive, just a starting point.
Big problem: to give a different texture just to roofs, but I'll post about this
in the general group.
Marco Bernardini
****
camera{
location <0,15,-30> look_at <0,0,0>
right x*image_width/image_height
}
background { rgb 0.7 }
#declare P1=function{
pigment {
radial
translate <5,0,5>
frequency 8
scale 0.1
}
}
#declare P2=function{
pigment {
cells
scale 0.05
}
}
#declare P3=function{
pigment {
checker
scale 0.2
}
}
#declare P=function {
P1(x,y,z).gray
+ P2(x,0,z).gray
+ P3(x,0,z).gray
}
#declare Blocks =
height_field {
function 666, 666 {
P(x,0,y)
}
texture {
pigment {
color rgb 1
}
}
translate <-.5,0,-.5>
}
object {
Blocks
scale <35,5,50>
}
light_source {
<-30, 50, -30>
rgb <1,.2,0>
}
*****
Post a reply to this message
Attachments:
Download 'urban_heightfield.png' (74 KB)
Preview of image 'urban_heightfield.png'
|
|