Archive Pages Design$type=blogging

Create Multiple instances of Stars

Description :  Program to demonstrate the use of display lists: loads a shape using display ...


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.

COMMENTS

Name

3D Bi-Cycle 3D Game 3D Laptop 3D Objects 3D Projects 3D Zoo Algorithm Android Aquarium Bellman-Ford Algorithm Block Breaker Blockshooting Bucket Sort C# Chess Clock Code Blocks Colors Complex Project Complex Projects Crab Pong Cross Zero DSAV Escapa First Come First Serve Fluids Font Demo Games Gear Motion GlutDino Glutplane Graphics Editor iOS iPhone Java Java OpenGL Graphics Programming Light Torus Linked List Ludo Board Game Mancala board games Memory blocks game Memory Game Menu Mickey Mouse Minesweeper Miniature Steam Engine moth Motion Blur MoveLight moving car Moving Ship Multiplex Networking Based Project Nuclear Power Plant Olympic opengl c++ examples OpenGL ES OpenGL Tutorial Origami OS Based Projects Paint Paper Folding Particles Drop Path Finding ping pong Pong Game Project Report Projects Report Puzzles qix like Random Flowing lines Rigid Body Rings Robot sample c++ opengl code Screen Saver Screen Saver Ship Shadow Cube Shadowfun Ship Iceberg Simple Drawing Simple Haloed Lined Wireframe Simple Move Light Simple Project Simulation SNAKE XENZIA GAME Solar system Sorting Sphere Spot Light Swing Stars Taj Mahal The Edge Game Tic Tac Toe Tower of Hanoi Traffic Signal Transformation Triangular Animation Tutorial water ripple effects Whirlpool
false
ltr
item
OpenGL Projects: Create Multiple instances of Stars
Create Multiple instances of Stars
http://2.bp.blogspot.com/-r2Gb0B-h-8I/T5gaTXUJ-0I/AAAAAAAABLE/G24M99XLl9A/s320/star+instance.JPG
http://2.bp.blogspot.com/-r2Gb0B-h-8I/T5gaTXUJ-0I/AAAAAAAABLE/G24M99XLl9A/s72-c/star+instance.JPG
OpenGL Projects
http://www.openglprojects.in/2012/04/create-multiple-instances-of-stars.html
http://www.openglprojects.in/
http://www.openglprojects.in/
http://www.openglprojects.in/2012/04/create-multiple-instances-of-stars.html
true
2020194800836807725
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago