|
|
Can someone take the info here:
http://www.agric.wa.gov.au/pls/portal30/docs/FOLDER/IKMP/_archive/tr137.pdf
And write a function to give the rotation angle of the sun for a given
latitude at a certain time of day?
something like
#function Sun_Angle(float_latitude, int_month, int_day, int_hour24,
int_minute)
We can assume that the initial sun is on the +y axis and that "north" is
along the +z axis.
The result should be a single vector that can be used to rotate the
initial light_source and/or round ball representing the sun so that it
is correct for the time and place.
I tried to do this but my brain got all hurty.
Plus I'm kind of at work.
--
---
Bryan Valencia
- I'd rather live with false hope than with false despair.
Post a reply to this message
|
|