Discrete Techniques Chapter 7 Begun February 22, 2005 Finished April 26, 2005.

Slides:



Advertisements
Similar presentations
Compositing and Blending Ed Angel Professor Emeritus of Computer Science University of New Mexico 1 E. Angel and D. Shreiner: Interactive Computer Graphics.
Advertisements

Computer Graphics Tz-Huan Huang National Taiwan University (Slides are based on Prof. Chen’s)
RealityEngine Graphics Kurt Akeley Silicon Graphics Computer Systems.
Computer Graphic Creator: Mohsen Asghari Session 2 Fall 2014.
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Compositing and Blending Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Compositing and Blending - Chapter 8 modified by Ray Wisman Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Image Compositing Angel 8.11 Angel: Interactive Computer Graphics5E © Addison-Wesley
Objectives Introduce OpenGL buffers and read/write Introduce OpenGL buffers and read/write Introduce texture mapping Introduce texture mapping Introduce.
Buffers Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Buffers Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Raster Displays Images are composed of arrays of pixels displayed on a raster device. Two main ways to create images: –Scan and digitize an existing image.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Introduction to Computer Graphics Ed Angel Professor of Computer Science, Electrical and.
Introduction to Computer Graphics
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
Graphics: Creating Images Chapter 8, Exploring the Digital Domain.
Basics of a Computer Graphics System Introduction to Computer Graphics CSE 470/598 Arizona State University Dianne Hansford.
CS 638, Fall 2001 Today Light Mapping (Continued) Bump Mapping with Multi-Texturing Multi-Pass Rendering.
Lecture 4 - Introduction to Computer Graphics
 Bitmap: A bitmap is a rectangular array of 0s and 1s that serves as a drawing mask for a corresponding rectangular portion of the window.  Applications:
Tools for Raster Displays CVGLab Goals of the Chapter To describe pixmaps and useful operations on them. To develop tools for copying, scaling, and rotating.
Introduction to Interactive Media Interactive Media Components: Graphics.
Computer Graphics Raster Devices Transformations Areg Sarkissian.
Fundamentals of Computer Graphics Part 9 Discrete Techniques prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared.
Texture Mapping. Scope Buffers Buffers Various of graphics image Various of graphics image Texture mapping Texture mapping.
Mapping method Texture Mapping Environmental mapping (sphere mapping) (cube mapping)
Video Video.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
CS 638, Fall 2001 Multi-Pass Rendering The pipeline takes one triangle at a time, so only local information, and pre-computed maps, are available Multi-Pass.
Lecture 4 Pixels, Images and Image Files 1. In this Lecture, you will learn the following concepts: Image files (in particular, the BMP file format) How.
Pixels, Images and Image Files 1 By Dr. HANY ELSALAMONY.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 CS4610/7610: Introduction to Computer Graphics.
Multi-pass Rendering. © 2002 James K. Hahn, N.H. Baek2 Multi-pass Rendering Repeat: image  Rendering pass  result imageRepeat: image  Rendering pass.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
More on Advanced Interfaces, Image Basics Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Friday, November 21, 2003.
Rick Parent - CIS681 Background Perception Display Considerations Film and Video, Analog and Digital Technology.
Real-Time rendering Chapter 4.Visual Appearance 4.4. Aliasing and antialiasing 4.5. Transparency,alpha,and compositing 4.6. Fog 4.7. Gamma correction
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Graphics: Conceptual Model Real Object Human Eye Display Device Graphics System Synthetic Model Synthetic Camera Real Light Synthetic Light Source.
09/16/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Environment mapping Light mapping Project Goals for Stage 1.
Compositing and Blending
Buffers Computer Graphics I, Fall 2010.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Chapter 4 -- Color1 Color Open GL Chapter 4. Chapter 4 -- Color2 n The goal of almost all OpenGL applications is to draw color pictures in a window on.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 13.
Buffers. 2 Objectives Introduce additional OpenGL buffers Learn to read and write buffers Learn to use blending.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
Compositing and Blending Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Computer Graphics I, Fall 2008 Compositing and Blending.
Multimedia and weBLOGging Grade 7-9 | Cahaya Bangsa Classical School (C) 2010 Digital Media Production Facility 03 - Still Picture 01 – Basics.
Introduction to Computational Art
Buffers Ed Angel Professor Emeritus of Computer Science
Discrete Techniques.
Computer Graphics Raster Devices Transformations
Color Color is one of the most interesting aspects of both human perception and computer graphics. In principle, a display needs only three primary colors.
School of Computer Science
Software Equipment Survey
Making the Applications Interesting
Angel: Interactive Computer Graphics5E © Addison-Wesley 2009
Geb Thomas Adapted from the OpenGL Programming Guide
Introduction to Computer Graphics
Computer Graphics Buffers
COMS 161 Introduction to Computing
Buffers Ed Angel Professor Emeritus of Computer Science
Visuals are analog signals...
Presentation transcript:

Discrete Techniques Chapter 7 Begun February 22, 2005 Finished April 26, 2005

Buffers  Frame buffer consists of  Front color buffer  Back color buffer  Depth buffer  Each buffer has the dimensions (n x m) of the display window.  The depth (k) of each buffer can vary. For RGB, it would be the number of bits per color X 3 colors.  Bitplane refers to any of the k n x m planes.

Digital Images  Glubyte myColorImage [512][512][3];  Glubyte myGrayImage [512][512];  Glubyte myLUTImage [512][512], red[256], green[256], blue[256];

Creating Digital Images  With an algorithm.  From data.  From standard image formats.  GIF  TIFF  PS  EPS  JPEG  OpenGL does not support image formats.  From graphics system.

Writing Into Buffers  Bitblt write operation  Write_block(  source /* buffer */,  n /* nrows */,  m /* ncols */,  x /* lower left x pos */,  y /* lower left y pos */,  destination /* buffer */,  u /* destination pos x */,  v /* destination pos y */);

Writing Modes  Define write  Simple assignment  x1 = x2  Replacement function  d = f(d, s)

Writing With XOR  Most interesting function  Painting Application  S  S xor M  M  S xor M  S  S xor M

Bit and Pixel Operations in OpenGL  Defines an internal cursor  glRasterPos3f(x, y, z);  glBitmap(width, /* # bits wide */ height, /* # bits high */ x0, /*offset from current raster position */ y0, /* offset from current rster position */ xi, /* x increment */ Xy, /* y increment */

Raster Fonts

Pixels and Images

Lookup Tables

Buffers for Picking

Mapping Methods

Texture Mapping

2D Texture Mapping

Texture Mapping in OpenGL

Texture Objects and Multitexturing

Texture Generation

Environmental Maps

Bump Maps

Compositing Techniques

Opacity and Blending

Image Compositing

Blending and Compositing in OpenGL

Antialiasing

Back-to-front and Front-to- back Rendering

Depth Cue and Fog

Multirendering and the Accumulation Buffer

Scene Antialiasing

Bump Mapping and Embossing

Image Processing

Image Extensions

Other Multipass Methods

Sampling and Antialiasing

Sampling Theory

Reconstruction

Quantization  Each sample must be quantized into k discrete levels.  Analog Scale - whole number of lbs  Image - pixel color  Binary image - two colors, b/w 

Program 4  Due March 3, 2005  Documentation 10%  Style 10%  Compiles 30%  Graphic Output 10%