POV-Ray : Newsgroups : povray.documentation.inbuilt : 3.7.20.6 sunpos.inc : Re: 3.7.20.6 sunpos.inc Server Time
20 Apr 2024 09:30:18 EDT (-0400)
  Re: 3.7.20.6 sunpos.inc  
From: SharkD
Date: 17 Jan 2008 17:15:00
Message: <web.478fd28c734cd6ed7ba03b340@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> I believe (untested) that changing it to this will also work:
>
> cylinder{
>       <0,0,-2>,<0,0,2>,0.1
>       rotate <Al, Az-90, 0>
>    }

Woops! I forgot to adjust the y rotation angle.

Try (still untested):

cylinder{
      <0,0,-2>,<0,0,2>,0.1
      rotate <Al, Az-180, 0>
   }

Further simplification would lead to:

 cylinder{
      <0,0,2>,<0,0,-2>,0.1
      rotate <Al, Az, 0>
   }

I believe the latter is best.


Post a reply to this message

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