| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| Day-Night Cycle? | |
|---|---|
| Tweet Topic Started: Sep 27 2008, 05:24 AM (352 Views) | |
| Fayte | Sep 27 2008, 05:24 AM Post #1 |
|
Elite Member
![]() ![]() ![]() ![]() ![]() ![]()
|
In games like Grand Theft Auto: San Andreas, there's a day and night cycle, where (in GTA SA in particular) it goes from day to night in 24 minutes. How would I do the same thing in U3D in about an hour? |
![]() |
|
| Gandalf20000 | Sep 27 2008, 05:37 AM Post #2 |
![]()
Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
First, you could use a high res timer to find the time. If your game runs at 60 frames per second, you could set the resolution of the timer to 60. That means it would be 3600 frames per minute, which would be 216000 per hour. You can use that to find the amount the colors need to change, or you can tell the system to start a series of changes when the marker reaches certain values. Then change the ambient color, background, and sun color until you get what you want. |
![]() |
|
| Naz | Sep 27 2008, 07:37 AM Post #3 |
![]()
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hmmm, this could be very usefull... Thanks |
| May 20th, 2016 | |
![]() |
|
| hakan55555 | Sep 27 2008, 06:40 PM Post #4 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Me, necessary, Such something One example ,good It used to become
|
| http://www.gde.ile.biz -Visual Desing Team group | |
![]() |
|
| skarik | Sep 27 2008, 07:31 PM Post #5 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You've got your hour. |
| Blog|EHS | |
![]() |
|
| hakan55555 | Sep 30 2008, 10:19 AM Post #6 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Absolutely I not understand Me, example, necessary
|
| http://www.gde.ile.biz -Visual Desing Team group | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)





2:48 AM Jul 11