Angled Sunlight? Created 18 years ago2006-08-06 12:56:41 UTC by RotatorSplint RotatorSplint

Created 18 years ago2006-08-06 12:56:41 UTC by RotatorSplint RotatorSplint

Posted 18 years ago2006-08-06 12:56:41 UTC Post #192680
How do I cause a light_enviornment to cast light at an angle, like it's 3:00 in the afternoon or 10:00 in the morning?
Posted 18 years ago2006-08-06 13:34:53 UTC Post #192686
I use a light_spot with Is Sky checked. Make an info_target named Skytarget or something and make the light_spot target it. Now all you need to do is move the target around to play with direction and angle of sunlight.
Posted 18 years ago2006-08-06 13:36:58 UTC Post #192687
Oh wait, this is Source. Is it the same thing?
Posted 18 years ago2006-08-06 14:25:44 UTC Post #192688
Use a solar calculator.
http://www.srrb.noaa.gov/highlights/sunrise/azel.html

The numbers you need are the Azimuth (for the angle value) and elevation (for the pitch value)
Remember than the angle values in Hammer go counter-clockwise, and the azimuth value the calculator gives you are measured clockwise. You have to convert the value.

For the elevation, you have to put a negative sign before the value, since negative values in Hammer means it points downwards.

For example: if the azimuth value says 60?, you have to put 300? in Hammer. If the elevation is 20?, the pitch has to be -20
Posted 18 years ago2006-08-06 19:10:10 UTC Post #192707
Oh wow, thanks Kasp, I'll check this out :biggrin: .
Posted 18 years ago2006-08-06 22:53:10 UTC Post #192723
Nice... I knew one of those existed, but never bothered to look for it.
Posted 18 years ago2006-08-06 23:06:00 UTC Post #192724
Oh wait, I just realized, where do I put this information in? Map Properties? light_enviornment?
Posted 18 years ago2006-08-08 17:36:47 UTC Post #192867
The azimuth value is the angle of the light_enviroment and the elevation value is the pitch of the light_enviroment
Posted 18 years ago2006-08-09 16:00:15 UTC Post #192939
You must be logged in to post a response.