Archive Pages Design$type=blogging

Flag Hosting Graphics Programs in C/C++

This post dedicated to Graphics Programs in C/C++, where using OpenGL we show Flag Hosting.

There are many Graphics Program available for C/C++. In our website we have posted so many Graphics Programs in C/C++ which used the OpenGL graphics library. While there few program available for turbo C which used the graphics.h library, but they are outdated. The new time is to adopt opengl, one point to support this is that OpenGL is opensource. The API provided by CGI has so many that we can render to make some good game or other animated programs. You can became a game developer by mastering the graphics programs.Visit OpenGL.org for more. Don't forget to visit the forum.

This blog is dedicated to OpenGL programming and we are focusing on that only, but sometime off topics are good to have. Before getting stated with opengl, we aspect that you all have some knowledge of C/C++. All the programs posted here are written in C/C++ or otherwise mentioned.

Today we are going to see the Flag Hosting Program in C/C++. This program is submitted by +Srikanth Kini.

Flag Hosting Graphics Programs in C C++


Aim of the Project : The projects objective to show graphically hosting of a Flag.

Description of the Project : In this project we have 3 people, a flag pole and sun. All these objects are drawn using the basic primitive functions provided in OpenGL. At the beginning flag is down, which is hosted by a person (first among the three) who walk toward the pole. There is little complication in here as the person don't seems to walk rather moving toward pole. Since this is 2D project it not look realistic.

The person approaches the falgpost and host the flag, which is shown with a good animation. Flag go up and waves out. This is unlike the previous waving flag graphics program in C/C++. There is "Vande Matrama" written in right side as  flag waves. The salutes can also made with animation, which look awesome.

User Interaction : This program has no much user interaction but few. In the beginning as program start there is no motion, so there is s/S key which initiate the  program animation. As s/S is pressed the person in front start moving to host the flag. To exit, just press esc key.

Future enhancements :

  • Convert the Whole Program into 3D version.
  • There are only three people there, more can be added with a proper stadium.
  •  Make the motion more realistic.
  • Flagpost and other can be improve with better quality of graphics design.
  • Sound can be added with National anthem getting sung as flag get hosted.
  • Flowers should fall as flag get hosted.
Download the free source code for this Graphics Programs. Put your comment and let us know your views.










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: Flag Hosting Graphics Programs in C/C++
Flag Hosting Graphics Programs in C/C++
This post dedicated to Graphics Programs in C/C++, where using OpenGL we show Flag Hosting.
http://4.bp.blogspot.com/-mRCkBiMsvy8/VSe0l8jSHbI/AAAAAAAAHPo/AF5L26DQmcE/s1600/Flag%2BHosting%2BGraphics%2BPrograms%2Bin%2BC%2BCplusplus.PNG
http://4.bp.blogspot.com/-mRCkBiMsvy8/VSe0l8jSHbI/AAAAAAAAHPo/AF5L26DQmcE/s72-c/Flag%2BHosting%2BGraphics%2BPrograms%2Bin%2BC%2BCplusplus.PNG
OpenGL Projects
http://www.openglprojects.in/2015/04/flag-hosting-graphics-programs-in-c-cplusplus.html
http://www.openglprojects.in/
http://www.openglprojects.in/
http://www.openglprojects.in/2015/04/flag-hosting-graphics-programs-in-c-cplusplus.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