POV-Ray : Newsgroups : povray.binaries.scene-files : Trunks Server Time
2 Sep 2024 06:17:54 EDT (-0400)
  Trunks (Message 1 to 1 of 1)  
From: Gena Obukhov
Subject: Trunks
Date: 4 Oct 2002 02:43:47
Message: <3D9D3788.13EC2A04@mail.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.