POV-Ray : Newsgroups : povray.general : Brain. All. Hurty. : Brain. All. Hurty. Server Time
31 Jul 2024 04:23:28 EDT (-0400)
  Brain. All. Hurty.  
From: Bryan Valencia
Date: 15 Oct 2007 19:07:03
Message: <4713f297$1@news.povray.org>
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

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