POV-Ray : Newsgroups : povray.newusers : sunpos.inc : Re: sunpos.inc Server Time
2 Nov 2024 15:27:53 EDT (-0400)
  Re: sunpos.inc  
From: ingo
Date: 17 Jan 2004 10:43:39
Message: <Xns9473AA297AA05seed7@netplex.aussie.org>
in news:40093609$1@news.povray.org Stephen wrote:

> I can never get
> the sun to be positioned where I would expect it, specifically
> 1) over the  Equator on March and Sept 21
> 
Try the following values in sundail.pov in the ..\scenes\incdemo\ 
directory of the standard distribution.

#declare Year= 2004;
#declare Month= 3;
#declare Day= 21;
#declare Hour= 12;
#declare Minute= 0;
#declare Lstm= -7*15;
#declare LONG= -114;
#declare LAT= 51;

The fact that the dial doesn't show exactly 12 is because of your 
distance from the meridian that is used for your clock time and by the 
fact that the earth 'wobbles' around the sun. So its highest point on a 
day is never on the same place in the sky. 
See http://www.uwm.edu/~kahl/Images/Weather/Other/analemma.html
Bob may have been overrcorrecting the Lstm for this fact.

Regarding aligning the earth. You should rotate and translate it in such 
a way that the Calgary bump is on the origin and in the x-z-plane.

Ingo


Post a reply to this message

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