OpenGL Brian Farrimond Robina Hetherington. What is OpenGL A specification of a set of functions for drawing graphics –Names of functions –What information.

Slides:



Advertisements
Similar presentations
Chapter 5 – Part 2 Input and Output
Advertisements

Computer Graphics- SCC 342
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 6.
CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Graphics Pipeline.
Computer Graphic Creator: Mohsen Asghari Session 2 Fall 2014.
In the name of God Computer Graphics Bastanfard.
Overview of Graphic Systems
1 Lecture 2 Main components of graphical systems Graphical devices.
Computer Systems Week 8: 3-bit – The Display Amanda Oddie.
OpenGL and Projections
Course Website: Computer Graphics 5: Line Drawing Algorithms.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 What is Computer Graphics? Ed Angel Professor of Computer Science, Electrical and Computer.
Ch 1 Intro to Graphics page 1CS 367 First Day Agenda Best course you have ever had (survey) Info Cards Name, , Nickname C / C++ experience, EOS experience.
Computer Graphics Hardware and Software Lecture Notes, CEng 477.
Introduction ‘Have you ever played video games before? Look at the joystick movement. When you move the joystick to the left, the plane on the TV screen.
Computer Monitors Principles of Information Technology Lytle High School Click to Continue.
Printing Information on a paper is known as “Hard Copy”. There are two main types of printers: - Impact - Non-Impact.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 What is Computer Graphics? Sai-Keung Wong ( 黃世強 ) Computer Science National.
Course Overview, Introduction to CG Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Friday, September 5, 2003.
Basics of a Computer Graphics System Introduction to Computer Graphics CSE 470/598 Arizona State University Dianne Hansford.
COMP SCI 352 Computer Graphics and Animation. Computer Graphics2 My name is … My name is … How to find me How to find me Course Policies Course Policies.
Graphics System CSC 2141 Introduction to Computer Graphics.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
display screens and ergonomics
Raster-scan system In addition to the central processing unit a special purpose processor called the video controller or display controller is used to.
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
CS-321 Dr. Mark L. Hornick 1 Graphics Display Hardware Display technologies CRT LCD Storage tube Drawing methods Vector Raster Architecture.
CSC 461: Lecture 1 1 Lecture 1: Introduction Objectives Explore what computer graphics is about Survey some application areas Introduce a history of computer.
CSC 461: Lecture 41 CSC461: Lecture 4 Introduction to OpenGL Objectives: Development of the OpenGL API OpenGL Architecture -- OpenGL as a state machine.
Graphics Programming using OpenGL. OpenGL is a software interface that allows the programmer to create 2D and 3D graphics images. This interface consists.
OpenGl Graphics Programming. Introduction OpenGL is a low-level graphics library specification. It makes available to the programmer a small set of geomteric.
INTRODUCTION INTRODUCTION Computer Graphics: As objects: images generated and/or displayed by computers. As a subject: the science of studying how to generate.
1 Graphics CSCI 343, Fall 2015 Lecture 1 Introduction to Graphics Read: Chapter 1 of textbook.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Graphics Systems and OpenGL. Business of Generating Images Images are made up of pixels.
Computer Graphics, KKU. Lecture 101 Introduction to OpenGL.
COMPUTER GRAPHICS Hochiminh city University of Technology Faculty of Computer Science and Engineering CHAPTER 01: Graphics System.
Computer Graphics I, Fall : What is Computer Graphics?
CSE 494/598 Intro to Applied Computer Graphics Anshuman Razdan DCST AR's Web Page AR's Web Page
1 CP586 © Peter Lo 2003 Multimedia Communication Video Fundamentals.
Grade 8.  Pixel – Tiny dots that make up a picture shown on a monitor.  Resolution – How sharp and clear an image is. Usual measured by the amount of.
1 Computer Graphics Week2 –Creating a Picture. Steps for creating a picture Creating a model Perform necessary transformation Lighting and rendering the.
Graphics. What is a Graphic ? A Graphic is an image or a picture e.g. Pictures can be either drawn or painted. Pixel - Stands for Picture Element.
Lecture 2: Some definitions of terms 1  Principles of Interactive Graphics  CMSCD2012  Dr David England, Room 711,  ex 2271 
What is Computer Graphics?. 2 Objectives In this lecture, we explore what computer graphics is about We will give a historical introduction.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 What is Computer Graphics? Sai-Keung Wong ( 黃世強 ) Computer Science National.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 What is Computer Graphics?
Graphics: Conceptual Model Real Object Human Eye Display Device Graphics System Synthetic Model Synthetic Camera Real Light Synthetic Light Source.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Video Card CES Industries, Inc. Lesson 10.  Translates computer information of binary digital data into visual information that the monitor can understand.
Computer Fundamentals MSCH 233 Lecture 5. The Monitor A Monitor is a video screen that looks like a TV. It displays both the input data and instructions,
NoufNaief.net TA: Nouf Al-harbi.
Introduction to Computers Lesson 3A. home Two Kinds of Monitors Cathode ray tube (CRT) Flat-panel display.
Hardware Components Display. 1.Display (Monitor) The screen is made up of thousands of picture elements or pixels Displays can be either CRT (Cathode.
Improving the appearance of 3D OpenGL scenes
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 15 Creating 3D Models.
Multimedia. A medium (plural media) is something that a presenter can use for presentation of information Two basic ways to present information are: –Unimedium.
Computer Graphics CC416 Lecture 02: Overview of Graphics Systems: Raster & Random Displays – Chapter 2 Dr. Manal Helal – Fall 2014.
1.6 What Is Fancy?. Video card Monitor BD-ROM drive : Blu-ray Disc Read-Only Memory 【藍光光碟唯讀記憶體 驅動器】 Blue-ray writer 【藍光光碟 驅動器】 Sound card and speakers.
Computer Graphics (Fall 2003) COMS 4160, Lecture 5: OpenGL 1 Ravi Ramamoorthi Many slides courtesy Greg Humphreys.
What is Computer Graphics?
What is Computer Graphics?
What is Computer Graphics?
School of Computer Science
Introduction to Computer Graphics with WebGL
Introduction to OpenGL
What is Computer Graphics?
Presentation transcript:

OpenGL Brian Farrimond Robina Hetherington

What is OpenGL A specification of a set of functions for drawing graphics –Names of functions –What information these use to do their job –Description of what they do Software companies create implementations –We shall use Microsoft.NET implementation

What OpenGL does Can create 2D and 3D objects made from lines, curves and polygons Can create a controllable virtual camera to view the objects Can generate realistic images of the objects as viewed through the camera Can enhance realism using lighting, materials, blending and fog etc

Making OpenGL easier to use OpenGL only deals in points, lines, curves and polygons Additional libraries are available –GLU library provides more complex shapes e.g. spheres, boxes –GLUT library provides straightforward windowing capability

OpenGL function names Begin with gl e.g. glClearColor(); An OpenGL function can have different types of arguments. This is achieved by amending the name e.g. glVertex2i(7, 3); glVertex3f(1.0, 3.0, 7.5); 2 integers 3 floating point numbers

Installing the GLUT library GLUT already installed in Room FML 400 You need to install GLUT on your home machine See instructions on page 7.

Example OpenGL Programs Cubes Texture Filters Loading and moving through a 3D world Flag waving

Brief intro to Computer Graphics Computer monitor –2D array of picture elements –Cathode Ray Tube (CRT) –Liquid Crystal Display (LCD)

OpenGL use of hardware Data structure corresponding to the array of pixels in the monitor Stored in main memory or video adapter Scans the frame buffer Activates corresponding pixels on monitor

Scanning the display Full screen scan every 10 milliseconds (Refresh rate)

First OpenGL Program