Computer Graphics Lecture 5. Graphics Library Graphics Library : There are many graphics library use with program language to draw shape. Example : Graphics.h.

Slides:



Advertisements
Similar presentations
Introduction to C++ An object-oriented language Unit - 01.
Advertisements

What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
User-Defined Functions Like short programs Can operate on their own data Can receive data from callers and return data to callers.
GR2 Advanced Computer Graphics AGR
Microsoft® Small Basic
Programming Languages By Stefan Kyriacou. Procedural Language Procedural (also known as imperative language) language is a programming language that works.
Computer Graphics CSCE 441
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
TOPIC 3 INTRODUCTION TO OPENGL CGMB214: Introduction to Computer Graphics.
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Subdue Graph Visualizer by Gayathri Sampath, M.S. (CSE) University of Texas at Arlington.
Slide 1 ICS 012 Visual Programming I Ahmed Esmat Second.
CMPE 466 COMPUTER GRAPHICS
OpenGL Brian Farrimond Robina Hetherington. What is OpenGL A specification of a set of functions for drawing graphics –Names of functions –What information.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Introduction to OpenGL Keng Shih-Ling 2003 Spring.
Types of software. Sonam Dema..
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Programming In C++ Spring Semester 2013 Programming In C++, Lecture 1.
CAP4730: Computational Structures in Computer Graphics Introduction to OpenGL.
AS Computing Software definitions.
Microsoft Visual Basic 2005: Reloaded Second Edition
Basic OpenGL Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Wednesday, September 10, 2003.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Multimedia Teaching Tool SimArch V1.0 Faculty of Electronic Engineering University of Nis Serbia.
C O M P U T E R G R A P H I C S Jie chen Computer graphic -- OpenGL Howto.
CSC 461: Lecture 41 CSC461: Lecture 4 Introduction to OpenGL Objectives: Development of the OpenGL API OpenGL Architecture -- OpenGL as a state machine.
OpenGl Graphics Programming. Introduction OpenGL is a low-level graphics library specification. It makes available to the programmer a small set of geomteric.
2 COEN Computer Graphics I Introductions n Brad Grantham lecturer lab dude n Dave Shreiner lecturer slave driver.
1 Graphics CSCI 343, Fall 2015 Lecture 1 Introduction to Graphics Read: Chapter 1 of textbook.
Your First Java Application Chapter 2. 2 Program Concepts Modern object-oriented programs help us build models to manage the complexity found in a problem.
University of Sunderland COM 220 Lecture Six Slide 1 Building Interactive Forms Applications using Oracle.
Computer Software. Software n According to the American Heritage Dictionary software is n "The programs, routines, and symbolic languages that control.
Introduction to OpenGL Programming Jian-Liang Lin 2002.
School of Computer Science & Information Technology G6DICP - Lecture 17 GUI (Graphical User Interface) Programming.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Using Inventor with OpenGL Chapter objectives Create Inventor callback nodes that include calls to the OpenGL Library Explain how Inventor.
Lecture 2: Some definitions of terms 1  Principles of Interactive Graphics  CMSCD2012  Dr David England, Room 711,  ex 2271 
Introduction to OpenGL. OpenGL is a low-level graphics library specification. It makes available to the programmer  a small set of geometric primitives.
Affine Geometry Jehee Lee Seoul National University.
School of Computer Science & Information Technology G6DICP - Lecture 11 Classes & Objects.
Chun-Yuan Lin Introduction to OpenGL 2015/12/19 1 CG.
NoufNaief.net TA: Nouf Al-harbi.
1 Computer Graphics Week1 -Introduction. Computer graphics History Computer graphics generally means creation, storage and manipulation of models and.
Computer Graphics Lab 1 OpenGL.
Digital Media Lecture 0: It’s all just bits! Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Types of Software Chapter 2.
Graphics Lab: MyPaint Dan Maselko 1. MyPaint Description  For this assignment you will be implementing a very simple paint program.  You should be able.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Computer Graphics Lecture 1. Books D. Hearn, M. P. Baker, "Computer Graphics with OpenGL", 3rd Ed., Prentice Hall, 2003, ISBN
{. { { { { { { Describe what it means if a shape is flat. Can you think of any two- dimensional shapes?
Computer Graphics -practical- Lecture 6. (visual c++) open gl library To use open GL with VC++ we add these files:- 1)Glut.h C:\program files\ Microsoft.
Chapter 5 Operating Systems.
Introduction to Internet Programming (Web Based Application)
APPENDIX a WRITING SUBROUTINES IN C
Introduction to Visual Basic 2008 Programming
Lecture 8: Graphics By: Eliav Menachi.
System Programming and administration
Web App vs Mobile App.
MATLAB/SIMULINK Professor Walter W. Olson
Drawing in the plane 455.
Introduction to OpenGL
Lecture 8: Graphics By: Eliav Menachi.
CIS 441/541: Introduction to Computer Graphics Lecture 15: shaders
3.1 System Software.
Agenda Software development (SD) & Software development methodologies (SDM) Orthogonal views of the software OOSD Methodology Why an Object Orientation?
Computer Graphics, KKU. Lecture 11
Using Modules.
Presentation transcript:

Computer Graphics Lecture 5

Graphics Library Graphics Library : There are many graphics library use with program language to draw shape. Example : Graphics.h with Borland C++ The most common libraries use today is open Graphical Libraries called Open GL

Open GL Basic library of functions is provided in Open GL for specifying graphics Open GL use with all operating system with program language.

Header files:- In all our graphics program, we need to include the header file for Open GL library. For most application we will need also GLU, and we need to include header file for windows system, for instance, with Microsoft windows, the header file, must be list before GL,GLU. Because it contains macros needed by Microsoft windows version to Open GL library.

Header files:- Example :- #include

Open GL role or characteristics 1)all Open GL instruction start with gl 2)all Open GL start with capital letter 3) Open GL code is sensitive case 4)if we define const start with GL and (-)all prefix start by capital letter (GL- COLOR- BUFFER-BIT)

Open GL libraries GLU:- Open GL utility, provided routines for setting up viewing,and describing complex objects with line and polygons. Every Open GL implementation includes GLU library, and all GLU function name start with prefix glu. Open inventor :- provides routines and predefined object shapes for interactive three dimensional application.

Open GL libraries PGL:- presentation to Open GL AGL:-apple GL, use as interface for window management