3D Model of Steam Engine Using Opengl: Indian Institute of Information Technology, Allahabad
3D Model of Steam Engine Using Opengl: Indian Institute of Information Technology, Allahabad
OpenGL
Indian Institute of Information Technology, Allahabad
Group_NO-11
-Arvind Kumar(mhc2022016)
-Raj Jaiswal(mhc2022006)
Content
● Introduction
● Application
● Problem statement & scope
● Methodology
● Flowchart
● Language & Library
● Timeline
● Result
● References
Introduction
AIM : The aim of the project is to create a STEAM ENGINE. A steam engine uses
heat and steam to create mechanical power.
The project simulates the working of a steam engine. It illustrates how the linear motion of the piston
is converted into rotary motion. The engine is initially at rest. On right clicking, the user
is provided with a menu which provides five options-shaded,animate, increase speed, decrease speed,
transparent.
THE BASIC PRINCIPLES OF THE STEAM ENGINE
Steam engines are an example of energy exchange. The steam is produced by chemical
energy which is then in turn converted to mechanical energy. The steam engine uses an
external from of energy e.g. coal as opposed to an internal combustion system, lide that of
safety, which burns fuel in the cylinder. After that mechanical energy is converted to
rotational energy.
1. The water in the boiler is heated until it is converted to steam which expands and
builds up pressure.
2. The pressure from the steam is then used to drive the mechanical parts of the engine
3. Linear motion of the pistol is used to convert it into rotational motion using flywheel.
Position I
Usability : Since the project will be developed on a Windows platform, it has good
usability since many systems have implemented Windows today.
Flexibility: It will be easy to add new features to the project since all the objects
will be left independent of their existence in the project. Hence the flexibility of the
project is beneficial.
Problem Statement and Scope
Creating a 3D model of steam engine using OpenGL programing language which
will show the motion of steam engine to understand the working.
Scope : One can add many animation and various features in the model to make it
more realistic model.
Methodology
First a Piston, Engine Pole, Cylinder Head, Flywheel, Crank Bell and a Crank
is created using myCylinder( ) function. The main primitives used inside the
myCylinder( ) function to create a Cylinder is gluCylinder( ) and gluDisk( ) .
So every time, myCylinder( ) function is called inside the functions used to
create Piston, Engine Pole, Cylinder Head, Flywheel, Crank Bell and Crank.
The parts mentioned above are combined to form a Steam Engine image. We
can make Steam Engine transparent and display.
Flowchart
Mycylinder()
Display
Language and Libraries
OpenGL
OpenGL (Open Graphics Library) is the interface between a graphic program and
graphics hardware. It is streamlined. In other words, it provides low-level
functionality. For example, all objects are built from points, lines and convex
Polygons.
GL/glut.h
We use a readily available library called the OpenGL Utility Toolkit (GLUT), which
provides the minimum functionality that should be expected in any modern windowing
system. The application program uses only GLUT functions and can be recompiled with
the GLUT library for other window system
Feb 2023 Model Design and SRS
Designed model of steam engine and their parts
Result
cylinder
Piston
Crank shaft
Crank
Transparent version of
Shaded Version of output mode; output model Flywheel
Work remaining
Slower the speed of animation
https://github.com/itmesneha/Steam-Engine-using-OpenGL
Wikipedia.org
http://www.opengl.org/