POV-Ray : Newsgroups : povray.documentation.inbuilt : 3.7.20.6 sunpos.inc : Re: 3.7.20.6 sunpos.inc Server Time: 4 Jul 2008 22:33:21 GMT
  Re: 3.7.20.6 sunpos.inc  
From: SharkD
Date: 17 Jan 2008 22:15:00
"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 1991-2004 POV-Team™