Академический Документы
Профессиональный Документы
Культура Документы
BELGAUM, KARNATAKA
WIND MILL
Submitted by
KAVITHA.S.R (3BR12CS032)
KAVYA.B.H (3BR12CS033)
Under the guidance of
Prof. JAGADISH.R.M
CSE,BITM Page 1
WIND MILL
CERTIFICATE
Certified that the mini project work entitled WIND MILL carried out by Kavitha.S.R bearing
USN 3BR12CS032 ,Kavya.B.H bearing USN 3BR12CS033 a bonafide student of Ballari
institute of technology and management, in partial fulfillment of the requirements for the mini
project of Computer Graphcis And Visualization Lab (10CLl67) of the Visvesvaraya
Technological University, Belgaum during the year 2013-2014. It is certified that all
corrections/suggestions indicated for internal assessment have been incorporated. The report has
been approved as it satisfies the academic requirements in respect of mini project work
prescribed for the VIth semester.
External viva
Name of the Examiners Signature with date
1.
2.
CSE,BITM Page 2
WIND MILL
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompany the successful completion of any
project would be incomplete without mentioning the people who made it possible,
whose constant guidance and encouragements crowned my efforts with success.
We take this opportunity to express the deepest gratitude and appreciation to all
those held me directly or indirectly towards the successful completion of the project.
It is indeed great pleasure and privilege for me to meet this project report. We wish
to take opportunity to pay my profound gratefulness and express my indebtedness
to my guideJAGADISH.R.M andAZHAR BAIG.M,for his keen interest in preparing
the project report and also to the lecturer. S.BASAVARAJ, instructor for helping in
making out this project.
We are also thankful for all the Staff members of Computer Science and Engineering
dept. for their Co-operation of project report.
CSE,BITM Page 3
WIND MILL
ABSTRICT
The change in direction of rotation of fan in wind mill and generation of electricity is the
result of this project. It provides most of the features that a 2D graphic editor should have. It is
developed in C programming language and implemented on the FEDORA platform. The
graphics package designed here provides an interface for the users for handling the display and
manipulation of basic picture objects like point, line, etc. The interface is user-friendly.
CSE,BITM Page 4
WIND MILL
CONTENTS
INTRODUCTION
REQUIREMENT SPECIFICATION
FUNCTIONS
SNAPSHOTS
CONCLUSION
BIBLIOGRAPHY
CSE,BITM Page 5
WIND MILL
Chapter 1
INTRODUCTION
About OpenGL
The Computer Graphics is one of the most effective and commonly used
methods to communicate the processed information to the user. It displays the
information in the form of graphics objects such as pictures, charts, graphs and
diagram instead of simple text.
OpenGL is supported on all platforms. Drivers are available virtually for all
graphics cards. OpenGLs extensive capabilities and well-defined architecture
supports advanced concepts such as texture mapping, compositing and
programmable shaders. It is easy to learn, and it possesses most of the
characteristics of other popular graphics systems.
Abbreviations:
CSE,BITM Page 6
WIND MILL
Chapter 2
REQUIREMENT SPECIFICATION
System requirements are expressed in software requirements document. It is the official
statement of what is required of the system developers. Requirements document includes the
requirement definitions and the requirement specifications. The software requirement document
is not a designed document. It should set out what the system should do without specifying how
it should be done.
User requirements
The package provides good user interface.
Functional requirements
User should provide main containing all functions.
Interface is required.
CSE,BITM Page 7
WIND MILL
Mouse(ps/2),Printer (optional)
CSE,BITM Page 8
WIND MILL
Chapter 3
FUNCTIONS
The Graphics Package is designed using the in-built graphics library. The objects, which are
drawn, are stored as functions that can be used according to the requirements.
Ease of understanding and speed of working are two main requirements for it,
which should be kept in mind during phase of design and implementation.
Basic Design
The 2-D transformation project has been developed in C that also provides an in-
built graphics library through "GL/glut.h".
GL/glut.h : This is to include the graphics built in openGL function and utilities to
build and implement our customized graphics packages.
Inbuilt functions
glClearColor() :
C Specification
void glClearColor (GLfloat red, GLfloat green, GLfloat blue,
GLfloat alpha);
Description: This function sets the color value that is used when clearing
the color buffer.
glClear() :
C Specification
void glClear();
CSE,BITM Page 9
WIND MILL
glTranslatef() :
C Specification
void glTranslatef( GLdouble x, GLdouble y, GLdouble z );
glColor3f() :
C Specification
void glColor3f( TYPE R , TYPE G, TYPE B );
Description: This function sets the present RGB (or RGBA) colors.
glVertex2f() :
C Specification
void glVertex2f();
glLoadIdentity() :
C Specification
void glLoadIdentity();
Description: This function renders the character with ASCII code char at
the current raster position using the raster font given by font.
glutPostRedisplay() :
C Specification
void glutPostRedisplay();
CSE,BITM Page 10
WIND MILL
glutInitDisplayMode() :
C Specification
void glutInitDisplayMode( unsigned int mode );
glutInitWindowPosition() :
C Specification
void glutInitWindowPosition( int x, int y );
glutCreateWindow() :
C Specification
void glutCreateWindow( char *title );
init() :
C Specification
void init();
Description:
glutDisplayFunc() :
C Specification
void glutDisplayFunc( void (*func)(void) );
CSE,BITM Page 11
WIND MILL
glutMouseFunc() :
C Specification
void glutMouseFunc( void *f(int button, int state, int x, int y) );
glutIdleFunc() :
C Specification
void glutIdelFunc( void (*f)(void) );
glutMainLoop() :
C Specification
void glutMainLoop();
display( ) :
C Specification
void display (void );
CSE,BITM Page 12
WIND MILL
CSE,BITM Page 13
WIND MILL
Chapter 4
SNAPSHOTS
CSE,BITM Page 14
WIND MILL
Chapter 5
CONCLUSION
This project is implemented using OpenGL. We have used simple
OpenGL
fans are rotated. Wind power is the conversion of wind energy into a useful
form of energy, such as using rotating fans we can generate the electricity
which is used for daily routines.
This project also helps us to analyze how we can use the different standard
functions for creating the changes of rotation of fan in wind mill.(clockwise, anti-
clockwise). This package is very useful for the users since it provides the basic
information about various OpenGL functions.
This graphics model is very useful, one showing the rotational changes
implementation. We have tried our best to make this modeling very realistic, so that
the user does not face any trouble when seeing over from any real life to this highly
useful graphics model.
CSE,BITM Page 16
WIND MILL
BIBLIOGRAPHY
BOOKS:
[1] Edward Angel, 2009, Interactive computer graphics. A Top-Down approach with
Images, CACM.
WEBSITES
1. http://www.opengl.org
2. http://en.wikipedia.org
CSE,BITM Page 17