Getting Started with Computer Graphics A Short History of Computer Graphics Section 1 : Introduction Section 2 : The Graphics Rendering Pipeline Section.

Slides:



Advertisements
Similar presentations
COMPUTER GRAPHICS SOFTWARE.
Advertisements

CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Graphics Pipeline.
In the name of God Computer Graphics Bastanfard.
3D Graphics Rendering and Terrain Modeling
Shared Graphics Skills Cameras and Clipping Planes
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
HCI 530 : Seminar (HCI) Damian Schofield.
Theoretical Foundations of Multimedia Chapter 3 Virtual Reality Devices Non interactive Slow image update rate Simple image Nonengaging content and presentation.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
Game Engine Design ITCS 4010/5010 Spring 2006 Kalpathi Subramanian Department of Computer Science UNC Charlotte.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures 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.
October 2001Sheffield Hallam University1 Raster Graphics Raster formats used for storing digitized photographs, scanned artwork. comprised of individual.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
Computer Graphics Hardware and Software Lecture Notes, CEng 477.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
1. 2  A computer is a device capable of storing data  in a format suited to the computer,  which is then processed by mathematical manipulation and.
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Getting started © juhanita2015.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
1 Chapter 1: Graphics Systems and Models. 2 Applications of C. G. – 1/4 Display of information Maps GIS (geographic information system) CT (computer tomography)
Introduction to 3D Computer Graphics and Virtual Reality McConnell text.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
Basics of Rendering Pipeline Based Rendering –Objects in the scene are rendered in a sequence of steps that form the Rendering Pipeline. Ray-Tracing –A.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Computer Graphics Computer Graphics is everywhere: Visual system is most important sense: High bandwidth Natural communication Fast developments in Hardware.
UniS CS297 Graphics with Java and OpenGL Introduction.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
UniS CS293 Graphics with Java and OpenGL Introduction.
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
INTRODUCTION INTRODUCTION Computer Graphics: As objects: images generated and/or displayed by computers. As a subject: the science of studying how to generate.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
CS 480/680 Computer Graphics Image Formation Dr. Frederick C Harris, Jr.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
Programming 3D Applications CE Displaying Computer Graphics Week 3 Lecture 5 Bob Hobbs Faculty of Computing, Engineering and Technology Staffordshire.
3D animation is rendered clip of animated 3D objects in a 3D environment. An example: Examples of movies released in 3D are Toy Story, Cars, Shrek, Wall-E,
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Sky Boxes and Vector Math 2 Course Information CVG: Programming 4 My Name: Mark Walsh Website:
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Chapter 1 Graphics Systems and Models Models and Architectures.
OUTPUT PRIMITIVES A.Aruna/Faculty of Information technology/SNSCE13/19/2016.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Chun-Yuan Lin Coordinate Reference Frames 2016/6/22 1 CG.
Forward Projection Pipeline and Transformations CENG 477 Introduction to Computer Graphics.
3D Rendering 2016, Fall.
Rendering Pipeline Fall, 2015.
- Introduction - Graphics Pipeline
IMAGES.
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
3D Graphics Rendering PPT By Ricardo Veguilla.
Understanding Theory and application of 3D
Models and Architectures
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Models and Architectures
Models and Architectures
Presentation transcript:

Getting Started with Computer Graphics A Short History of Computer Graphics Section 1 : Introduction Section 2 : The Graphics Rendering Pipeline Section 3 : Primitives Section 4 : Algorithms Section 5 : Co-ordinate Systems Section 6 : World Origin and Local Origin Section 7 : Orienting Shapes

A Short History of Computer Graphics 1963: Ivan Sutherland (MIT) Sketchpad Calligraphic display devices Interactive techniques 1969: Evans &Sutherland founded First SIGGRAPH Mid 70's: Raster Graphics (Xerox PARC, Shoup) Mid 70's - present: Quest for realism: Raytracing, radiosity; also mainstream real-time applications. 90's: Interactive graphics as a media form: Scientific visualisation, VR, Infobahn...

Ivan Sutherland The first VR Pioneer. His contributions at Harvard, and then at the University of Utah, were basic to computer graphics and immersive interaction. His group developed the first algorithms to remove "hidden lines" in drawings of 3D objects, a technique essential to any sort of realistic rendering. Perhaps most notably, in 1967, he and a research group at Harvard were experimenting with the presentation of three-dimensional data through the use of a binocular display system which was coupled to the user's head — the head-mounted display.

The Utah Research Unit The University of Utah was the centre of research into rendering algorithms in the early 1970’s. Various polygon models were set up manually, including a VW Beetle, digitised by Ivan Sutherland’s class in 1971.

The Utah Teapot In 1975 Mike Newall developed the Utah teapot, a familiar object that has become a kind of benchmark in computer graphics. The original teapot is now in the Boston Computer Museum, displayed alongside its computer ego.

Raster Graphics Common raster formats include TIFF, JPEG, GIF, PCX, & BMP. Adobe Photoshop, Picture Publisher, and Fractal Painter are among the most popular packages for creating raster graphics.

Raytracing PoV Ray

PoV Ray

Current Work

Introduction Although we all live and work in a 3D environment, our perception of 2D graphics is clearer than our understanding of the more complex concepts of 3D. The aims of the computer graphics part of the course is to introduce some of these basic 3D concepts and explain how CG and VR systems use them to construct VEs.

The Graphics Rendering Pipeline

Rendering: The conversion of a scene into an image: Scene: Composed of models placed in 3D space. Models: Composed of collections of primitives. Primitives: Graphic components supported by a Renderer. Output Image: May be drawn on a monitor or printed on a laser printer or written to a raster in memory or to a file or......Must consider device independence. The Graphics Pipeline: The “model” to “image” conversion broken into stages. Some version of the pipeline is implemented in graphics hardware to get interactive speeds.

Co-ordinate Systems MCS: Modelling Co-ordinate System. WCS: World Co-ordinate System. VCS: Viewer Co-ordinate System. NDCS: Normalised Device Co-ordinate System. DCS or SCS: Device Co-ordinate System or equivalently the Screen Co-ordinate System.

The Graphics Rendering Pipeline

Pipeline Stages Refine the scene step by step:  Convert primitives in the MCS to primitives in the DCS.  Add derived information: shading, texture, shadows.  Remove invisible primitives.  Convert primitives in the DCS to pixels in a raster image.

Transformations Co-ordinate system conversions can be represented with matrix- vector multiplication.

Primitives Models are typically composed of a large number of geometric primitives. The only rendering primitives typically supported in hardware are  Points (single pixels)  Line Segments  Polygons (usually restricted to convex polygons).

Primitives Modelling primitives include these, but also  Polynomial (spline) curves  Polynomial (spline) surfaces  Implicit surfaces (quadrics, etc)  Other... A software renderer may support these modelling primitives directly, or they may be converted into polygonal or linear approximations for hardware rendering.

Algorithms Transformation: Convert representations of primitives from one co- ordinate system to another. Clipping/Hidden Surface Removal: Remove primitives and parts of primitives that are not visible on the display. Rasterisation: Convert a projected screen-space primitive to a set of pixels. Picking: Select a 3D object by clicking an input device over a pixel location. Shading and Illumination: Simulate the interaction of light with a scene. Animation: Simulate movement by rendering a sequence of frames.

Co-ordinate Systems To give the desired effect, 3D objects should be displayed with depth and perspective, to bring realism to a scene. We do this by using points and axes to determine position. Within the field of CG and VR we use three perpendicular axes, which are conventionally labelled as x, y and z axes and the distances from the origin that form the position of a point are referred to as the x, y and z values. There are different co- ordinate rules employed by different software systems, the left hand and right hand rule.

Co-ordinate Systems

Co-ordinates - Room 1 To describe the basics of how such a co-ordinate, or point system works we will use a simple analogy. Consider a room that has four walls, a floor and a ceiling - this is our imaginary, or virtual, world. Any point within this world, for example a light bulb, can be specified using three distances - across the front, up towards the ceiling, and then into the room. These three values define a co- ordinate or point, and are measurements from the origin (in this case the origin is the bottom left hand corner of the room and the co-ordinate systems is left handed).

Co-ordinates - Room 1

Co-ordinates - Room 2 If we were to change the origin to another part of the room, then the distances to the light bulb (our point) would change as well. The directions in which we measure these three distances to the point define an axes system. Distances do not need to be shown as positive values. For example, if we make the position of the light bulb our starting point, or origin, and out destination is the bottom left hand corner, then the values are all negative (for a left handed systems).

Co-ordinates - Room 2

World Origin and Local origin Points outside a room can also be readily defined. So points in another room or another building can be defined with respect to this origin, which is known as our world origin. Therefore we can say that everything in our world is measured from this world origin. It is worth noting that the units of measurement are not necessarily specified. They could be yards, feet, meters, millimetres or light years, the size of the world is effectively infinite.

World Origin and Local Origin The concept of local origin is very important. It is used as a reference point for placing shapes and models in the world both individually and as part of a bounded hierarchy, allowing complete flexibility.

World Origin and Local Origin When the shape is added into a world, the local origin is referenced to the world origin. So as shapes are moved around in the virtual world, we only change the local origin, rather than the position of each individual point.

Aircraft and Control Tower As an example consider an aircraft in the sky. Once we have defined the points and faces with respect to the local origin, to place the aircraft in the world we specify the origin of the aircraft in relation to the world origin (control tower).

Aircraft and Control Tower

Orienting Shapes A shape not only has an origin defined by a point in space, but also an orientation. Most ‘real world’ shapes have a logical ‘upright’ orientation and some can be considered as having a logical ‘front’, for example, aircraft and cars, i.e. you can think of the objects orientation as ‘the way that it faces’.

Orienting Shapes Orientation applies to all objects in the virtual world - models, lights, cameras etc., and can be defined as ‘a measure of the angular rotation about each of the three axes’, this is often measured in degrees.

Orienting Shapes As the distances along each axis are labelled x, y and z, so the labels for the rotation are known by terms from the world of aviation: pitch, yaw and roll. Pitch is the rotation around the x-axis, yaw is rotation around the y-axis and roll is a rotation around the z-axis.

Orienting Shapes