Computer Graphic Creator: Mohsen Asghari Session 4 Fall 2014.

Slides:



Advertisements
Similar presentations
Java ThreadsGraphics Programming Graphics Programming: Windows, Viewports & Clipping.
Advertisements

MAT 594CM S2010Fundamentals of Spatial ComputingAngus Forbes Overview Goals of the course: 1. to introduce real-time 3D graphics programming with openGL.
Computer Graphics Lecture 4 Geometry & Transformations.
Computer Graphic Creator: Mohsen Asghari Session 2 Fall 2014.
Computer Graphics Lecture 8 Arbitrary Viewing II: More Projection, Clipping and Mathematics of 3D Viewing.
GRAFIKA KOMPUTER ~ M. Ali Fauzi.
1 Computer Graphics Chapter 8 3D Transformations.
Used slides/content with permission from
Viewing Doug James’ CG Slides, Rich Riesenfeld’s CG Slides, Shirley, Fundamentals of Computer Graphics, Chap 7 Wen-Chieh (Steve) Lin Institute of Multimedia.
Transformations and Projections (Some slides adapted from Amitabh Varshney)
1 Chapter 5 Viewing. 2 Perspective Projection 3 Parallel Projection.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
Solve Systems of Equations & Graph Inequalities
Project Geometry Jiecai He (Jake)
12.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 12 – 3D Graphics Transformation Pipeline: Projection and Clipping.
Viewing and Projections
Week 2 - Wednesday CS361.
Autonomous Navigation for Flying Robots Lecture 2.2: 2D Geometry
GRAFIKA KOMPUTER ~ M. Ali Fauzi. Drawing 2 D Graphics.
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
2 COEN Computer Graphics I Evening’s Goals n Discuss the mathematical transformations that are utilized for computer graphics projection viewing.
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
Mathematics. Session Three Dimensional Geometry–1(Straight Line)
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2: Image.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
CAP4730: Computational Structures in Computer Graphics 3D Transformations.
Computer Graphics I, Fall 2010 Computer Viewing.
Viewing CS418 Computer Graphics John C. Hart. Graphics Pipeline Homogeneous Divide Model Coords Model Xform World Coords Viewing Xform Still Clip Coords.
10/7/04© University of Wisconsin, CS559 Fall 2004 Last Time Transformations Homogeneous coordinates Directions Rotation Geometry 101 – Points, edges, triangles/polygons.
Introduction to Computer Graphics Geometric Transformations
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Section 9.2 Adding and Subtracting Matrices Objective: To add and subtract matrices.
Jinxiang Chai CSCE 441 Computer Graphics 3-D Viewing 0.
The Camera Analogy ► Set up your tripod and point the camera at the scene (viewing transformation) ► Arrange the scene to be photographed into the desired.
Chapters 5 2 March Classical & Computer Viewing Same elements –objects –viewer –projectors –projection plane.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 5: Viewing
©2005, Lee Iverson Lee Iverson UBC Dept. of ECE EECE 478 Viewing and Projection.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Introduction to Computer Graphics: Viewing Transformations Rama C
Taxonomy of Projections FVFHP Figure Taxonomy of Projections.
Viewing and Projection
CS552: Computer Graphics Lecture 6: Viewing in 2D.
컴퓨터 그래픽스를 위한 기하학적 기초 (Line Geometry for Computer Graphics)
Coordinate Systems Lecture 1 Fri, Sep 2, The Coordinate Systems The points we create are transformed through a series of coordinate systems before.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Viewing and Projection. The topics Interior parameters Projection type Field of view Clipping Frustum… Exterior parameters Camera position Camera orientation.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Computer Viewing Isaac Gang University of Mary Hardin-Baylor.
Computer Graphics Lecture 16 Fasih ur Rehman. Last Class Homogeneous transformations Types of Transformations – Linear Transformations – Affine Transformations.
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Rotation Translation Reflection. Review of Cartesian Plane.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
3D Computer Graphics (3080/GV10) Week 5-6 Tutorial 3
CSCE 441 Computer Graphics 3-D Viewing
2D Viewing Pipeline.
VECTORS APPLICATIONS NHAA/IMK/UNIMAP.
3D Clipping.
CSL 859: Advanced Computer Graphics
Lecture 3: Camera Rotations and Homographies
Computer Graphics (Spring 2003)
Linear Relationships coordinates reflections origin
Motion in the Coordinate Plane
Geometrical Transformations
1.7 Motion in the Coordinate Plane
컴퓨터 그래픽스를 위한 기하학적 기초 (Line Geometry for Computer Graphics)
Transformations 2 University of British Columbia
컴퓨터 그래픽스를 위한 기하학적 기초 (Line Geometry for Computer Graphics)
Natural Homogeneous Coordinates
Presentation transcript:

Computer Graphic Creator: Mohsen Asghari Session 4 Fall 2014

Agenda  Continue of 2D Transformation (Translation)  Homogenous Coordination  Steps of Create A world  Find 3D position in Image Plane

Translation

Find 3D position in Image Plane

Homogeneous Coordinates  Problem: Two parallel lines can intersect.  What if this point goes far away to infinity? The point at infinity would be (∞,∞), and it becomes meaningless in Euclidean (اقلیدسی) space.  Solution: Homogeneous Coordinates  To make 2D Homogeneous coordinates, we simply add an additional variable, w, into existing coordinates. Therefore, a point in Cartesian coordinates, (X, Y) becomes (x, y, w)

Why is it called "homogeneous"?  As mentioned before, in order to convert from Homogeneous coordinates (x, y, w) to Cartesian (دکارتی) coordinates, we simply divide x and y by w;

Steps of Create A world Vertex Data Model View Matrix Object Coordinates Projection Matrix Eye Coordinates Divided by W Clip Coordinates View Port Transform GL_MODELVIEW GL_PROJECTION Normalize Device Coordinates Window Coordination GL.ViewPort()

END OF SESSION 4 ANY QUESTION?