Mapping between Scene and Screen. Screen (0, W-1) (W-1, H-1) (W-1, 0)(0, 0) Projection Plane (Xmin, Ymin)(Xmax, Ymin) (Xmax, Ymax) (Xmin, Ymax) Screen.

Slides:



Advertisements
Similar presentations
Okay, you have learned … OpenGL drawing Viewport and World Window setup main() { glViewport(0,0,300,200); glMatrixMode(GL_PROJECTION); glLoadIndentity();
Advertisements

T-6 Five Number Summary. Five Number Summary Includes: Minimum: the lowest value in the data set Lower Quartile (Q1): the 25 th percentile Median: the.
Line clipping: Line clipping algorithm is method of eliminate lines of outside area of the object,so outside of object viewing is Removed. Typically, any.
Scatter Plots with Your calculator Section 4-6. Page 636#10.
Okay, you have learned … OpenGL drawing Viewport and World Window setup main() { glViewport(0,0,300,200); glMatrixMode(GL_PROJECTION); glLoadIndentity();
4.4 – Graphing Sine and Cosine Functions APPLICATIONS.
CLASS 6 PERSPECTIVE CS770/870. Orthographic projections Isometric ObliqueIn isometric all distances along the major axes are the same.
1 Research Update LAE 12/5/08. 2 Variation of Lesion Intensity with Lesion Location Concerned about assumption stated in manuscript that uncertainty in.
Graphing calculator basics Helpful tips for using the TI-84 graphing calculator Designed by Karen Stanford, M.ED.
Textures – Magnification and Minification Lecture 30 Mon, Nov 17, 2003.
Setting Up Clear any equations or lists from your calculator to start! Clear any equations or lists from your calculator to start! ~From the Y= list ~From.
8.1: Sequences.
Copyright © 2007 Pearson Education, Inc. Slide 1-1.
Section 1.1 Graphs and Graphing Utilities. Points and Ordered Pairs.
Using Describe. Topics How to use describe? Retrieving Descriptive Information about data.
2 COEN Computer Graphics I Evening’s Goals n Discuss the mathematical transformations that are utilized for computer graphics projection viewing.
Section 2.2 Lines. OBJECTIVE 1 Find the slope of the line containing the points (–1, 4) and (2, –3).
Example 6 Personal Savings Chapter 1.2 Using data from 1960 to 2006, the personal savings rate (as a percent) of Americans can be modeled by the function.
1 General Camera ©Anthony Steed Overview n Simple camera is limiting and it is necessary to model a camera that can be moved n We will define.
Advanced Precalculus Notes 9.7 Plane Curves and Parametric Equations
2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt Operations with Integers The.
CS 4731: Computer Graphics Lecture 13: Projection Emmanuel Agu.
T-4 Entering Data, Setting a Window, and Histograms Calculator Steps and Instructions.
 Another natural way to define relations is to define both elements of the ordered pair (x, y), in terms of another variable t, called a parameter 
13-5 The cosine Function Today’s Objective: I can graph the cosine function.
Computer Graphics Zhen Jiang West Chester University.
Section 2-5 Continued Scatter Plots And Correlation.
Functions and Models 1. Graphing Calculators and Computers 1.4.
Chapter 4.1: Scatter Plots. Lesson 4.1: Scatter Plots.
1 Copyright © Cengage Learning. All rights reserved. 3 Functions and Graphs 3.1Rectangular Coordinate Systems.
13-4 The Sine Function Today’s Objective: I can graph the sine function.
MATHPOWER TM 12, WESTERN EDITION Chapter 5 Trigonometric Equations.
1.9 Graphing Calculators: Solving Equations and Inequalities Graphically.
1 Mathematics of the Simple Camera. 2 Overview n Simple Camera –Scenes with spheres –COP on +z COP = Centre Of Projection.
Mean, Median, and Mode Connecting a Verbal Description to Table & Graph PART 2 Common Core #4 & #13.
The # of CDs Shipped to Retailers Each Year Year CDs (millions)
Ch : Which Values Are Possible? Domain & Range.
Using the Calculator to Graph Scatter Plots. Everything we just learned about Scatter Plots we will now do with the calculator. Plot points Plot points.
2/27/2016 exponential growth and exponential decay larry scandone Gavin Middle School.
Chapter 3 Modeling Distributions of Data. The standard Normal distribution the Normal distribution with mean 0 and standard deviation 1 z has the standard.
Objective – Students will be able to investigate graphs with different viewing windows or viewing screens. Therefore learning how important it is to choose.
Texture Mapping What is texture mapping? - a method for adding detail, surface texture (a bitmap or raster image), or color to a computer-generated graphic.
Clip versus Overlay Module 4:. Module 3: Project Programs ArcGI S ArcCatalo g ArcMap ArcToolbox.
What do these situations have in common? Explain..
CHANGING WINDOWS CHAPTER 3 LESSON 1. VOCABULARY Automatic Grapher- A calculator/computer software that draws the graph of a relation Viewing Window (Viewing.
Solving Systems of Equations by Graphing.  System of Equations- Two or more equations with the same variables  Consistent- A system of equations with.
Weighing Pennies Graph the following data in a histogram comment on the shape, center, spread, and anything unusual. Change your window (xmin 2.4 xmax.
Section 1.1 Graphs and Graphing Utilities
7.1 – Cartesian Co-ordinate System & Linear Equations in Two Variables
Chapter 1: Linear Functions, Equations, and Inequalities
8-5 Exponential and Logarithmic Equations
Mathematics of the Simple Camera
Polar Coordinates Graphs of Polar Equations
Solve Linear and Quadratic Systems Algebraically
Chapter 1: Linear Functions, Equations, and Inequalities
Section 1.1 Graphs and Graphing Utilities
Polar Coordinates Graphs of Polar Equations
Section 1.1 Graphs and Graphing Utilities
c) Which athletic club costs more initially?
3-4 Linear Programming.
Segment Clipping Simple algorithm. For each segment compute the intersection with the four sides of the rectangle, and then determine which sub-segment.
2D Graphics Lecture 4 Fri, Aug 31, 2007.
Window to Viewport Transformations
Solving a System of Linear and Quadratic Equations Algebraically
b) Create a graph of your table.
The Real Zeros of a Polynomial Function
The Real Zeros of a Polynomial Function
Bell-ringer 9/21/09 Graph the function:
Visual Manipulation Relationship Network for Autonomous Robotics
Presentation transcript:

Mapping between Scene and Screen

Screen (0, W-1) (W-1, H-1) (W-1, 0)(0, 0) Projection Plane (Xmin, Ymin)(Xmax, Ymin) (Xmax, Ymax) (Xmin, Ymax) Screen Dimension W x H

(0, W-1) (W-1, H-1) (W-1, 0)(0, 0) (Xmin, Ymin)(Xmax, Ymin) (Xmax, Ymax) (Xmin, Ymax) Projection Plane Screen (x, y) (X, Y) Due to the same proportion: x / (W-1) = (X – Xmin)/ (Xmax – Xmin) y / (H-1) = (Ymax – Y)/ (Ymax – Ymin)

(0, W-1) (W-1, H-1) (W-1, 0)(0, 0) (Xmin, Ymin)(Xmax, Ymin) (Xmax, Ymax) (Xmin, Ymax) Projection Plane Screen (x, y) (X, Y) Due to the same proportion: x’ = x / (W-1) = (X – Xmin)/ (Xmax – Xmin) y’ = y / (H-1) = (Ymax – Y)/ (Ymax – Ymin) Xmin = Ymin = -1 Xmax = Ymax = 1 2 x’ = (X +1), X = 2x’ y’ = 1 – Y,Y = 1 – 2y’ Case One: CEGUI

(0, -1) (1, -1) (1, 0)(0, 0) (Xmin, Ymin)(Xmax, Ymin) (Xmax, Ymax) (Xmin, Ymax) Projection Plane Screen (x, y) (X, Y) Due to the same proportion: x’ = x / (W-1) = (X – Xmin)/ (Xmax – Xmin) -y’ = y / (H-1) = (Y - Ymin)/ (Ymax – Ymin) Xmin = Ymin = -1 Xmax = Ymax = 1 2 x’ = (X +1), X = 2x’ – 1 -2y’ = (Y+1),Y = y’ Case Two: “Upside down image” (TrayMng)