SlideShare une entreprise Scribd logo
1  sur  19
Under the guidance of:
Mr. S Prabhudeva B.E, M.S. (Ph.D) Mrs. Thaseen BhashithB.E,M.Tech
Assoc. Prof, Dept. of CSE Lecturer, Dept. of CSE
Submitted by:
ARUN KUMAR .K 4JN08CS401
AYOOB C.H 4JN04CS013
Jawaharlal Nehru National College of Engineering
Department of Computer Science & Engineering
Contents
Abstract
About Computer Graphics
About openGL
Introduction
Working principle
Design and Implementation
Conclusion & Future scope
References
Abstract
To demonstrate the simulation of water
ripples on surface by using open-GL APIs.
About Computer Graphics
A powerful tool for the rapid and economical
production of pictures.
Is a generalized tool for drawing and creating
pictures.
Simulate the real world situations within a small
computer window.
About openGL
• OpenGL is a device and operating system
independent library for 3D-graphics and
rendering.
• OpenGL is a standard specification defining a
cross-language, cross-platform API.
• The interface consists of many different
function calls which can be used for building
application programs.
• OpenGL is portable to many platforms and
callable from many programming languages.
Aim:
To develop a graphics package that utilizes the
features of the computer graphics.
Objectives:
The main objective this project is to
graphically illustrate the simulation of water
ripples on surface.
Introduction
Working principle
 We need 2 arrays of words (integers). That is ,
words, not bytes.
 These arrays will hold the state of the water.
One
holds the current state, the other holds the state
from the previous frame.
 It is important that we have 2 arrays, since we
need to know how the water has changed since
the last frame, and the frame before that.
Cont working…
Cont Working…
• Data from the previous frame (Buffer2) and the
frame before that (Buffer1) are used together,
and the results written into Buffer1.Buffer1
contains the current state of the water.
• Data from the previous frame (Buffer1) and the
frame before that (Buffer2) are used together,
and the results written into Buffer2. Buffer2
contains the current state of the water.
Cont Working…
Design and Implementation
Built-in library functions :
• glViewport(0, 0, width, height);
• glMatrixMode(GL_PROJECTION);
• glLoadIdentity();
• gluPerspective(40.0, (GLfloat) w/(GLfloat) h, 1.0, 2000.0);
• glMatrixMode(GL_MODELVIEW);
• glLoadIdentity ();
• glutSwapBuffers();
• glutFullScreen();
User defined functions:
• calcwater()
• exit(int code)
• idle(void)
• motion(int x,int y)
Results
Cont Snapshots…
Conclusion & Future scope
The very purpose of developing this project
is to exploit the strength of OpenGL graphics
capabilities and to implement the concepts
of simulations of water ripples on surface of
water.
This package can be made more effectively
for operators used in many computer
languages like C, C++, etc, and can be made
3D.
References
Edward Angel –Interactive Computer Graphics- A
Top –Down Approach Using OpenGL, Addision
Wesley Publications 5th
Edition in C-2009
The Official Reference Document for OpenGL
Addison-Wesley Publishing Company
Source code on OpenGL Projects
THANK YOU

Contenu connexe

Tendances

Game project Final presentation
Game project Final presentationGame project Final presentation
Game project Final presentation
gemmalunney
 

Tendances (20)

snake game
snake gamesnake game
snake game
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project Presentation
 
Hangman game is interesting
Hangman game is interesting Hangman game is interesting
Hangman game is interesting
 
Snake project report
Snake project reportSnake project report
Snake project report
 
Intro to Game Design
Intro to Game DesignIntro to Game Design
Intro to Game Design
 
Computer Graphics Project- The Running Train
Computer Graphics Project- The Running TrainComputer Graphics Project- The Running Train
Computer Graphics Project- The Running Train
 
Game project Final presentation
Game project Final presentationGame project Final presentation
Game project Final presentation
 
Flutter
FlutterFlutter
Flutter
 
E ball technology
E ball technologyE ball technology
E ball technology
 
Image Processing with OpenCV
Image Processing with OpenCVImage Processing with OpenCV
Image Processing with OpenCV
 
Voice assistant ppt
Voice assistant pptVoice assistant ppt
Voice assistant ppt
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
Mini Project PPT
Mini Project PPTMini Project PPT
Mini Project PPT
 
Internship on web development
Internship on web developmentInternship on web development
Internship on web development
 
A* Search Algorithm
A* Search AlgorithmA* Search Algorithm
A* Search Algorithm
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Snake PY Game.pptx
Snake PY Game.pptxSnake PY Game.pptx
Snake PY Game.pptx
 
Final project report Snake Game in Python
Final project report Snake Game in PythonFinal project report Snake Game in Python
Final project report Snake Game in Python
 
Computer graphics mini project on bellman-ford algorithm
Computer graphics mini project on bellman-ford algorithmComputer graphics mini project on bellman-ford algorithm
Computer graphics mini project on bellman-ford algorithm
 
Minor project Report for "Quiz Application"
Minor project Report for "Quiz Application"Minor project Report for "Quiz Application"
Minor project Report for "Quiz Application"
 

En vedette

Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.
Sanjay Kumar Chakravarti
 
Report gl project group zyl
Report gl project group zyl Report gl project group zyl
Report gl project group zyl
Z Syp
 
Independence Day at Getit,Bangalore
Independence Day at Getit,BangaloreIndependence Day at Getit,Bangalore
Independence Day at Getit,Bangalore
getitbangalore
 

En vedette (20)

Computer Graphics 471 Project Report Final
Computer Graphics 471 Project Report FinalComputer Graphics 471 Project Report Final
Computer Graphics 471 Project Report Final
 
Computer Graphics Project Development Help with OpenGL computer graphics proj...
Computer Graphics Project Development Help with OpenGL computer graphics proj...Computer Graphics Project Development Help with OpenGL computer graphics proj...
Computer Graphics Project Development Help with OpenGL computer graphics proj...
 
LUDO BOARD GAME OPENGL COMPUTER GRAPHICS
LUDO BOARD GAME OPENGL COMPUTER GRAPHICSLUDO BOARD GAME OPENGL COMPUTER GRAPHICS
LUDO BOARD GAME OPENGL COMPUTER GRAPHICS
 
Mini Project- 3D Graphics And Visualisation
Mini Project- 3D Graphics And VisualisationMini Project- 3D Graphics And Visualisation
Mini Project- 3D Graphics And Visualisation
 
Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.
 
Sample project-synopsis
Sample project-synopsisSample project-synopsis
Sample project-synopsis
 
Project synopsis
Project synopsisProject synopsis
Project synopsis
 
I phone 3
I phone 3I phone 3
I phone 3
 
GRAPHICS PROCESSING UNIT (GPU)
GRAPHICS PROCESSING UNIT (GPU)GRAPHICS PROCESSING UNIT (GPU)
GRAPHICS PROCESSING UNIT (GPU)
 
SYNOPSIS WRITING
SYNOPSIS WRITINGSYNOPSIS WRITING
SYNOPSIS WRITING
 
Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.
 
Engineering colleges in karnataka with phone no & email id
Engineering colleges in karnataka with phone no & email idEngineering colleges in karnataka with phone no & email id
Engineering colleges in karnataka with phone no & email id
 
Apartment vs Independent House Infographics
Apartment vs Independent House InfographicsApartment vs Independent House Infographics
Apartment vs Independent House Infographics
 
CG simple openGL point & line-course 2
CG simple openGL point & line-course 2CG simple openGL point & line-course 2
CG simple openGL point & line-course 2
 
A seminar on GPS Technology
A seminar on GPS TechnologyA seminar on GPS Technology
A seminar on GPS Technology
 
Report gl project group zyl
Report gl project group zyl Report gl project group zyl
Report gl project group zyl
 
Independence Day at Getit,Bangalore
Independence Day at Getit,BangaloreIndependence Day at Getit,Bangalore
Independence Day at Getit,Bangalore
 
Amusement park rides for sale
Amusement  park rides for saleAmusement  park rides for sale
Amusement park rides for sale
 
Instancing
InstancingInstancing
Instancing
 
Presentatie Lucas Hulsebos DWWA 2008
Presentatie Lucas Hulsebos DWWA 2008Presentatie Lucas Hulsebos DWWA 2008
Presentatie Lucas Hulsebos DWWA 2008
 

Similaire à OpenGL Projects on SIMULATION OF WATER RIPPELS

object oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxobject oriented programming part inheritance.pptx
object oriented programming part inheritance.pptx
urvashipundir04
 
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
inside-BigData.com
 

Similaire à OpenGL Projects on SIMULATION OF WATER RIPPELS (20)

18csl67 vtu lab manual
18csl67 vtu lab manual18csl67 vtu lab manual
18csl67 vtu lab manual
 
Bryan guner professional portfolio
Bryan guner professional portfolioBryan guner professional portfolio
Bryan guner professional portfolio
 
Short.course.introduction.to.vhdl
Short.course.introduction.to.vhdlShort.course.introduction.to.vhdl
Short.course.introduction.to.vhdl
 
workshop_8_c__.pdf
workshop_8_c__.pdfworkshop_8_c__.pdf
workshop_8_c__.pdf
 
Mini Project final report on " LEAKY BUCKET ALGORITHM "
Mini Project final report on " LEAKY BUCKET ALGORITHM "Mini Project final report on " LEAKY BUCKET ALGORITHM "
Mini Project final report on " LEAKY BUCKET ALGORITHM "
 
Advanced Graphics Workshop - GFX2011
Advanced Graphics Workshop - GFX2011Advanced Graphics Workshop - GFX2011
Advanced Graphics Workshop - GFX2011
 
Mulvery Detail - English
Mulvery Detail - EnglishMulvery Detail - English
Mulvery Detail - English
 
Data structures graphics library in computer graphics.
Data structures  graphics library in computer graphics.Data structures  graphics library in computer graphics.
Data structures graphics library in computer graphics.
 
Dynamic sorting algorithm vizualizer.pdf
Dynamic sorting algorithm vizualizer.pdfDynamic sorting algorithm vizualizer.pdf
Dynamic sorting algorithm vizualizer.pdf
 
object oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxobject oriented programming part inheritance.pptx
object oriented programming part inheritance.pptx
 
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
 
Short.course.introduction.to.vhdl for beginners
Short.course.introduction.to.vhdl for beginners Short.course.introduction.to.vhdl for beginners
Short.course.introduction.to.vhdl for beginners
 
Digital_system_design_A (1).ppt
Digital_system_design_A (1).pptDigital_system_design_A (1).ppt
Digital_system_design_A (1).ppt
 
Graph processing
Graph processingGraph processing
Graph processing
 
report
reportreport
report
 
Luigy Bertaglia Bortolo - Poster Final
Luigy Bertaglia Bortolo - Poster FinalLuigy Bertaglia Bortolo - Poster Final
Luigy Bertaglia Bortolo - Poster Final
 
Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015
 
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARKSCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
 
Computer Graphics Project on Sinking Ship using OpenGL
Computer Graphics Project on Sinking Ship using OpenGLComputer Graphics Project on Sinking Ship using OpenGL
Computer Graphics Project on Sinking Ship using OpenGL
 
Angel
AngelAngel
Angel
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Dernier (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

OpenGL Projects on SIMULATION OF WATER RIPPELS

  • 1. Under the guidance of: Mr. S Prabhudeva B.E, M.S. (Ph.D) Mrs. Thaseen BhashithB.E,M.Tech Assoc. Prof, Dept. of CSE Lecturer, Dept. of CSE Submitted by: ARUN KUMAR .K 4JN08CS401 AYOOB C.H 4JN04CS013 Jawaharlal Nehru National College of Engineering Department of Computer Science & Engineering
  • 2. Contents Abstract About Computer Graphics About openGL Introduction Working principle Design and Implementation Conclusion & Future scope References
  • 3. Abstract To demonstrate the simulation of water ripples on surface by using open-GL APIs.
  • 4. About Computer Graphics A powerful tool for the rapid and economical production of pictures. Is a generalized tool for drawing and creating pictures. Simulate the real world situations within a small computer window.
  • 5. About openGL • OpenGL is a device and operating system independent library for 3D-graphics and rendering. • OpenGL is a standard specification defining a cross-language, cross-platform API. • The interface consists of many different function calls which can be used for building application programs. • OpenGL is portable to many platforms and callable from many programming languages.
  • 6. Aim: To develop a graphics package that utilizes the features of the computer graphics. Objectives: The main objective this project is to graphically illustrate the simulation of water ripples on surface. Introduction
  • 7. Working principle  We need 2 arrays of words (integers). That is , words, not bytes.  These arrays will hold the state of the water. One holds the current state, the other holds the state from the previous frame.  It is important that we have 2 arrays, since we need to know how the water has changed since the last frame, and the frame before that.
  • 9. Cont Working… • Data from the previous frame (Buffer2) and the frame before that (Buffer1) are used together, and the results written into Buffer1.Buffer1 contains the current state of the water. • Data from the previous frame (Buffer1) and the frame before that (Buffer2) are used together, and the results written into Buffer2. Buffer2 contains the current state of the water.
  • 11. Design and Implementation Built-in library functions : • glViewport(0, 0, width, height); • glMatrixMode(GL_PROJECTION); • glLoadIdentity(); • gluPerspective(40.0, (GLfloat) w/(GLfloat) h, 1.0, 2000.0); • glMatrixMode(GL_MODELVIEW); • glLoadIdentity (); • glutSwapBuffers(); • glutFullScreen();
  • 12. User defined functions: • calcwater() • exit(int code) • idle(void) • motion(int x,int y)
  • 14.
  • 15.
  • 17. Conclusion & Future scope The very purpose of developing this project is to exploit the strength of OpenGL graphics capabilities and to implement the concepts of simulations of water ripples on surface of water. This package can be made more effectively for operators used in many computer languages like C, C++, etc, and can be made 3D.
  • 18. References Edward Angel –Interactive Computer Graphics- A Top –Down Approach Using OpenGL, Addision Wesley Publications 5th Edition in C-2009 The Official Reference Document for OpenGL Addison-Wesley Publishing Company
  • 19. Source code on OpenGL Projects THANK YOU