PDA

View Full Version : clock time as the current time ??



John22
10-21-2009, 09:13 AM
hey all ... how i can make the time of the opengl clock as the same time of the computer(current time) ???
and how i can change the the indicator color randomly after 1 minute???!!

thank u

FaceLess_
11-08-2009, 04:49 PM
any help plz ??

Dark Photon
11-08-2009, 05:54 PM
Don't cross-post on the same problem. << Thread link >> (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&amp;Number=265943)

At least you're asking a specific question though, versus "please do my homework for me".

Answer: OpenGL doesn't have a "clock", like you're probably thinking (time-of-day). What makes you think it does? Perhaps give us a little more context what specifically you're trying to accomplish with this portion of your design.

And before you reply, read (not skim) the tutorials "Your First Polygon" and "Adding Color" here (http://nehe.gamedev.net/lesson.asp?index=01). You'll know how to answer your second question when you're done.