MX Bikes Official Forum

Mods => Track Editing => Topic started by: 𝖙𝖋𝖈 on December 27, 2019, 04:30:39 PM

Title: Light Direction
Post by: 𝖙𝖋𝖈 on December 27, 2019, 04:30:39 PM
Hope this helps people figure out how to set their lighting!

(https://i.gyazo.com/741f65f9ac2f779cbba930a00c88ffc5.png)
Title: Re: Light Direction
Post by: Big Smooth one3 on December 27, 2019, 05:13:06 PM
Great reference to have, thank you!
Title: Re: Light Direction
Post by: PizzaChet on December 27, 2019, 06:17:02 PM
I find the coordinate system to be weird. Usually, according to most uses of polar coordinates, the sun north would be Y+, the sun up would be Z+ and as it is now the sun east would be X+. That's just the machinist in me speaking. I don't know how other plotting is set up, but you're doing the lord's work here Fats!
Title: Re: Light Direction
Post by: 𝖙𝖋𝖈 on December 27, 2019, 06:26:23 PM
Thanks guys, and Chet I totally agree, why it couldn't have been a regular 3 axis I don't know.. Unless it's observed from a different orientation.
Title: Re: Light Direction
Post by: giopanda on January 24, 2020, 11:44:46 AM
wouldn't it be better to have azimuth+elevation?
anyway this diagram is super useful, at least we have a clear representation of what those numbers looks like
Title: Re: Light Direction
Post by: rainey06au on January 24, 2020, 01:13:39 PM
Excellent diagram.  Also for anyone starting out with track modding. Your lighting parameters need to be set in two files:

Title: Re: Light Direction
Post by: Mulock22 on July 13, 2020, 08:59:18 PM
https://www.suncalc.org/

Annotation 2020-07-13 115245.png

Here's a cool tool I found to help find a realistic sun position for tracks you're making.
You can plug in a location, date, and time. Under "geodata" there is relative sun height, lat/long degrees.
With a little intuitive thinking, you can relate these values to your amb files.

For Example:
Using this ^ image, I got X=10, Y=4, Z=-1 for a pretty good morning shadow

Annotation 2020-07-13 115743.png

Hope this tool helps in future tracks' makers!