|
![](/i/fill.gif) |
camera {
location <0, 4, -6.5>
look_at <0, 4, 0>
}
light_source {<-6, 5, -7> color rgb 1}
background{color rgb<0.6, 0.7, 1>*1.3}
#declare Bark1 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb <0.9, 0.7, 0.6>*0.6]
[1 rgb <0.85, 0.8, 0.79>]
}
scale 0.2
scale<0.25, 0.6, 0.25>
}
#declare P1 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb 1]
[1 rgb 0]
}
scale 0.2
scale<0.25, 0.6, 0.25>
}
#declare F1 = function{
pigment{P1}
}
#declare Trunk1 = isosurface {
function { x*x + z*z - 1 + F1(x,y,z).grey*0.1}
max_gradient 3
contained_by{box{<-1, 0, -1>, <1, 30, 1>}}
pigment{Bark1}
finish {ambient 0.2 phong 0}
scale<0.25, 0.6, 0.25>
}
#declare Bark2 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb <0.9, 0.7, 0.6>*1.2]
[1 rgb <0.9, 0.7, 0.6>*0.5]
}
scale 0.2
}
#declare P2 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb 1]
[1 rgb 0]
}
scale 0.2
}
#declare F2 = function{
pigment{P2}
}
#declare Trunk2 = isosurface {
function { x*x + z*z - 1 + F2(x,y,z).grey*0.3}
max_gradient 3
contained_by{box{<-1, 0, -1>, <1, 30, 1>}}
pigment{Bark2}
finish {ambient 0.2 phong 0}
scale<0.3, 0.6, 0.3>
}
#declare Bark3 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb <0.9, 0.7, 0.6>*0.5]
[0.6 rgb <0.9, 0.7, 0.6>*1.2]
}
scale 0.2
}
#declare P3 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb 1]
[0.55 rgb 0]
}
scale 0.2
}
#declare F3 = function{
pigment{P3}
}
#declare Trunk3 = isosurface {
function { x*x + z*z - 1 + F3(x,y,z).grey*0.04}
max_gradient 3
contained_by{box{<-1, 0, -1>, <1, 30, 1>}}
pigment{Bark3}
finish {ambient 0.2 phong 0.1}
scale<0.3, 1.4, 0.3>
}
#declare Bark4 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb 0.1]
[0.5 rgb 1.2]
}
scale<1, 0.25, 1>
}
#declare P4 = pigment{
wrinkles
turbulence 0.1
color_map {
[0 rgb 1]
[0.5 rgb 0]
}
scale<1, 0.25, 1>
}
#declare F4 = function{
pigment{P4}
}
#declare Trunk4 = isosurface {
function { x*x + z*z - 1 + F4(x,y,z).grey*0.08}
max_gradient 3
contained_by{box{<-1, 0, -1>, <1, 150, 1>}}
pigment{Bark4}
finish {ambient 0.2 phong 0.05}
scale<0.2, 0.3, 0.2>
}
object{Trunk1 scale 2.5 translate -x*3}
object{Trunk2 scale 2.5 translate -x*1}
object{Trunk3 scale 2.5 translate x*1}
object{Trunk4 scale 2.5 translate x*3}
Post a reply to this message
|
![](/i/fill.gif) |