Jump to content

  • Log In with Google      Sign In   
  • Create Account


How to simulate daytime in directx?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 hossainiir   Members   -  Reputation: 914

Like
0Likes
Like

Posted 15 July 2012 - 09:24 AM

hi,
Indeed i want to know how can i create an application that simulate daytime.
As we know, daytime simulatation has many aspects such as the position of sun or moon, color shifting in varius time,rendering sun ,moon ,stars and cloud simulation.
I want to know whether there are examples or articles?
thanks.

خلیج تا ابد فارس

Persian Gulf


Sponsor:

#2 clb   Members   -  Reputation: 1658

Like
1Likes
Like

Posted 15 July 2012 - 11:23 AM

For this purpose, I recommend Game Engine Gems 1 chapters 15 and 16. It describes a practical implementation of the commonly used Preetham sky model and related items, like how to compute the position of the sun and the moon. To me, these articles are "the" reference on the topic.
Me+PC=clb.demon.fi | C++ Math and Geometry library: MathGeoLib, test it live! | C++ Game Networking: kNet | 2D Bin Packing: RectangleBinPack | Use gcc/clang/emcc from VS: vs-tool | Resume+Portfolio | gfxapi, test it live!

#3 hossainiir   Members   -  Reputation: 914

Like
0Likes
Like

Posted 16 July 2012 - 09:02 AM

Thanks a lot for good reply,
because i can't buy this book i need some samples!

خلیج تا ابد فارس

Persian Gulf


#4 hossainiir   Members   -  Reputation: 914

Like
0Likes
Like

Posted 17 July 2012 - 04:56 AM

I found this book, and read those chapters, and were very good.
does any one knows where can i find the source code of Game engine gems 1??

Edited by hossainiir, 17 July 2012 - 05:05 AM.

خلیج تا ابد فارس

Persian Gulf


#5 hossainiir   Members   -  Reputation: 914

Like
0Likes
Like

Posted 18 July 2012 - 05:44 AM

Anyone knows?????

خلیج تا ابد فارس

Persian Gulf





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS