птта,.л^яшнря i #*% I C!# % л«*у1 W\ I I "в С^ Ш* I jy* #*% **% ^^ I g"% C"" Prentice Hall Upper Saddle River, NJ PEARSON

Size: px
Start display at page:

Download "птта,.л^яшнря i #*% I C!# % л«*у1 W\ I I "в С^ Ш* I jy* #*% **% ^^ I g"% C"" Prentice Hall Upper Saddle River, NJ PEARSON"

Transcription

1 птта,.л^яшнря THIRD EDITION C!#% л«*у1 W\ I I "в С^ Ш* I jy* #*% **% ^^ I g"% C"" i #*% I %ьж I I I W*J Werl W ^»* I ^tmnp I ЧыЛ P^r I I I ^^» ta^ with OpenGL Donald Hearn M. Pauline Baker Computer Science Department and Pervasive Technology Lab for Visualization and Interactive Spaces Indiana University Purdue University PEARSON Prentice Hall Upper Saddle River, NJ 07458

2 Preface A Survey of Computer Graphics Graphs and Charts Computer-Aided Design Virtual-Reality Environments Data Visualizations Education and Training Computer Art Entertainment Image Processing Graphical User Interfaces Overview of Graphics Systems Video Display Devices Refresh Cathode-Ray Tubes Raster-Scan Displays Random-Scan Displays Color CRT Monitors Flat-Panel Displays Three-Dimensional Viewing Devices Stereoscopic and Virtual-Reality Systems xix Raster-Scan Systems < Video Controller Raster-Scan Display Processor Graphics Workstations and Viewing Systems Input Devices Keyboards, Button Boxes, and Dials ' Mouse Devices Trackballs and Spaceballs Joysticks Data Gloves Digitizers Image Scanners Touch Panels ' Light Pens Voice Systems Hard-Copy Devices Graphics Networks Graphics on the Internet Graphics Software i Coordinate Representations l Graphics Software Standards t Other Graphics Packages Introduction to OpenGL ' Basic OpenGL Syntax 1 Related Libraries Header Files i Display-Window Management Using GLUT A Complete OpenGL Program

3 Vi: Contents Graphics Output Primitives Coordinate Reference Frames Screen Coordinates Absolute and Relative Coordinate Specifications Specifying a Two-Dimensional World-Coordinate Reference Frame in OpenGL OpenGL Point OpenGL Line Line-Drawing Algorithms Line Equations DDA Algorithm Bresenham's Line Algorithm Displaying Polylines Parallel Line Algorithms Setting Frame-Buffer Values OpenGL Curve Circle-Generating Algorithms Properties of Circles Midpoint Circle Algorithm Ellipse-Generating Algorithms Properties of Ellipses Midpoint Ellipse Algorithm Other Curves Conic Sections Polynomials and Spline Curves Parallel Curve Algorithms Pixel Addressing and Object Geometry Screen Grid Coordinates Maintaining Geometric Properties of Displayed Objects Fill-Area Primitives Polygon Fill Areas Polygon Classifications Identifying Concave Polygons Splitting Concave Polygons _ Ш mm Splitting a Convex Polygon into a Set of Triangles 127 Inside-Outside Tests 127 Polygon Tables 129 Plane Equations 131 Front and Back Polygon Faces 132 OpenGL Polygon Fill-Area 134 OpenGL Vertex Arrays 139 Pixel-Array Primitives 142 OpenGL Pixel-Array 143 OpenGL Bitmap Function 143 OpenGL Pixmap Function 145 OpenGL Raster Operations 146 Character Primitives 147 OpenGL Character 149 Picture Partitioning 151 OpenGL Display Lists 151 Creating and Naming an OpenGL Display List 151 Executing OpenGL Display Lists 152 Deleting OpenGL Display Lists 153 OpenGL Display-Window Reshape Function Example Programs Attributes of Graphics Primitives OpenGL State Variables Color and Gray Scale RGB Color Components Color Tables Gray Scale Other Color Parameters OpenGL Color The OpenGL RGB and RGBA Color Modes OpenGL Color-Index Mode 172

4 С Contents ix OpenGL Color Blending 179 OpenGL Color Arrays 180 Other OpenGL Color Point Attributes Line Attributes 183 Line Width 183 Line Style 185 Pen and Brush Options Curve Attributes OpenGL Point-Attribute OpenGL Line-Attribute 190 OpenGL Line-Width Function 190 OpenGL Line-Style Function 190 Other OpenGL Line Effects Fill-Area Attributes 193 Fill Styles 193 Color-Blended Fill Regions General Scan-Line Polygon-Fill Algorithm Scan-Line Fill of Convex Polygons Scan-Line Fill for Regions with Curved Boundaries Fill Methods for Areas with Irregular Boundaries Boundary-Fill Algorithm Flood-Fill Algorithm OpenGL Fill-Area Attribute OpenGL Fill-Pattern Function OpenGL Texture and Interpolation Patterns OpenGL Wire-Frame Methods OpenGL Front-Face Function Character Attributes OpenGL Character-Attribute Antialiasing Supersampling Straight-Line Segments Subpixel Weighting Masks Area Sampling Straight Line Segments Filtering Techniques Pixel Phasing Compensating for Line-Intensity Differences Antialiasing Area Boundaries 4-18 OpenGL Antialiasing 4-19 OpenGL Query 4-20 OpenGL Attribute Groups Geometric Basic Two-Dimensional Geometric Two-Dimensional Translation Two-Dimensional Rotation Two-Dimensional Scaling Matrix Representations and Homogeneous Coordinates Homogeneous Coordinates Two-Dimensional Translation Matrix Two-Dimensional Rotation Matrix Two-Dimensional Scaling Matrix Inverse Two-Dimensional Composite Composite Two-Dimensional Translations Composite Two-Dimensional Rotations Composite Two-Dimensional Scalings General Two-Dimensional Pivot-Point Rotation General Two-Dimensional Fixed-Point Scaling General Two-Dimensional Scaling Directions Matrix Concatenation Properties General Two-Dimensional Composite and Computational Efficiency

5 Contents Two-Dimensional Rigid-Body Transformation Constructing Two-Dimensional Rotation Matrices Two-Dimensional Composite-Matrix Programming Example Other Two-Dimensional Reflection Shear Raster Methods for Geometrie OpenGL Raster Between Two-Dimensional Coordinate Systems Geometrie in Three-Dimensional Space Three-Dimensional Translation Three-Dimensional Rotation Three-Dimensional Coordinate-Axis Rotations General Three-Dimensional Rotations Quaternion Methods for Three-Dimensional Rotations Three-Dimensional Scaling Composite Three-Dimensional Other Three-Dimensional Three-Dimensional Reflections Three-Dimensional Shears Between Three-Dimensional Coordinate Systems Affine OpenGL Geometrie-Transformation Basic OpenGL Geometrie OpenGL Matrix Operations OpenGL Matrix Stacks OpenGL Geometrie-Transformation Programming Examples "* ^ _ Two-Dimensional Viewing The Two-Dimensional Viewing Pipeline The Clipping Window Viewing-Coordinate Clipping Window World-Coordinate Clipping Window Normalization and Viewport Mapping the Clipping Window into a Normalized Viewport Mapping the Clipping Window into a Normalized Square Display of Character Strings i Split-Screen Effects and Multiple Output Devices OpenGL Two-Dimensional Viewing OpenGL Projection Mode GLU Clipping-Window Function OpenGL Viewport Function Creating a GLUT Display Window - Setting the GLUT Display-Window Mode and Color GLUT Display-Window Identifier Deleting a GLUT Display Window Current GLUT Display Window Relocating and Resizing a GLUT Display Window Managing Multiple GLUT Display Windows * GLUT Subwindows Selecting a Display-Window Screen Cursor Shape Viewing Graphics Objects in a GLUT Display Window Executing the Application Program ' Other GLUT OpenGL Two-Dimensional Viewing Program Example

6 Contents xi В швшя Clipping Algorithms Two-Dimensional Point Clipping Two-Dimensional Line Clipping Cohen-Sutherland Line Clipping Liang-Barsky Line Clipping Nichol-Lee-Nichol Line Clipping Line Clipping Using Nonrectangular Polygon Clip Windows Line Clipping Using Nonlinear Clipping-Window Boundaries Polygon Fill-Area Clipping Sutherland-Hodgman Polygon Clipping Weiler-Atherton Polygon Clipping Polygon Clipping Using Nonrectangular Polygon Clip Windows Polygon Clipping Using Nonlinear Clipping-Window Boundaries Curve Clipping Text Clipping 1 Three-Dimensional Viewing Overview of Three-Dimensional Viewing Concepts Viewing a Three-Dimensional Scene Projections Depth Cueing Identifying Visible Lines and Surfaces Surface Rendering Exploded and Cutaway Views Three-Dimensional and Stereoscopic Viewing The Three-Dimensional Viewing Pipeline Three-Dimensional Viewing-Coordinate Parameters The View-Plane Normal Vector The View-Up Vector 352 The uvn Viewing-Coordinate Reference Frame 353 Generating Three-Dimensional Viewing Effects 353 Transformation from World to Viewing Coordinates 355 Projection 356 Orthogonal Projections 357 Axonometrie and Isometric Orthogonal Projections 358 Orthogonal Projection Coordinates 358 Clipping Window and Orthogonal-Projection View Volume 359 Normalization Transformation for an Orthogonal Projection 360 Oblique Parallel Projections 362 Oblique Parallel Projections in Drafting and Design 362 Cavalier and Cabinet Oblique Parallel Projections 364 Oblique Parallel-Projection Vector 364 Clipping Window and Oblique Parallel-Projection View Volume 366 Oblique Parallel-Projection Transformation Matrix 366 Normalization Transformation for an Oblique Parallel Projection 367 Perspective Projections 368 Perspective-Projection Transformation Coordinates 368 Perspective-Projection Equations: Special Cases 369 Vanishing Points for Perspective Projections 370 Perspective-Projection View Volume 371 Perspective-Projection Transformation Matrix 373 Symmetric Perspective-Projection Frustum 374 Oblique Perspective-Projection Frustum 378 Normalized Perspective-Projection Transformation Coordinates 380 The Viewport Transformation and Three-Dimensional Screen Coordinates 382

7 xii Contents OpenGL Three-Dimensional Viewing OpenGL Viewing-Transformation Function OpenGL Orthogonal-Projection Function OpenGL Symmetric Perspective-Projection Function OpenGL General Perspective-Projection Function OpenGL Viewports and Display Windows OpenGL Three-Dimensional Viewing Program Example Three-Dimensional Clipping Algorithms Clipping in Three-Dimensional Homogeneous Coordinates Three-Dimensional Region Codes Three-Dimensional Point and Line Clipping Three-Dimensional Polygon Clipping Three-Dimensional Curve Clipping Arbitrary Clipping Planes OpenGL Optional Clipping Planes Three-Dimensional Object Representations Polyhedra OpenGL Polyhedron OpenGL Polygon Fill-Area GLUT Regular-Polyhedron Example GLUT Polyhedron Program Curved Surfaces Quadric Surfaces Sphere Ellipsoid Torus Superquadrics 410 Superellipse 410 Superellipsoid 411 OpenGL Quadric-Surface and Cubic-Surface 411 GLUT Quadric-Surface 412 GLUT Cubic-Surface Teapot Function 413 GLU Quadric-Surface 414 Example Program Using GLUT and GLU Quadric-Surface 416 Blobby Objects 418 Spline Representations 420 Interpolation and Approximation Splines 420 Parametric Continuity Conditions 421 Geometric Continuity Conditions 422 Spline Specifications 423 Spline Surfaces 424 Trimming Spline Surfaces 424 Cubic-Spline Interpolation Methods 425 Natural Cubic Splines 426 Hermite Interpolation 426 Cardinal Splines 429 Kochanek-Bartels Splines 431 Bezier Spline Curves 432 Bezier Curve Equations 433 Example Bezier Curve-Generating Program 435 Properties of Bezier Curves 437 Design Techniques Using Bezier Curves 438 Cubic Bezier Curves 439 Bezier Surfaces 441 B-Spline Curves 442 B-Spline Curve Equations 442 Uniform Periodic B-Spline Curves 444 Cubic Periodic B-Spline Curves 447 Open Uniform B-Spline Curves 448 Nonuniform B-Spline Curves 451 B-Spline Surfaces 452 Beta Splines 452 Beta-Spline Continuity Conditions 452

8 Contents Л i 11 Cubic Periodic Beta-Spline Matrix Representation Rational Splines Conversion Between Spline Representations 3-17 Displaying Spline Curves and Surfaces Horner's Rule Forward-Difference Calculations Subdivision Methods 3-18 OpenGL Approximation-Spline 461 OpenGL Bezier-Spline Curve 462 OpenGL Bezier-Spline Surface GLU B-Spline Curve GLU B-Spline Surface GLU Surface-Trimming 3-19 Sweep Representations 3-20 Constructive Solid-Geometry Methods 3-21 Octrees 3-22 BSP Trees 3-23 Fractal-Geometry Methods Fractal Generation Procedures Classification of Fractals Fractal Dimension Geometric Construction of Deterministic Self-Similar Fractals 484 Geometric Construction of Statistically Self-Similar Fractals 487 Affine Fractal-Construction Methods 489 Random Midpoint-Displacement Methods 490 Controlling Terrain Topography 493 Self-Squaring Fractals 495 Self-Inverse Fractals ' Shape Grammars and Other Procedural Methods Particle Systems Physically Based Modeling Visualization of Data Sets 514 Visual Representations for Scalar Fields Visual Representations for Vector Fields 517 Visual Representations for Tensor Fields 519 Visual Representations for Multivariate Data Fields Visible-Surface Detection Methods Classification of Visible-Surface Detection Algorithms Back-Face Detection Depth-Buffer Method A-Buffer Method Scan-Line Method Depth-Sorting Method BSP-Tree Method Area-Subdivision Method Octree Methods Ray-Casting Method Comparison of Visibility-Detection Methods Q.19 Curved Surfaces 545 Curved-Surface Representations 546 Surface Contour Plots Wire-Frame Visibility Methods 547 Wire-Frame Surface-Visibility Algorithms 547 Wire-Frame Depth-Cueing Algorithm OpenGL Visibility-Detection 549 OpenGL Polygon-Culling 549 OpenGL Depth-Buffer 549 OpenGL Wire-Frame Surf ace-visibility Methods 551 OpenGL Depth-Cueing Function

9 Contents ИЕ n f Illumination Models and Surface-Rendering Methods Light Sources Point Light Sources > Infinitely Distant Light Sources ' Radial Intensity Attenuation Directional Light Sources and Spotlight Effects Angular Intensity Attenuation 1 Extended Light Sources and the Warn Model Surface Lighting Effects Basic Illumination Models Ambient Light Diffuse Reflection Specular Reflection and the Phong Model ' Combined Diffuse and Specular Reflections Diffuse and Specular Reflections from Multiple Light Sources Surface Light Emissions Basic Illumination Model with Intensity Attenuation and Spotlights RGB Color Considerations Other Color Representations Luminance Transparent Surfaces ' Translucent Materials Light Refraction Basic Transparency Model Atmospheric Effects Shadows Camera Parameters Displaying Light Intensities Distributing System Intensity Levels Gamma Correction and Video Lookup Tables Displaying Continuous-Tone Images Halftone Patterns and Dithering Techniques Halftone Approximations Dithering Techniques Polygon-Rendering Methods Constant-Intensity Surface Rendering Gouraud Surface Rendering Phong Surface Rendering Fast Phong Surface Rendering Ray-Tracing Methods Basic Ray-Tracing Algorithm Ray-Surface Intersection Calculations Ray-Sphere Intersections Ray-Polyhedron Intersections Reducing Object-Intersection Calculations * Space-Subdivision Methods Simulating Camera Focusing Effects Antialiased Ray Tracing Distributed Ray Tracing Radiosity Lighting Model Radiant-Energy Terms The Basic Radiosity Model Progressive Refinement Radiosity О J Method Environment Mapping Photon Mapping Г Г О Adding Surface Detail Modeling Surface Detail with Polygons Texture Mapping 4 Linear Texture Patterns Surface Texture Patterns 1 Volume Texture Patterns 1 Texture Reduction Patterns * Procedural Texturing Methods Bump Mapping Frame Mapping OpenGL Illumination and Surface-Rendering OpenGL Point Light-Source Function * Specifying an OpenGL Light-Source Position and Type i Specifying OpenGL Light-Source < Colors Specifying Radial-Intensity Attenuation Coefficients for an OpenGL Light Source

10 Contents A OpenGL Directional Light Sources (Spotlights) 640 OpenGL Global Lighting Parameters 641 OpenGL Surface-Property Function 642 OpenGL Illumination Model 643 OpenGL Atmospheric Effects 644 OpenGL Transparency 645 OpenGL Surface-Rendering 646 OpenGL Halftoning Operations 647 OpenGL Texture 648 OpenGL Line-Texture 648 OpenGL Surface-Texture 651 OpenGL Volume-Texture 653 OpenGL Color Options for Texture Patterns 653 OpenGL Texture-Mapping Options 654 OpenGL Texture Wrapping 655 Copying OpenGL Texture Patterns from the Frame Buffer 655 OpenGL Texture-Coordinate Arrays 655 Naming OpenGL Texture Patterns 656 OpenGL Texture Subpatterns 657 OpenGL Texture Reduction Patterns 657 OpenGL Texture Borders 658 OpenGL Proxy Textures 659 Automatic Texturing of Quadric Surfaces 659 Homogeneous Texture Coordinates 659 Additional OpenGL Texture Options Interactive Input Methods and Graphical User Interfaces 668 Graphical Input Data Logical Classification of Input Devices Locator Devices Stroke Devices String Devices Valuator Devices 671 Choice Devices 671 Pick Devices Input for Graphical Data 673 Input Modes 674 Echo Feedback 674 Callback Interactive Picture-Construction Techniques 675 Basic Positioning Methods 675 Dragging 675 Constraints 675 Grids 676 Rubber-Band Methods 676 Gravity Field 677 Interactive Painting and Drawing Methods " Virtual-Reality Environments OpenGL Interactive Input-Device 679 GLUT Mouse 680 GLUT Keyboard 684 GLUT Tablet 689 GLUT Spaceball 689 GLUT Button-Box Function 690 GLUT Dials Function 690 OpenGL Picking Operations OpenGL Menu 696 Creating a GLUT Menu 696 Creating and Managing Multiple GLUT Menus 699 Creating GLUT Submenus 700 Modifying GLUT Menus Designing a Graphical User Interface 703 The User Dialogue 703 Windows and Icons 704 Accommodating Multiple Skill Levels 704 Consistency 705 Minimizing Memorization 705 Backup and Error Handling 705 Feedback

11 xvi Contents Color Models and Color Applications Properties of Light The Electromagnetic Spectrum Psychological Characteristics of Color Color Models Primary Colors Intuitive Color Concepts Standard Primaries and the Chromaticity Diagram The XYZ Color Model Normalized XYZ Values The CIE Chromaticity Diagram Color Gamuts Complementary Colors Dominant Wavelength Purity The RGB Color Model The YIQ and Related Color Models The YIQ Parameters Double Buffering Generating Animations Using Raster Operations Design of Animation Sequences Traditional Animation Techniques General Computer-Animation Computer-Animation Languages Key-Frame Systems Morphing Simulating Accelerations Motion Specifications Direct Motion Specification Goal-Directed Systems Kinematics and Dynamics Articulated Figure Animation Periodic Motions OpenGL Animation Procedures Between RGB and YIQ Color Spaces The YUV YC r C b Systems The CMY and CMYK Color Models The CMY Parameters Between CMY and RGB Color Spaces The HSV Color Model The HSV Parameters Selecting Shades, Tints, and Tones Between HSV and RGB Color Spaces The HLS Color Model Color Selection and Applications "* E1 Hierarchical Modeling Basic Modeling Concepts О.Г System Representations Symbol Hierarchies J Modeling Packages General Hierarchical Modeling Methods Local Coordinates Modeling О Creating Hierarchical Structures Hierarchical Modeling Using OpenGL Display Lists Г Г J Computer Animation 732 Raster Methods for Computer Animation 734 Graphics File Formats 15-1 Image-File Configurations 15-2 Color-Reduction Methods

12 Contents XVII Uniform Color Reduction Popularity Color Reduction Median-Cut Color Reduction 15-3 File-Compression Techniques Run-Length Encoding LZW Encoding Other Pattern-Recognition Compression Methods Huffman Encoding Arithmetic Encoding Discrete Cosine Transform 15-4 Composition of the Major File Formats JPEG: Joint Photographic Experts Group CGM: Computer-Graphics Metafile Format TIFF: Tag Image-File Format PNG: Portable Network-Graphics... Format XBM: X Window System Bitmap Format & XPM: X Window System Pixmap Format Adobe Photoshop Format MacPaint: Macintosh Paint Format PICT: Picture Data Format BMP: Bitmap Format PCX: PC Paintbrush File Format TGA: Truevision Graphics-Adapter Format GIF: Graphics Interchange Format 15-5 A-l Mathematics for Computer Graphics Coordinate Reference Frames Two-Dimensional Cartesian Screen Coordinates Standard Two-Dimensional Cartesian Reference Frames Polar Coordinates in the xy Plane o~i a / A-2 A-3 A-4 A-5 A-6 A-7 A-8 A-9 A-10 Standard Three-Dimensional Cartesian Reference Frames Three-Dimensional Cartesian Screen Coordinates Three-Dimensional Curvilinear-Coordinate Systems Solid Angle Points and Vectors Point Properties Vector Properties Vector Addition and Scalar Multiplication Scalar Product of Two Vectors Vector Product of Two Vectors Tensors Basis Vectors and the Metric Tensor Determining Basis Vectors for a Coordinate Space Orthonormal Basis Metric Tensor Matrices Scalar Multiplication and Matrix Addition Matrix Multiplication Matrix Transpose Determinant of a Matrix Matrix Inverse Complex Numbers Basic Complex Arithmetic Imaginary Unit Complex Conjugate and Modulus of a Complex Number Complex Division Polar-Coordinate Representation for a Complex Number Quaternions Nonparametric Representations Parametric Representations Rate-of-Change Operators Gradient Operator Directional Derivative General Form of the Gradient Operator Laplace Operator Divergence Operator Curl Operator

13 xviii Contents Rate-of-Change Integral Transformation Theorems Stokes's Theorem Green's Theorem for a Plane Surface Divergence Theorem Green's Transformation Equations Area and Centroid of a Polygon Area of a Polygon Centroid of a Polygon Calculating Properties of Polyhedra Numerical Methods Solving Sets of Linear Equations Finding Roots of Nonlinear Equations Evaluating Integrals 820 Solving Ordinary Differential Equations 822 Solving Partial Differential Equations 824 Least-Squares Curve-Fitting Methods for Data Sets 825 Bibliography 827 Subject Index 839 OpenGL Function Index 856 Core Library 856 GLU 857 GLUT 857

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM INSTITUTE OF SCIENCE AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK SUB.NAME: COMPUTER GRAPHICS SUB.CODE: IT307 CLASS : III/IT UNIT-1 2-marks 1. What is the various applications

More information

CHAPTER 1 Graphics Systems and Models 3

CHAPTER 1 Graphics Systems and Models 3 ?????? 1 CHAPTER 1 Graphics Systems and Models 3 1.1 Applications of Computer Graphics 4 1.1.1 Display of Information............. 4 1.1.2 Design.................... 5 1.1.3 Simulation and Animation...........

More information

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK CS2401 Computer Graphics CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK CS2401- COMPUTER GRAPHICS UNIT 1-2D PRIMITIVES 1. Define Computer Graphics. 2. Explain any 3 uses of computer graphics applications.

More information

COURSE DELIVERY PLAN - THEORY Page 1 of 6

COURSE DELIVERY PLAN - THEORY Page 1 of 6 COURSE DELIVERY PLAN - THEORY Page 1 of 6 Department of Department of Computer Science and Engineering B.E/B.Tech/M.E/M.Tech : Department of Computer Science and Engineering Regulation : 2013 Sub. Code

More information

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL International Edition Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL Sixth Edition Edward Angel Dave Shreiner Interactive Computer Graphics: A Top-Down Approach with Shader-Based

More information

Introduction to Computer Graphics

Introduction to Computer Graphics Introduction to Computer Graphics James D. Foley Georgia Institute of Technology Andries van Dam Brown University Steven K. Feiner Columbia University John F. Hughes Brown University Richard L. Phillips

More information

OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS

OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS YEAR/SEM.: III/V STAFF NAME: T.ELANGOVAN SUBJECT NAME: Computer Graphics SUB. CODE:

More information

Contents. 1 A Survey of Computer. 2 Overview of Graphics. Graphics 2. Systems 34. vii

Contents. 1 A Survey of Computer. 2 Overview of Graphics. Graphics 2. Systems 34. vii Preface xix 1 A Survey of Computer Graphics 2 1-1 Graphs and Charts 3 1-2 Computer-Aided Design 5 1-3 Virtual-Reality Environments 10 1-4 Data Visualizations 12 1-5 Education and Training 19 1-6 Computer

More information

Course Title: Computer Graphics Course no: CSC209

Course Title: Computer Graphics Course no: CSC209 Course Title: Computer Graphics Course no: CSC209 Nature of the Course: Theory + Lab Semester: III Full Marks: 60+20+20 Pass Marks: 24 +8+8 Credit Hrs: 3 Course Description: The course coversconcepts of

More information

SAZ4C COMPUTER GRAPHICS. Unit : 1-5. SAZ4C Computer Graphics

SAZ4C COMPUTER GRAPHICS. Unit : 1-5. SAZ4C Computer Graphics SAZ4C COMPUTER GRAPHICS Unit : 1-5 1 UNIT :1 SYLLABUS Introduction to computer Graphics Video display devices Raster scan Systems Random Scan Systems Interactive input devices Hard copy devices Graphics

More information

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : III Year, V Semester Section : CSE - 1 & 2 Subject Code : CS6504 Subject

More information

GLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner

GLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner GLOBAL EDITION Interactive Computer Graphics A Top-Down Approach with WebGL SEVENTH EDITION Edward Angel Dave Shreiner This page is intentionally left blank. Interactive Computer Graphics with WebGL, Global

More information

COMPUTER GRAPHICS, MULTIMEDIA AND ANIMATION, Second Edition (with CD-ROM) Malay K. Pakhira

COMPUTER GRAPHICS, MULTIMEDIA AND ANIMATION, Second Edition (with CD-ROM) Malay K. Pakhira Computer Graphics, Multimedia and Animation SECOND EDITION Malay K. Pakhira Assistant Professor Department of Computer Science and Engineering Kalyani Government Engineering College Kalyani New Delhi-110001

More information

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS2401 COMPUTER GRAPHICS QUESTION BANK PART A UNIT I-2D PRIMITIVES 1. Define Computer graphics. 2. Define refresh

More information

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR 603203 DEPARTMENT OF COMPUTER SCIENCE & APPLICATIONS QUESTION BANK (2017-2018) Course / Branch : BCA Semester / Year : IV / II Subject Name : Computer

More information

CS1354 GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1354 GRAPHICS AND MULTIMEDIA.

CS1354 GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1354 GRAPHICS AND MULTIMEDIA. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1354 GRAPHICS AND MULTIMEDIA YEAR / SEM: II / III Unit 1 OUTPUT PRIMITIVES 1. Define 2D rotation. 2. Write the 2D transformation

More information

QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION

QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION INTRODUCTION OBJECTIVE: This chapter deals the applications of computer graphics and overview of graphics systems and imaging. UNIT I 1 With clear

More information

Mathematical Tools in Computer Graphics with C# Implementations Table of Contents

Mathematical Tools in Computer Graphics with C# Implementations Table of Contents Mathematical Tools in Computer Graphics with C# Implementations by Hardy Alexandre, Willi-Hans Steeb, World Scientific Publishing Company, Incorporated, 2008 Table of Contents List of Figures Notation

More information

End-Term Examination

End-Term Examination Paper Code: MCA-108 Paper ID : 44108 Second Semester [MCA] MAY-JUNE 2006 Q. 1 Describe the following in brief :- (3 x 5 = 15) (a) QUADRATIC SURFACES (b) RGB Color Models. (c) BSP Tree (d) Solid Modeling

More information

Computer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.

Computer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A. Computer Graphics Instructor: Oren Kapah (orenkapahbiu@gmail.com) Office Hours: T.B.A. The CG-IDC slides for this course were created by Toky & Hagit Hel-Or 1 CG-IDC 2 Exercise and Homework The exercise

More information

(a) rotating 45 0 about the origin and then translating in the direction of vector I by 4 units and (b) translating and then rotation.

(a) rotating 45 0 about the origin and then translating in the direction of vector I by 4 units and (b) translating and then rotation. Code No: R05221201 Set No. 1 1. (a) List and explain the applications of Computer Graphics. (b) With a neat cross- sectional view explain the functioning of CRT devices. 2. (a) Write the modified version

More information

Computer Graphics I Lecture 11

Computer Graphics I Lecture 11 15-462 Computer Graphics I Lecture 11 Midterm Review Assignment 3 Movie Midterm Review Midterm Preview February 26, 2002 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/

More information

Lahore University of Management Sciences. CS 452 Computer Graphics

Lahore University of Management Sciences. CS 452 Computer Graphics CS 452 Computer Graphics Fall 2015-16 Instructor Murtaza Taj Room No. SSE Block 10-301 Office Hours TBA Email murtaza.taj@lums.edu.pk Telephone 3301 Secretary/TA TBA TA Office Hours TBA Course URL (if

More information

Computer Graphics: Programming, Problem Solving, and Visual Communication

Computer Graphics: Programming, Problem Solving, and Visual Communication Computer Graphics: Programming, Problem Solving, and Visual Communication Dr. Steve Cunningham Computer Science Department California State University Stanislaus Turlock, CA 95382 copyright 2002, Steve

More information

KINGS GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGG. OUTPUT PRIMITIVES Part-A (2-MARKS)

KINGS GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGG. OUTPUT PRIMITIVES Part-A (2-MARKS) KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGG QUESTION BANK YEAR/ SEM : III/ VI SUB. CODE : SUBJECT NAME: UNIT- I OUTPUT PRIMITIVES 1. What is the purpose of presentation graphics?

More information

CS 130 Final. Fall 2015

CS 130 Final. Fall 2015 CS 130 Final Fall 2015 Name Student ID Signature You may not ask any questions during the test. If you believe that there is something wrong with a question, write down what you think the question is trying

More information

SRI VENKATESWARA COLLEGE OF ENGINEERING. COURSE DELIVERY PLAN - THEORY Page 1 of 6

SRI VENKATESWARA COLLEGE OF ENGINEERING. COURSE DELIVERY PLAN - THEORY Page 1 of 6 COURSE DELIVERY PLAN - THEORY Page 1 of 6 Department of Information Technology B.E/B.Tech/M.E/M.Tech : IT Regulation: 2016 PG Specialisation : -- Sub. Code / Sub. Name : IT16501 / Graphics and Multimedia

More information

Points and lines, Line drawing algorithms. Circle generating algorithms, Midpoint circle Parallel version of these algorithms

Points and lines, Line drawing algorithms. Circle generating algorithms, Midpoint circle Parallel version of these algorithms Jahangirabad Institute Of Technology Assistant Prof. Ankur Srivastava COMPUTER GRAPHICS Semester IV, 2016 MASTER SCHEDULE Unit-I Unit-II Class 1,2,3,4 Mon, Jan19,Tue20,Sat23,Mon 25 Class 5 Wed, Jan 27

More information

Computer Graphics. Apurva A. Desai

Computer Graphics. Apurva A. Desai Computer Graphics Apurva A. Desai COMPUTER GRAPHICS Apurva A. Desai Professor and Head Department of Computer Science Veer Narmad South Gujarat University Surat New Delhi-110001 2008 COMPUTER GRAPHICS

More information

KRISTU JYOTI COLLEGE OF MANAGEMENT & TECHNOLOGY QUESTION BANK BCA SEMESTER III Computer graphics Part A (2 marks questions)

KRISTU JYOTI COLLEGE OF MANAGEMENT & TECHNOLOGY QUESTION BANK BCA SEMESTER III Computer graphics Part A (2 marks questions) KRISTU JYOTI COLLEGE OF MANAGEMENT & TECHNOLOGY QUESTION BANK 2018 BCA SEMESTER III Computer graphics Part A (2 marks questions) 1. What do mean by refreshing of a screen? 2. Define computer graphics 3.

More information

ME COMPUTER AIDED DESIGN COMPUTER AIDED DESIGN 2 MARKS Q&A

ME COMPUTER AIDED DESIGN COMPUTER AIDED DESIGN 2 MARKS Q&A ME6501 - COMPUTER AIDED DESIGN COMPUTER AIDED DESIGN 2 MARKS Q&A Unit I 1. What is CAD? Computer aided design (CAD) is the technology concerned with the use of computer systems to assist the creation,

More information

Graphics and Interaction Rendering pipeline & object modelling

Graphics and Interaction Rendering pipeline & object modelling 433-324 Graphics and Interaction Rendering pipeline & object modelling Department of Computer Science and Software Engineering The Lecture outline Introduction to Modelling Polygonal geometry The rendering

More information

Topics and things to know about them:

Topics and things to know about them: Practice Final CMSC 427 Distributed Tuesday, December 11, 2007 Review Session, Monday, December 17, 5:00pm, 4424 AV Williams Final: 10:30 AM Wednesday, December 19, 2007 General Guidelines: The final will

More information

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS GEOMETRIC TOOLS FOR COMPUTER GRAPHICS PHILIP J. SCHNEIDER DAVID H. EBERLY MORGAN KAUFMANN PUBLISHERS A N I M P R I N T O F E L S E V I E R S C I E N C E A M S T E R D A M B O S T O N L O N D O N N E W

More information

Aptitude Test Question

Aptitude Test Question Aptitude Test Question Q.1) Which software is not used for Image processing? a) MatLab b) Visual Basic c) Java d) Fortran Q.2) Which software is not used for Computer graphics? a) C b) Java c) Fortran

More information

Lahore University of Management Sciences. CS 452 Computer Graphics

Lahore University of Management Sciences. CS 452 Computer Graphics CS 452 Computer Graphics Fall 206-7 Instructor Room No. Office Hours Email Murtaza Taj 9-GA TBA murtaza.taj@lums.edu.pk Telephone 330 Secretary/TA TA Office Hours Course URL (if any) TBA TBA LMS Course

More information

Graphics Hardware and Display Devices

Graphics Hardware and Display Devices Graphics Hardware and Display Devices CSE328 Lectures Graphics/Visualization Hardware Many graphics/visualization algorithms can be implemented efficiently and inexpensively in hardware Facilitates interactive

More information

Animation & Rendering

Animation & Rendering 7M836 Animation & Rendering Introduction, color, raster graphics, modeling, transformations Arjan Kok, Kees Huizing, Huub van de Wetering h.v.d.wetering@tue.nl 1 Purpose Understand 3D computer graphics

More information

CS 464 Review. Review of Computer Graphics for Final Exam

CS 464 Review. Review of Computer Graphics for Final Exam CS 464 Review Review of Computer Graphics for Final Exam Goal: Draw 3D Scenes on Display Device 3D Scene Abstract Model Framebuffer Matrix of Screen Pixels In Computer Graphics: If it looks right then

More information

COURSE DELIVERY PLAN - THEORY Page 1 of 6

COURSE DELIVERY PLAN - THEORY Page 1 of 6 COURSE DELIVERY PLAN - THEORY Page 1 of 6 Department of Information Technology B.E/B.Tech/M.E/M.Tech : Information Technology Regulation: 2013 PG Specialisation : LP: IT6501 Rev. No: 01 Date: 30/06/2016

More information

BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI

BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI-635 854. 2017-2018 ODD SEMESTER -INFORMATION TECHNOLOGY IT6501 - GRAPHICS AND MULTIMEDIA- QUESTION BANK UNIT-I OUTPUT PRIMITIVES 1. What do you mean by output

More information

Computer Graphics Solved MCQs -Part 2 MCQs Questions

Computer Graphics Solved MCQs -Part 2 MCQs Questions http://itbookshub.com/ Computer Graphics Solved MCQs -Part 2 MCQs Multiple Choice Questions Computer Graphics Solved MCQs -Part 2 Two consecutive scaling transformation s1 and s2 are Additive Multiplicative

More information

Institutionen för systemteknik

Institutionen för systemteknik Code: Day: Lokal: M7002E 19 March E1026 Institutionen för systemteknik Examination in: M7002E, Computer Graphics and Virtual Environments Number of sections: 7 Max. score: 100 (normally 60 is required

More information

COURSE DELIVERY PLAN - THEORY Page 1 of 6

COURSE DELIVERY PLAN - THEORY Page 1 of 6 COURSE DELIVERY PLAN - THEORY Page 1 of 6 Department of Information Technology B.E/B.Tech/M.E/M.Tech : Information Technology Regulation: 2013 PG Specialisation : Sub. Code / Sub. Name : IT6501 / Graphics

More information

MODELING AND HIERARCHY

MODELING AND HIERARCHY MODELING AND HIERARCHY Introduction Models are abstractions of the world both of the real world in which we live and of virtual worlds that we create with computers. We are all familiar with mathematical

More information

Deceleration 141 Deep Sensation 218 Design Considerations 191 Device Coordinate System 12 Diffuse Reflection 119 Digital to Analog Converter 12

Deceleration 141 Deep Sensation 218 Design Considerations 191 Device Coordinate System 12 Diffuse Reflection 119 Digital to Analog Converter 12 I A Acceleration 141 Affine Transformations 58 Agnosticism 209 AIML Language 349 ALICE 349 Ambient Light 116 Ambient Reflection 119 Anchor Node 305 Angular Speed 153 Animating a Gears Mesh 154 Animation

More information

For each question, indicate whether the statement is true or false by circling T or F, respectively.

For each question, indicate whether the statement is true or false by circling T or F, respectively. True/False For each question, indicate whether the statement is true or false by circling T or F, respectively. 1. (T/F) Rasterization occurs before vertex transformation in the graphics pipeline. 2. (T/F)

More information

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations Multimedia Systems 03 Vector Graphics 2D and 3D Graphics, Transformations Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures

More information

The Viewing Pipeline Coordinate Systems

The Viewing Pipeline Coordinate Systems Overview Interactive Graphics System Model Graphics Pipeline Coordinate Systems Modeling Transforms Cameras and Viewing Transform Lighting and Shading Color Rendering Visible Surface Algorithms Rasterization

More information

Chapter 5. Projections and Rendering

Chapter 5. Projections and Rendering Chapter 5 Projections and Rendering Topics: Perspective Projections The rendering pipeline In order to view manipulate and view a graphics object we must find ways of storing it a computer-compatible way.

More information

COMP30019 Graphics and Interaction Rendering pipeline & object modelling

COMP30019 Graphics and Interaction Rendering pipeline & object modelling COMP30019 Graphics and Interaction Rendering pipeline & object modelling Department of Computer Science and Software Engineering The Lecture outline Introduction to Modelling Polygonal geometry The rendering

More information

Lecture outline. COMP30019 Graphics and Interaction Rendering pipeline & object modelling. Introduction to modelling

Lecture outline. COMP30019 Graphics and Interaction Rendering pipeline & object modelling. Introduction to modelling Lecture outline COMP30019 Graphics and Interaction Rendering pipeline & object modelling Department of Computer Science and Software Engineering The Introduction to Modelling Polygonal geometry The rendering

More information

CS GAME PROGRAMMING Question bank

CS GAME PROGRAMMING Question bank CS6006 - GAME PROGRAMMING Question bank Part A Unit I 1. List the different types of coordinate systems. 2. What is ray tracing? Mention some applications of ray tracing. 3. Discuss the stages involved

More information

CPSC GLOBAL ILLUMINATION

CPSC GLOBAL ILLUMINATION CPSC 314 21 GLOBAL ILLUMINATION Textbook: 20 UGRAD.CS.UBC.CA/~CS314 Mikhail Bessmeltsev ILLUMINATION MODELS/ALGORITHMS Local illumination - Fast Ignore real physics, approximate the look Interaction of

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Computer Graphics

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Computer Graphics r About the Tutorial To display a picture of any size on a computer screen is a difficult process. Computer graphics are used to simplify this process. Various algorithms and techniques are used to generate

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF MECHANICAL ENGINEERING QUESTION BANK M.E: CAD/CAM I SEMESTER ED5151 COMPUTER APPLICATIONS IN DESIGN Regulation 2017 Academic

More information

MCA IV SEMESTER SYLLABUS

MCA IV SEMESTER SYLLABUS MCA IV SEMESTER SYLLABUS CS - 41. Visual Programming with VB.Net CS - 42. Software Engineering CS - 43. Operations Research CS - 44. Computer Graphics & Programming with World Wide Web. CS - 45. Project

More information

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping Topic 12: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping Texture sources: Photographs Texture sources: Procedural Texture sources: Solid textures

More information

Review. Stephen J. Guy

Review. Stephen J. Guy Review Stephen J. Guy Overview Pixar short Review last class Review course Area of Graphics Image Processing Rendering Modeling Animation Misc Area of Graphics Image Processing Rendering Modeling Animation

More information

Computer Graphics Lecture 2

Computer Graphics Lecture 2 1 / 16 Computer Graphics Lecture 2 Dr. Marc Eduard Frîncu West University of Timisoara Feb 28th 2012 2 / 16 Outline 1 Graphics System Graphics Devices Frame Buffer 2 Rendering pipeline 3 Logical Devices

More information

Computer Graphics! LECTURE 4 HIERARCHICAL MODELING INTRODUCTION TO 3D CONCEPTS. Doç. Dr. Mehmet Gokturk Gebze Institute of Technology!

Computer Graphics! LECTURE 4 HIERARCHICAL MODELING INTRODUCTION TO 3D CONCEPTS. Doç. Dr. Mehmet Gokturk Gebze Institute of Technology! Computer Graphics! LECTURE 4 HIERARCHICAL MODELING INTRODUCTION TO 3D CONCEPTS Doç. Dr. Mehmet Gokturk Gebze Institute of Technology! Structure Concept! In many graphics applications, it is necessary to

More information

HE COMPLETE OPENGL PROGI FOR WINDOW WIND

HE COMPLETE OPENGL PROGI FOR WINDOW WIND HE COMPLETE OPENGL PROGI FOR WINDOW WIND WAITC GROUP PRESS. A Division of Sams Publishing Corte Madera CA Table of Contents FOREWORD xxii INTRODUCTION xxiii PART I: INTRODUCTION TO OPENGL 1 CHAPTER 1:

More information

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized Topic 11: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip mapping & env mapping Texture sources: Photographs Texture sources: Procedural Texture sources: Solid textures

More information

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11 Pipeline Operations CS 4620 Lecture 11 1 Pipeline you are here APPLICATION COMMAND STREAM 3D transformations; shading VERTEX PROCESSING TRANSFORMED GEOMETRY conversion of primitives to pixels RASTERIZATION

More information

Computer Graphics & Image Processing: Exercises

Computer Graphics & Image Processing: Exercises Computer Graphics & Image Processing: Exercises Computer Laboratory Part IB Part II(General) Diploma in Computer Science Introduction These exercises were, in the main, written by three computer graphics

More information

CS451Real-time Rendering Pipeline

CS451Real-time Rendering Pipeline 1 CS451Real-time Rendering Pipeline JYH-MING LIEN DEPARTMENT OF COMPUTER SCIENCE GEORGE MASON UNIVERSITY Based on Tomas Akenine-Möller s lecture note You say that you render a 3D 2 scene, but what does

More information

Development of Computer Graphics

Development of Computer Graphics 1951 Whirlwind, Jay Forrester (MIT) CRT displays mid 1950s SAGE air defense system command & control CRT, light pens late 1950s Computer Art, James Whitney Sr. Visual Feedback loops 1962 Sketchpad, Ivan

More information

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside CS230 : Computer Graphics Lecture 4 Tamar Shinar Computer Science & Engineering UC Riverside Shadows Shadows for each pixel do compute viewing ray if ( ray hits an object with t in [0, inf] ) then compute

More information

9. Three Dimensional Object Representations

9. Three Dimensional Object Representations 9. Three Dimensional Object Representations Methods: Polygon and Quadric surfaces: For simple Euclidean objects Spline surfaces and construction: For curved surfaces Procedural methods: Eg. Fractals, Particle

More information

Foundations of 3D Graphics Programming

Foundations of 3D Graphics Programming Foundations of 3D Graphics Programming Jim X. Chen Edward J. Wegman Foundations of 3D Graphics Programming Using JOGL and Java3D With 139 Figures Jim X. Chen, PhD Computer Science Department George Mason

More information

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural Topic 11: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip mapping & env mapping Topic 11: Photographs Texture Mapping Motivation Sources of texture Texture coordinates

More information

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming L1 - Introduction Contents Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming 1 Definitions Computer-Aided Design (CAD) The technology concerned with the

More information

Pipeline Operations. CS 4620 Lecture 14

Pipeline Operations. CS 4620 Lecture 14 Pipeline Operations CS 4620 Lecture 14 2014 Steve Marschner 1 Pipeline you are here APPLICATION COMMAND STREAM 3D transformations; shading VERTEX PROCESSING TRANSFORMED GEOMETRY conversion of primitives

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Light sources emit intensity: assigns intensity to each wavelength of light Humans perceive as a colour - navy blue, light green, etc. Exeriments show that there are distinct I

More information

Chapter 2 A top-down approach - How to make shaded images?

Chapter 2 A top-down approach - How to make shaded images? Chapter 2 A top-down approach - How to make shaded images? Comp. Graphics (U), Chap 2 Global View 1 CGGM Lab., CS Dept., NCTU Jung Hong Chuang Graphics API vs. application API Graphics API Support rendering

More information

Introduction to Computer Graphics 7. Shading

Introduction to Computer Graphics 7. Shading Introduction to Computer Graphics 7. Shading National Chiao Tung Univ, Taiwan By: I-Chen Lin, Assistant Professor Textbook: Hearn and Baker, Computer Graphics, 3rd Ed., Prentice Hall Ref: E.Angel, Interactive

More information

Module Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1

Module Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1 UNIVERSITY OF EAST ANGLIA School of Computing Sciences Main Series PG Examination 2013-14 COMPUTER GAMES DEVELOPMENT CMPSME27 Time allowed: 2 hours Answer any THREE questions. (40 marks each) Notes are

More information

Computer graphics (cs602) Final term mcqs fall 2013 Libriansmine

Computer graphics (cs602) Final term mcqs fall 2013 Libriansmine Computer graphics (cs602) Final term mcqs fall 2013 Libriansmine Question # 1 Total Marks: 1 Consider the following problem from lighting: A point (P1) is at (0, 0, 0) with normal equal to 1/(2*sqrt(2))*(sqrt(2),

More information

The Traditional Graphics Pipeline

The Traditional Graphics Pipeline Final Projects Proposals due Thursday 4/8 Proposed project summary At least 3 related papers (read & summarized) Description of series of test cases Timeline & initial task assignment The Traditional Graphics

More information

Roll No. :... Invigilator's Signature : GRAPHICS AND MULTIMEDIA. Time Allotted : 3 Hours Full Marks : 70

Roll No. :... Invigilator's Signature : GRAPHICS AND MULTIMEDIA. Time Allotted : 3 Hours Full Marks : 70 Name : Roll No. :.... Invigilator's Signature :.. CS/MCA/SEM-4/MCA-402/2011 2011 GRAPHICS AND MULTIMEDIA Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates

More information

The Traditional Graphics Pipeline

The Traditional Graphics Pipeline Last Time? The Traditional Graphics Pipeline Participating Media Measuring BRDFs 3D Digitizing & Scattering BSSRDFs Monte Carlo Simulation Dipole Approximation Today Ray Casting / Tracing Advantages? Ray

More information

Graphics Systems and Models

Graphics Systems and Models Graphics Systems and Models 2 nd Week, 2007 Sun-Jeong Kim Five major elements Input device Processor Memory Frame buffer Output device Graphics System A Graphics System 2 Input Devices Most graphics systems

More information

Lesson Plan. Name of Faculty: Sana Bharti. Discipline: MCA. Semester: 4 th. Subject: Data Mining and Warehousing (MCA-16-43)

Lesson Plan. Name of Faculty: Sana Bharti. Discipline: MCA. Semester: 4 th. Subject: Data Mining and Warehousing (MCA-16-43) Lesson Plan Name of Faculty: Sana Bharti Discipline: MCA Semester: 4 th Subject: Data Mining and Warehousing (MCA-16-43) Lesson Plan Duration: 15 Weeks Workload (Lecture) Per Week: 4 Lecture Per Week Week

More information

Graphics for VEs. Ruth Aylett

Graphics for VEs. Ruth Aylett Graphics for VEs Ruth Aylett Overview VE Software Graphics for VEs The graphics pipeline Projections Lighting Shading VR software Two main types of software used: off-line authoring or modelling packages

More information

Computer Graphics & Image Processing: Exercises

Computer Graphics & Image Processing: Exercises Computer Graphics & Image Processing: Exercises Computer Laboratory Part IB Part II(General) Diploma in Computer Science Introduction Some of these exercises were written by three computer graphics supervisors

More information

Computer Graphics 1 Instructor Information. Books. Graphics? Course Goals and Outcomes. Where are computer graphics? Where are computer graphics?

Computer Graphics 1 Instructor Information. Books. Graphics? Course Goals and Outcomes. Where are computer graphics? Where are computer graphics? Computer Graphics 1 Instructor Information Books Instructor: Dr. Jessica Bayliss Office: 70-3509 Telephone: (585) 475-2507 Office Hours: see my web site Web page: www.cs.rit.edu/~jdb Teaching Philosophy:

More information

Punjab Technical University Bachelor in Mobile Computing & Internet Batch 2014 onwards THIRD SEMESTER

Punjab Technical University Bachelor in Mobile Computing & Internet Batch 2014 onwards THIRD SEMESTER THIRD SEMESTER Review of DBMS: Punjab Technical University RELATIONAL DATABASE MANAGEMENT SYSTEM BMCI301 Section A Basic DBMS terminology; Architecture of a DBMS: Data Independence - Physical and Logical

More information

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13 Lecture 1 Computer Graphics and Systems What is Computer Graphics? Image Formation Sun Object Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley Computer Graphics

More information

Final Exam CS 184: Foundations of Computer Graphics! page 1 of 12!

Final Exam CS 184: Foundations of Computer Graphics! page 1 of 12! Final Exam CS 184: Foundations of Computer Graphics! page 1 of 12! Student Name:! Class Account Username: Instructions: Read them carefully!! The exam begins at 8:10pm and ends at 10:00pm. You must turn

More information

CEng 477 Introduction to Computer Graphics Fall 2007

CEng 477 Introduction to Computer Graphics Fall 2007 Visible Surface Detection CEng 477 Introduction to Computer Graphics Fall 2007 Visible Surface Detection Visible surface detection or hidden surface removal. Realistic scenes: closer objects occludes the

More information

Computer Graphics. - Texturing Methods -

Computer Graphics. - Texturing Methods - Computer Graphics - Texturing Methods - Overview Last time BRDFs Shading Today Texturing Texture parameterization Procedural methods Procedural textures Fractal landscapes Next lecture Texture filtering

More information

- Location: Annenberg Text: Mostly Self-Contained on course Web pages. - Al Barr

- Location: Annenberg Text: Mostly Self-Contained on course Web pages. - Al Barr CS171 Computer Graphics Time: 3pm-3:55pm MW(F) - Location: Annenberg 105 - Text: Mostly Self-Contained on course Web pages Instructor: - Al Barr barradmin@cs.caltech.edu, TAs: - Kevin (Kevli) Li - kevli@caltech.edu

More information

Computer Graphics Fundamentals. Jon Macey

Computer Graphics Fundamentals. Jon Macey Computer Graphics Fundamentals Jon Macey jmacey@bournemouth.ac.uk http://nccastaff.bournemouth.ac.uk/jmacey/ 1 1 What is CG Fundamentals Looking at how Images (and Animations) are actually produced in

More information

Computer Graphics. Bing-Yu Chen National Taiwan University

Computer Graphics. Bing-Yu Chen National Taiwan University Computer Graphics Bing-Yu Chen National Taiwan University Introduction The Graphics Process Color Models Triangle Meshes The Rendering Pipeline 1 INPUT What is Computer Graphics? Definition the pictorial

More information

Chapter 4. Chapter 4. Computer Graphics 2006/2007 Chapter 4. Introduction to 3D 1

Chapter 4. Chapter 4. Computer Graphics 2006/2007 Chapter 4. Introduction to 3D 1 Chapter 4 Chapter 4 Chapter 4. Introduction to 3D graphics 4.1 Scene traversal 4.2 Modeling transformation 4.3 Viewing transformation 4.4 Clipping 4.5 Hidden faces removal 4.6 Projection 4.7 Lighting 4.8

More information

CSE528 Computer Graphics: Theory, Algorithms, and Applications

CSE528 Computer Graphics: Theory, Algorithms, and Applications CSE528 Computer Graphics: Theory, Algorithms, and Applications Hong Qin State University of New York at Stony Brook (Stony Brook University) Stony Brook, New York 11794--4400 Tel: (631)632-8450; Fax: (631)632-8334

More information

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted.

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted. CS 184: Foundations of Computer Graphics page 1 of 12 Student Name: Student ID: Instructions: Read them carefully! The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is

More information

Graphics Pipeline 2D Geometric Transformations

Graphics Pipeline 2D Geometric Transformations Graphics Pipeline 2D Geometric Transformations CS 4620 Lecture 8 1 Plane projection in drawing Albrecht Dürer 2 Plane projection in drawing source unknown 3 Rasterizing triangles Summary 1 evaluation of

More information

Syllabus CS476 COMPUTER GRAPHICS Fall 2009

Syllabus CS476 COMPUTER GRAPHICS Fall 2009 Syllabus CS476 COMPUTER GRAPHICS Fall 2009 Text: Computer Graphics: Principles & Practice, by Foley, van Dam, Feiner, & Hughes(2nd Ed. in C) Changes will be made as necessary. Instructor: Hue McCoy TA:

More information

Introduction to Visualization and Computer Graphics

Introduction to Visualization and Computer Graphics Introduction to Visualization and Computer Graphics DH2320, Fall 2015 Prof. Dr. Tino Weinkauf Introduction to Visualization and Computer Graphics Visibility Shading 3D Rendering Geometric Model Color Perspective

More information