3D Graphics Rendering and Terrain Modeling

Slides:



Advertisements
Similar presentations
Lecture 8 Transparency, Mirroring
Advertisements

Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Graphics Pipeline.
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
1 Computer Graphics Chapter 9 Rendering. [9]-2RM Rendering Three dimensional object rendering is the set of collective processes which make the object.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
HCI 530 : Seminar (HCI) Damian Schofield.
Chapter 6: Vertices to Fragments Part 2 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
(conventional Cartesian reference system)
X86 and 3D graphics. Quick Intro to 3D Graphics Glossary: –Vertex – point in 3D space –Triangle – 3 connected vertices –Object – list of triangles that.
7M836 Animation & Rendering
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.
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
CIS 310: Visual Programming, Spring 2006 Western State College 310: Visual Programming Ray Tracing.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Part I: Basics of Computer Graphics Rendering Polygonal Objects (Read Chapter 1 of Advanced Animation and Rendering Techniques) Chapter
3D Graphics Rendering and Terrain Modeling Technology and Historical Overview By Ricardo Veguilla.
3D Rendering with JOGL Introduction to Java OpenGL Graphic Library By Ricardo Veguilla
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.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Fundamentals of Computer Graphics Part 6 Shading prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared with Angel,E.:
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
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.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
COMP 175: Computer Graphics March 24, 2015
Computer Graphics Panos Trahanias ΗΥ358 Spring 2009.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Week 2 - Wednesday CS361.
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.
Shading & Texture. Shading Flat Shading The process of assigning colors to pixels. Smooth Shading Gouraud ShadingPhong Shading Shading.
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
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.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
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
COMPUTER GRAPHICS CSCI 375. What do I need to know?  Familiarity with  Trigonometry  Analytic geometry  Linear algebra  Data structures  OOP.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Implementation II Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
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.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
MIT EECS 6.837, Durand and Cutler The Graphics Pipeline: Projective Transformations.
Handle By, S.JENILA AP/IT
Local Illumination and Shading
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Real-Time Dynamic Shadow Algorithms Evan Closson CSE 528.
RENDERING : Global Illumination
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.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
- Introduction - Graphics Pipeline
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
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:

3D Graphics Rendering and Terrain Modeling Technology and Historical Overview By Ricardo Veguilla

Overview Introduction to 3D Computer Graphics OpenGL SGI vs Linux 3D Animation Terrain Modeler: Project Status

Introduction to 3d Computer Graphics 3D computer graphics is the science, study, and method of projecting a mathematical representation of 3D objects onto a 2D image using visual tricks such as perspective and shading to simulate the eye's perception of those objects.

3D Graphics and Physics 3D graphic software is largely based on simulating physical interactions. Generally: Space relations. Light interactions. In particular cases: Material properties. Object Movement.

Goals of 3D computers graphics Practical goal: Visualization - to generate images (usually of recognizable subjects) that are useful in some way. Ideal goal: Photorealism - to produce images indistinguishable from photographs.

Components of a 3D Graphic System 3D Modeling: A way to describe the 3D world or scene, which is composed of mathematical representations of 3D objects called models. 3D Rendering: A mechanism responsible for producing a 2D image from 3D models.

3D Modeling Simple 3D objects can be modeled using mathematical equations operating in the 3-dimensional Cartesian coordinate system. Example: the equation x2 + y2 + z2 = r2 is a model of a perfect sphere with radius r.

Modeling considerations Pure mathematical equations to represent 3D objects requires a great deal of computing power Impractical for real-time applications such as games or interactive simulations.

Alternatives: Polygon Models Modeling objects by sampling only certain points on the object, retaining no data about the curvature in between More efficient, but less detailed.

Alternatives: Texture Mapping Technique used to add surface color detail without increasing the complexity of a model. An image is mapped to the surface of a model.

From 3D models to 2D images A 3D world or scene is composed of collection of 3d models Three different coordinates systems (or spaces) are defined for different model related operations: Object Space World Space Screen Space

Object Space The coordinate system in which a specific 3D object is defined. Each object usually have its own object space with the origin at the object's center The object center is the point about which the object is moved and rotated.

World Space World space is the coordinate system of the 3D world to be rendered. The position and orientation of all the models are defined relative to the center of the world space. The position and orientation of the virtual camera is also defined relative to the world space.

Screen Space 2D space that represents the boundaries of the image to be produced. Many optimization techniques are performed on screen space.

Mathematics of 3D graphics 3D operations like translation, rotation and scaling are performed using matrices and lineal algebra. Each operation is performed by multiplying the 3D vertices by a specific transformation matrix.

3D Rendering The process of taking the mathematical model of the world and producing the output image. The core of the rendering process involves projecting the 3D models onto a 2D image plane.

Types of Rendering Algorithms Two general approaches: Pixel-oriented rendering: Ray tracers Polygon-oriented rendering: Scan-line renderers

Ray tracers Operates by tracing theoretical light rays as they intersect objects in the scene and the projection plane.

Ray tracer limitations Processor intensive. A full ray tracer is impractical for real-time applications. Does not take into account inter-reflections of diffuse light, resulting in hard shadows.

Radiosity Technique that models the inter-reflections of diffuse light between surfaces of the world or environment. Produces more photorealistic illumination and shadows.

Scan-line renderers Operate on an object-by-object basis, directly drawing each polygon to the screen. Requires all objects – including those modeled with continuous curvature – to be tessellated into polygons. Polygons are eventually tessellated into pixels.

Illumination for scan-line renderers Lighting and shading is calculated using the normal vector. The color is linearly interpolated across the polygon surface.

Common shading techniques scan-line renderer Flat shading Gouraud Shading Phong Shading

Flat Shading The color of the polygon is calculated at the center of the polygon by using the normal vector. The complete polygon surface is uniformly lighted.

Gouraud Shading A normal vector is calculated at each vertex. Color is calculated for each vertex and interpolated across the polygon

Phong Shading The normal vectors are interpolated across the surface of the polygon The color of each point within the polygon is calculated from its corresponding normal vector

Polygon shading techniques compared

Viewing frustum Segment of the 3D world to be rendered Objects outside the viewing volume are ignored.

Hidden surface determination Not all objects inside the viewing frustum are always visible from the point of view of the camera. Not all polygons of a particular object are visible from the point of view of the camera. Common Techniques Painters Algorithm Z-Buffering

Painter’s Algorithm Polygon-oriented. All the polygons are sorted by their depth and then displayed in this order.

Z-Buffering Pixel-oriented. When multiple objects overlap (from the point of view of the camera) on a particular pixel, only the value of the pixel closest to the camera is used. Implemented by saving the depth value of each displayed pixel in a buffer, and comparing the depth of each new overlapping pixel against the value in the buffer.

Perspective Projection Projects the 3D world to a 2D image

References: Wikipidia – The Free Encyclopedia http://www.wikipedia.org/ OpenGL - The Industry Standard for High Performance Graphics http://www.opengl.org/ Google Image Search http://images.google.com Overview of 3D Interactive Graphics http://www.siggraph.org/project-grants/com97/com97-tut.html Linux Journal - Industry of Change: Linux Storms Hollywood http://www.linuxjournal.com/article/5472 JCanyon - Grand Canyon Demo http://java.sun.com/products/jfc/tsc/articles/jcanyon/