Search Projects

Wednesday, April 25, 2012

Create Multiple instances of Stars


Description : Program to demonstrate the use of display lists: loads a shape using display lists then calls several instances. Also demonstrates the use of glutIdleFunc to animate the shapes.
 This program uses display lists to create multiple instances of a single object. The object used here is Star. Stars are created using the polygons with different points, which can be alerted.  The multiple instances of stars are called with the number of stars which too can be changed.

usages :
Mouse interaction

Right mouse button: Speed up the animation.
Middle mouse button: Slow down the animation.
Left mouse button: Reset to the default speed.

Keyboard interaction 


r: Speed up the animation.
t: Slow down the animation.
y: Reset to the default speed.
q: quit program.

Video demo


Download : Project code*

* If you have edited something, modified the program discuss about.

15 comments:

  1. Shreyas HemachandranApril 27, 2012 at 9:56 AM

    cant download the code.. how to download?

    ReplyDelete
  2. There is download link provide, skip the ads after 5 sec at top right and download at the top the option is there.

    ReplyDelete
  3. The code is not giving the output as like you are presenting the Video. Please post the code for it.

    ReplyDelete
  4. It likely shame but you not getting why? I don't know whatever code is posted is tested as shown in video.

    ReplyDelete
  5. sir can u please mail the source code.. mail id is sarah_angel1981@gmail.com. that download link is not working

    ReplyDelete
  6. YOUR EMAIL ID IS GIVING FALIURE NOTICE SO TRY TO GET IT FROM HERE OR ASK OTHER USERS

    ReplyDelete
  7. sir can u mail to my other mail sowmyadevanga99@gmail.com

    ReplyDelete
  8. sir can u mail me code with comments

    ReplyDelete
  9. sir can i have the abstract of multiple instance of star plz

    ReplyDelete
  10. can u send code on my email vknasriganj@gmail.com

    ReplyDelete
  11. Hello sir,i need the detail explanation of the multiple star instances function by function for ex-in the draw star functn y we using m_pi or rotatng by 2.0......i have tried out the variations but not getting a clear idea.....can u plz send me a documentary explanation for the code of multiple instances so that it can be easy to understand.......my mail id is akshaykhanna6592@gmail.com

    ReplyDelete
  12. do u have the report for this project??
    If so, pls send to it to adnan0316@gmail.com

    ReplyDelete
  13. helo sir, can u plz send me the full code of dis project.?? my mail id shabinabegum@yahoo.com

    ReplyDelete
  14. do u have the report for this project??
    please send it on anand18k@hotmail.com

    ReplyDelete
  15. Sir please send the code in my email: twinkledas086@gmail.com

    ReplyDelete