POV-Ray : Newsgroups : povray.general : Looks_like moves the lookalike object : Re: Looks_like moves the lookalike object Server Time
2 Nov 2024 17:20:53 EDT (-0400)
  Re: Looks_like moves the lookalike object  
From: Greg M  Johnson
Date: 28 Dec 2003 16:51:14
Message: <3fef5052$1@news.povray.org>
// why does the position of the light at something other than the origin
// necessarily move the looks_like target object?

#declare greencyl=

cylinder{0,<0,180,0>,60
        texture{ pigment{green 1}        finish{reflection 0.3 phong 1  }}
        rotate 30*y
        no_shadow
        }

light_source{100*y green 1    looks_like { greencyl} translate -100*x}
light_source{50*y green 1    looks_like { greencyl} translate 100*x}



plane{y,0 pigment {rgb 1}}

camera {location<0,230,-500>  look_at 100*y  }


Post a reply to this message

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