Ms. Qzou
Professor, Dept. of CIT
Introduction to open GL
About Bascule or lift over Bridge
Design & Implementation
Conclusion & Future Scope
Bibliography
GL library
OpenGL Utility Library (GLU)
OpenGL Utility Toolkit (GLUT)
About Bascule
Bridge
Description
How to Play
Run the Program.
If( btn or
key)
==RIGHT
Start Animation
Stop Animation
Quit Application
==
Exit(0);
glBegin(glEnum mode);
glColor3f[i f d](TYPE r,TYPE g,TYPE b);
glVertex3f(int xcor,int ycor,int zcor);
glEnd();
glFlush();
glClearColor(GLclampf r, GLclampf g, GLclampf b,
GLclampf a);
glClear
glMatrixMode(Glenum Mode)
glutInitDisplayMode(unsigned int mode);
glutInitWindowPosition(int x, int y);
glutInitWindowSize(int width, int height);
glutCreateWindow(char *title);
glutMainLoop();
glutReshapeFunc(void (*func) (void));
glutDisplayFunc(void (*func) (void));
glutMouseFunc(myMouse);
glutKeyboardFunc(myKeyboard);
gluOrtho2D(GLdouble left, GLdouble right,
Void sea();
Void bridge();
Void boat();
Void car();
Void pole();
Void Viewport()
Void animate();
Void main menu(int ch);
Void keyboard(unsiged char key, int y);
Void Display (void);
Int main(int argc, char** argv);
Display1 ();
CONCLUSION
As the program needs to be run even on low-end
FUTURE SCOPE
Sounds of sea, boat, bus and bridge movement
can be incorporated.
Support for different types of vehicles all moving
simultaneously on bridge.
Support for advanced 3D representation of the
entire scenario.
Support for transparency of layers and
originality.
Bibliography
THANK
YOU