Aviation Report
Aviation Report
Submitted in the partial fulfilment of the requirement for the award degree of
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
Submitted By
TAIYABA FATHIMA CHITHRASHREE UV
1AR20CS014 1AR21CS400
AIEMS
BENGALURU
CERTIFICATE
This is to certify that the mini project report entitled “AVIATION ACCIDENT” is a
Bonafide project work carried out by TAIYABA FATHIMA (1AR20CS014) and
CHITHRASHREE UV (1AR21CS400) in partial fulfilment of award of Degree of
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya
Technological University, Belagavi, during the academic year 2022-2023. It is certified that
all corrections/suggestions indicated for Internal Assessment have been incorporated. The
mini project has been approved as it satisfies the academic requirements associated with the
Degree mentioned.
………………………… ………………………
Dr. SRINIVASA R Dr. SRINIVASA R
Head, Dept. of CSE, Head, Dept. of CSE,
AIeMS, Bengaluru. AIeMS, Bengaluru.
External Viva
Name of the Examiners Signature with Date
1. ………………………… …………………………
2. ………………………… …………………………
ACKNOWLEDGEMENT
The completion of project brings with great sense of satisfaction, but it is never completed
without thanking the persons who all are responsible for its successful completion. First
and foremost, we wish to express our deep sincere feelings of gratitude to our Institution,
AMRUTA INSTITUTE OF ENGINEERING & MANAGEMENT SCIENCES, for
providing us an opportunity to do our education.
We extend our deep sense of sincere gratitude to Dr. SANTHOSH M MURNAL, Principal
AMRUTA INSTITUTE OF ENGINEERING & MANAGEMENT SCIENCES, for having
permitted to carry out the project work successfully.
We express our heartfelt sincere gratitude to Dr. SRINIVASA R, Professor and Head of
Department of Computer Science and Engineering, AMRUTA INSTITUTE OF
ENGINEERING & MANAGEMENT SCIENCES, for his valuable suggestions and
support.
We express our heartfelt and sincere gratitude to project guide Dr. SRINIVASA R,
Professor and Head, Dept. of CS&E, AMRUTA INSTITUTE OF ENGINEERING &
MANAGEMENT SCIENCES, for her constant support and guidance.
Finally, we would like to thank all the Teaching, Technical faculty and supporting staff
members of Department of Computer Science and Engineering, AMRUTA INSTITUTE
OF ENGINEERING & MANAGEMENT SCIENCES, for their support.
project entitled “AVIATION ACCIDENT ” has been carried out by us underthe guidance
requirements for the course requirements for the award of the degree of Bachelor of
Place:
Date:
Chapters Page No
ACKNOWLEDGEMENT i
DECLARATION ii
1. INTRODUCTION 01
2. LITERATURE SURVEY 04
4. DESIGN 08
5. IMPLEMENTATION 10
6. SNAP SHOTS 14
BIBLIOGRAPHY 16
AVIATION ACCIDENT 2022-23
Chapter 1
INTRODUCTION
1.1 Computer Graphics
• Computers have become a powerful medium for the rapid and economical
production of pictures.
• We can make pictures of not only the real world objects but also of abstract
objects such as mathematical surfaces on 4D and of data that have no
inherent geometry.
OpenGL runs on every major operating system including Mac OS, OS/2,
UNIX, Windows 95/98, Windows 2000, Windows NT, Linux, Open Step, and
BeOS; it also works with every major windowing system, including Win32,
MacOS, Presentation Manager, and X-Window System. OpenGL is callable from
Ada, C, C++, Fortran, Python, Perl and Java and offers complete independence
from network protocols and topologies.
Chapter 2
LITERATURE SURVEY
The basic functions like glcolor3f(…); gltotatef(..),gltranslate(..) etc that are most
commonly used in the code are taken from the prescribed VTU Text book
“INTERACTIVE COMPUTER GRAPHICS” 5th edition by Edward Angel.[1].
The lab programs in the syllabus also serve as a basic template for creating a
project. The usage of colors and specifications are taken from the various programs
that were taught in the lab.[1].
The VTU prescribed text book serves as a huge database of functions and they are
used in the project.
The C++ concepts which are used are being taken from “object oriented
programming” by Sourav Sahay.[2].
Some concepts like constructing bowl and fountain are taken from the search
results in codecolony.com..
Chapter 3
It should give details of how to maintain, test, verify and what all the actions to be
carried out through life cycle of project.
Definition
The project DEMOLITION OF A BUILDING BY AEROPLANE CRASH is
created to demonstrate OpenGL’s concepts. It encompasses some of the skillslearnt
in our OpenGL classes such as pushmatrix(), translate(), popmatrix(),timer function.
OpenGL provides a powerful but primitive set of rendering command, and all
higher level design must be done in terms of these commands.
References
OpenGL tutorials
User Requirement:
Software Requirements:
• Ubuntu Os.
• Eclipse compiler.
Hardware Requirements:
• RAM- 512MB(minimum)
• Hard Disk-1MB(minimum)
• Mouse
• Keyboard
• Monitor
Chapter 4
DESIGN
myinit():
This function initializes light source for ambient, diffuse and specular types.
display():
This function creates and translates all the objects in a specified location .in
a particular order and also rotates the objects in different axes.
glClear(GL_COLOR_BUFFER_BIT);
glFlush();
timerfunc():
This function starts a timer in the event loop that delays the event loop for
delay miiliseconds.
MainLoop():
This function whose execution will cause the program to begin an event
processing loop.
PushMatrix():
Save the present values of attributes and matrices placing ,or pushing on the
top of the stack.
PopMatrix():
Translated();
main():
The execution of the program starts from this function. It initializes the . .
. graphics system and includes many callback functions.
PostRedisplay():
It ensures that the display will be drawn only once each time the program .
. goes through the event loop.
Chapter 5
IMPLEMENTATION
5.1 FUNCTIONS
GL_LINES -
Treats each pair of vertices as an independent line segment.
Vertices 2n - 1 and 2n define line n. N/2 lines are drawn.
GL_LINE_LOOP -
Draws a connected group of line segments from the first vertex to the last, then back to
the first. Vertices n and n + 1 define line n. The last line, however, is defined by vertices
N and N lines are drawn.
Basic Functions
glPushMatrix, glPopMatrix Function
The glPushMatrix and glPopMatrix functions push and pop the current matrix
stack.
SYNTAX: void glPushMatrix();
void glPopMatrix(void);
Transformation Functions
glTranslate Function
The glTranslated and glTranslatef functions multiply the current matrix by a
translation matrix.
SYNTAX:
void glTranslate( x, y, z);
PARAMETERS:
x, y, z - The x, y, and z coordinates of a translation
vector. Funtions used to displayglMatrixMode Function
The glMatrixMode function specifies which matrix is the current matrix.
SYNTAX: void
glMatrixMode(GLenum mode);
PARAMETERS:
mode - The matrix stack that is the target for subsequent matrix operations. The mode
parameter can assume one of three values:
Value Meaning
GL_MODELVIEW Applies subsequent matrix operations to the
modelview matrix stack.
glLoadIdentity Function
The glLoadIdentity function replaces the current matrix with the identity matrix.
SYNTAX:
void glLoadIdentity(void);
glOrtho
This function defines orthographic viewing volume with all parameters measured from
the centre of projection. multiply the current matrix by a perspective matrix.
SYNTAX:
void glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top,
GLdouble near, GLdouble far)
PARAMETERES:
left, right -
Specify the coordinates for the left and right vertical clipping planes.
bottom, top -
Specify the coordinates for the bottom and top horizontal clipping planes.
nearVal, farVal -
Specify the distances to the nearer and farther depth clipping planes. These values are
negative if the plane is to be behind the viewer.
glutReshapeFunc Function
glutReshapeFunc sets the reshape callback for the current window.
SYNTAX:
void glutReshapeFunc(void (*func)(int width, int height));
glutInitDisplayMode Function
glutInitDisplayMode sets the initial display mode.
SYNTAX:
void glutInitDisplayMode(unsigned int mode);
PARAMETERS:
mode -
Display mode, normally the bitwise OR-ing of GLUT display mode bit masks. See
values below:
GLUT_RGB: An alias for GLUT_RGBA.
GLUT_DOUBLE:Bit mask to select a double buffered window. This overrides
GLUT_SINGLE.
GLUT_DEPTH: Bit mask to select a window with a depth buffer.
glutMainLoop Function
glutMainLoop enters the GLUT event processing loop.
SYNTAX:
void glutMainLoop(void);
CHAPTER 6
SNAP SHOTS
BIBLIOGRAPHY