Game Development Community

Moon, scatterSky and TimeOfDay

by Gregory · in Torque 3D Professional · 10/21/2010 (9:07 am) · 1 replies

Hi,
I'm new to Torque3D. I hope my questions are not stupid.

The moon is only displayed at night in Torque 3D using scatterSky !?
In real life the moon is displayed all the time even if the sun is on the top (when the moon is on the good side of the Earth).
Using "TimeOfDay" the moon suddenly disapears when the sun is above a certain angle.
In the ScatterSky C++ source code. The display of the moon seems to depend on mTimeOfDay. It should not !? It's not realistic.
Do you plan to modify the ScatterSky class for the final release ?

Another question:
The TimeOfDay class seems to not being finished. Some code are in comment ("Full azimuth/elevation calculation").
Do you plane to add a more advanced TimeOfDay class with the ability to compute elevation, Azimuth and size of the sun and moon at a given hour of a given day of a given year (using realistic astronomics computations) ?

Thanks.

#1
10/22/2010 (4:57 pm)
The moon used to fade in and out Beta 1, as night approached. it just pops in and out in beta 2. I dunno if its fixed in beta 3, i didnt port. you'll have to make it alpha in in the hardcode to fix it, i havent gotten around to fixing it in my build yet.