A mini project on Clock using OpenGL

Rajeev




Description: The Project is idea to display the clock with computer graphics.  This project just used the local time, fetching from the computer and display it on screen. This project  implements the wall clock with the round circular board and three conic geometrics which forms the different (sec, min & hour) hands. Small cubes are also made for the minutes, while each hour is represented with a large block. Digit display of the clock timing is also placed at the bottom.
The 'localtime(&ltime)'  function is used to get the local time. With proper maths and conversion of the time for sec, min and hours the graphical hands are made to make movement. This project made two views one ortho and other perspective.

Usages: Right click for the options
                     About the Project : Display information about the project
                     Toggle Ortho/Perspective view : Switch between the Ortho and Perspective views.
                     Light on/off : For light on clock and off it.
                      Quit : Exit program.

Project Code: Download

45 comments

  1. Mhmd6463
    hi no any download link pls edit download link thanks
  2. Mhmd6463
    pls send code for me mhmd6463@gmail.com
  3. Ganesh
    please do send the source code of the clock project to my id
    ganeshravi.v@gmail.com
  4. Shah
     ganesh plz forward it to me also,  amirs035@gmail.com
  5. Rajeev Kumar Singh
    Download links has been revised all you can download it.
  6. T R Guruprasad
    please  send the source code of the clock project to my id trguruprasad@yahoo.com
  7. Rimarashtogy
    where the image gone?
  8. Rimarashtogy
    click the download link and skip the ad to get the code downloaded. do yourself
  9. Rajeev Kumar Singh
    Image is there, it might not loaded while you were on the page so you didn't able to see it. 
    I am getting it easily visible,
  10. Rajeev Kumar Singh
    right!
  11. Rajeev Kumar Singh
    Do as other said below
  12. swathi b reddy
    swathi reddy :
    sir i want souce cpde for this project.. plz mail me to the below id
    email id:"swathibready@gmail.com"
  13. Suniljaga
    output has only analog clock, no digital clock displayed...  
  14. Suniljaga
    plz let me know how digital clock n also date can be displayed..!
  15. Rajeev Kumar Singh
    It working well as you can see in the image below, while adding some additional codes you might have added some code that affected it as it is simple library function which is used to display he digital clock.
  16. Rajeev Kumar Singh
    Displaying date i don't know if it is possible........
  17. Guest
    plz send code to menaka9111@gmail.com
  18. Rajeev Kumar Singh
    can't you download it

    click this link metioned above or got to

    http://adf.ly/7BoC4
  19. Suniljaga
    ya evrythng workin well except digital display....! pls post the project report if possible
  20. Deepthi
    i want source code for this project.... 
    plz mail to this id:deepthi.deepu91gmail.com
    even we tried the download link,but it connecting to unkown link...
  21. Suniljaga
    which is dat library function used to display digital clock... pls let me know
  22. Guest
    hello rajeev... whn i click on d link it directs to me a page with unrelated advertisements but not any code i get to download.. so plz.. send the code.. thnx :)
  23. menaka r
    hello rajeev... whn i click on d link it directs to me a page with unrelated advertisements but not any code i get to download.. so plz.. send the code.. thnx :)
  24. OpenGL Projects
    Simply skips the ads at the top right where it is clearly written skip ads. 
    I am imposing an image here.
  25. OpenGL Projects
    If your digital clock didn't appear then left it, that doesn't part of the graphics it just system call
    asctime(newtime)
    check if above is the function
  26. OpenGL Projects
    There is no report so not posted here!
  27. Suniljaga
     ok thanks a lot...:) it was helpful....:)
  28. Venusimple
    plz post me algorithm ,functional components,interface and architecture of this project
  29. Tarekb13
    aidé moi à réalisé un robot android qui fait plusieurs action  avec opengl dev c++ 
  30. Tarekb13
    helped me to make a robot that is android several actions (OpenGl dev c++)
  31. hussain123
    please mail me the code  on
    numbsters108@gmail.com
  32. Rajeev Kumar Singh
    Code is available to download click the link and get it downloaded..........
  33. Rajeev Kumar Singh
    I will post the robot program in future ........ while then check some other ptojects
  34. sushma
    can u plz post tat robot progm
  35. Rajeev Kumar Singh
    when it will be with me sure post it
  36. rtds
    rgdzhftx
  37. vava
    if anyone has report of this projct plz mail me... thanks in advanc my mail id is vava369@gmail.com
  38. Ravi
    sir

    plz tel me how to add a background pic for the clock
  39. pratapreddy
    Hi sir plz mail me the report on GLclock project..its very urgency sir..email:polampratapreddy@gmail.com
  40. maddy
    sir in timerevent why we have taken

    rx = 30 * cos( angle );
    ry = 30 * sin( angle );
    rz = 30 * cos( angle );
  41. sheethal
    sir, plz send me opengl clock code
  42. Rajeev Kumar Singh
    if you have seen the download link above just go through it..............
  43. Unknown
    Unknown
    Please do send me the source code to my id
    bhuvanablappi@gmail.com
  44. Unknown
    Unknown
    Please send source code to me
    prabhachangalaray@gmail.com
  45. Unknown
    Unknown
    Please send source code to me
    prabhachangalaray@gmail.com

Join the conversation