POV-Ray : Newsgroups : povray.text.scene-files : A celtic cross Server Time
21 Dec 2024 22:15:48 EST (-0500)
  A celtic cross (Message 1 to 1 of 1)  
From: Meothuru
Subject: A celtic cross
Date: 19 Jan 2009 05:40:00
Message: <web.4974585d45cfddeaa21d45d60@news.povray.org>
// Please render with:  800x600, AA 0.3  (or better)
// This is  *NO HANDRWITTEN* SDL-Code.
// It is machine-generated(exported) SDL-Code
// from the KPOV-Modeler

global_settings {
   adc_bailout 0.00392157
   assumed_gamma 1.5
   noise_generator 2
}

#declare Stone_Texture = texture {
   pigment {
      leopard
      turbulence <1, 0.5, 1>
      omega 1
      lambda 3

      color_map {
         [ 0 color rgb <0.341176, 0.341176, 0.341176>    ]
         [ 0.5 color rgb <0.709804, 0.709804, 0.654902>    ]
         [ 0.75 color rgb <0.854902, 0.858824, 0.835294>   ]
         [ 1 color rgb <0.768627, 0.792157, 0.792157>     ]
      }
      matrix < 5, 0, 0,
               1, 3, 0,
               0, 0, 5,
               0, 0, 0 >
   }

   normal {
      leopard
      turbulence <1, 0.5, 1>
      omega 1
      lambda 3

      slope_map {
         [ 0 <0, 0>  ]
         [ 0.1 <10, 0>  ]
      }
      matrix < 5, 0, 0,
               1, 3, 0,
               0, 0, 5,
               0, 0, 0 >
      bump_size 1
   }
}

sky_sphere {
   pigment {  color rgbf <0.066667, 0.062745, 0.066667, 0.667>  }
}

plane {   <0, 1, 0>, 0

   pigment {
      gradient <0, 1, 0>
      turbulence <0.5, 0.5, 0.5>

      pigment_map {
         [ 0.5 wrinkles
         color_map {
            [ 0 color rgb <0.16763, 0.15978, 0.18724>    ]
            [ 1 color rgb <0.215686, 0.215686, 0.215686>   ]
         }
         scale 0.00666667
         ]
         [ 1 wrinkles

         color_map {
            [ 0 color rgb <0.21479, 0.21479, 0.21479>   ]
            [ 1 color rgb <0.145098, 0.141176, 0.152941>  ]
         }
         scale 0.00666667
         ]
      }
      matrix < 0.5, 0, 0,
               -1, 1, 0,
               0, 0, 0.05,
               0, 0, 0 >
      rotate <0, 0, 0>
   }

   finish {
      phong 0.1
      phong_size 5
   }
   translate y*(-6.12)
}

// Celtic Cross
union {
   difference {
      //*PMName Wreath
      cylinder {    <0, 0, 0.4>, <0, 0, -0.4>, 1  }
      cylinder {  <0, 0, 0.501>, <0, 0, -0.501>, 0.809  }
      scale <1.618, 1.618, 1>
      texture {  Stone_Texture  }
   }

   difference {
      //*PMName Cross

      union {
         difference {
            union {
               box {  <-0.5, -4.3, -0.5>, <0.5, 2.3, 0.5>  }
                box {  <-2, -0.5, -0.5>, <2, 0.5, 0.5>   }
            }

            box {  <-0.41, -4.21, -0.51>, <0.41, 2.21, -0.429>   }
            box {  <-1.91, -0.41, -0.50001>, <1.91, 0.41, -0.429001>  }
         }

         cylinder {  <0, 0, 0.5>, <0, 0, -0.5>, 0.25
            translate <0.5, 0.5, 0>
         }

         cylinder {  <0, 0, 0.5>, <0, 0, -0.5>, 0.25
            translate <-0.5, 0.5, 0>
         }

         cylinder {   <0, 0, 0.5>, <0, 0, -0.5>, 0.25
            translate <-0.5, -0.5, 0>
         }

         cylinder {   <0, 0, 0.5>, <0, 0, -0.5>, 0.25
            translate <0.5, -0.5, 0>
         }
      }

      cylinder {   <0, 0, 0.501>, <0, 0, -0.501>, 0.19
         translate <0.5, 0.5, 0>
      }

      cylinder {  <0, 0, 0.501>, <0, 0, -0.501>, 0.19
         translate <-0.5, 0.5, 0>
      }

      cylinder {  <0, 0, 0.501>, <0, 0, -0.501>, 0.19
         translate <-0.5, -0.5, 0>
      }

      cylinder {   <0, 0, 0.501>, <0, 0, -0.501>, 0.19
         translate <0.5, -0.5, 0>
      }

      box { <-0.5, -0.5, -0.5002>, <0.5, 0.5, 0.5002>
         translate <1.0001, 1.0001, 0>
      }

      box { <-0.5, -0.5, -0.5002>, <0.5, 0.5, 0.5002>
         translate <-1.0001, 1.0001, 0>
      }

      box {  <-0.5, -0.5, -0.5002>, <0.5, 0.5, 0.5002>
         translate <-1.0001, -1.0001, 0>
      }

      box {
         <-0.5, -0.5, -0.5002>, <0.5, 0.5, 0.5002>
         translate <1.0001, -1.0001, 0>
      }
   }

   difference {
      //*PMName Base of the cross

      box {  <-1, -0.6, -0.5>, <1, 0.5, 0.5>
         translate y*(-4.8)
      }

      cylinder {  <0, 0, -0.5001>, <0, 0, 0.5001>, 0.5
         translate <1, -4.3, 0>
      }

      cylinder {  <0, 0, -0.5001>, <0, 0, 0.5001>, 0.5
         translate <-1, -4.3, 0>
      }
   }

   union {
      //*PMName Pedestal

      box { <-2.5, -0.1, -2>, <2.5, 0.1, 2>  }
      box {  <-2.3, -0.1, -1.8>, <2.3, 0.1, 1.8>
         translate y*(-0.2)
      }

      box {  <-2.2, -2, -1.7>, <2.2, 2, 1.7>
         translate y*(-2.3)
      }

      box {  <-2.3, -0.1, -1.8>, <2.3, 0.1, 1.8>
         translate y*(-4.4)
      }

      box {  <-2.5, -0.1, -2>, <2.5, 0.1, 2>
         translate y*(-4.6)
      }
      translate y*(-5.5)

      texture {  Stone_Texture   rotate y*(-90)   }
   }

   texture {  Stone_Texture  }
   translate y*4.1
}

light_source {
   //*PMName Key-Light
   <10, 7, -10>, rgb <1, 1, 1>
   spotlight
   radius 7
   falloff 60
   tightness 0
   point_at <0, 0, 0>
   area_light <6, 0, 0>, <0, 6, 0>, 8, 8
   adaptive 2
   circular
   orient
}

light_source {
   //*PMName Fill-Light
   <-10, 7, -10>, rgb <0.5, 0.5, 0.5>
   shadowless
   media_interaction off
   media_attenuation off
}

camera {
   perspective
   location <6, 3, -14>
   sky <0, 1, 0>
   direction <0, 0, 1>
   right <1.3333, 0, 0>
   up <0, 1, 0>
   look_at <0, 0, 0>
}


Post a reply to this message


Attachments:
Download 'celticcross.jpg' (42 KB)

Preview of image 'celticcross.jpg'
celticcross.jpg


 

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