POV-Ray : Newsgroups : povray.newusers : translating cylinders : Re: translating cylinders (another question) Server Time
5 Sep 2024 06:13:48 EDT (-0400)
  Re: translating cylinders (another question)  
From: Wade
Date: 3 Sep 2001 19:08:50
Message: <3b940d82$1@news.povray.org>
When I render my code, why do I see only the first cylinder even after
translating the second cylinder?  here's my code:

background {color rgb <1,1,1>}
camera {
 location <8,5,0>
 look_at <0,0,0>
 angle 15
}

light_source {
 0*x
 color rgb <0.9570,0.9570,0.9570>
 translate <80,40,20>
}

cylinder {
 0*y, .18*y .015
 texture{
  pigment{
   color rgb <0.20,0.20,0.20>
  }
  finish{
   ambient 0.35
   brilliance 2
   diffuse 0.3
   metallic
   specular 0.80
   roughness 1/20
   reflection 0.1
  }
 }
}
cylinder {
 0*y 0.18*y .015
 texture{
  pigment{
   color rgb <0.20,0.20,0.20>
  }
  finish{
   ambient 0.35
   brilliance 2
   diffuse 0.3
   metallic
   specular 0.80
   roughness 1/20
   reflection 0.1
  }
 }
 translate 18*z
}


Post a reply to this message

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