Wireframe Simulator Sarah Cheng 6.111 Spring 2007.

Slides:



Advertisements
Similar presentations
Trigonometry Math is beautiful. Is it? Well, if its not nice, than its damn sure of a very B.I.G. *HELP*.
Advertisements

ET-314 Week 11 Nov 7, 2014 Topic(s): 19.1 Vectors.
Trig Graphs. y = sin x y = cos x y = tan x y = sin x + 2.
Graphing Sine and Cosine. Graphing Calculator Mode— Radians Par Simul Window— –X min = -1 –X max = 2  –X scale =  /2 Window— –Y min = -3 –Y max = 3.
Graphing Sine and Cosine. Video Graphing Calculator Mode— Radians Par Simul Window— –X min = -1 –X max = 2  –X scale =  /2 Window— –Y min = -3 –Y max.
4.5 Sinusoidal Graphs Sketching and Writing Equations.
Aim: What is the transformation of trig functions? Do Now: HW: Handout Graph: y = 2 sin x and y = 2 sin x + 1, 0 ≤ x ≤ 2π on the same set of axes.
1 King ABDUL AZIZ University Faculty Of Computing and Information Technology CS 454 Computer graphics Two Dimensional Viewing Dr. Eng. Farag Elnagahy
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2008 Some slides from Steve Seitz
Viewing Transformations
Graph the function y = |4 cos x|
Vertex Form Algebra 2.
Trigonometric equations
8.3 Solving Right Triangles
Trigonometric Functions
Parametric Equations Lesson 6.7. Movement of an Object  Consider the position of an object as a function of time The x coordinate is a function of time.
Intersection of Graphs of Polar Coordinates Lesson 10.9.
Chapter 9 Notes Honors Pre-Calculus.
Polar Coordinates Rectangular (Cartesian) coordinates plot a point by moving left/right and up/down (making a rectangle) Polar coordinates find the.
Polar Coordinates Lesson Points on a Plane Rectangular coordinate system  Represent a point by two distances from the origin  Horizontal dist,
The center of gravity of a rigid body is the point G where a single force W, called the weight of the body, can be applied to represent the effect of the.
Example – Solve the system of equations below We will do this graphically on our calculator. We first need to isolate y in each equation.
Transformational Geometry CS418 Computer Graphics John C. Hart.
Transparency 3 Click the mouse button or press the Space Bar to display the answers.
Essentials of Interactive Computer Graphics: Concepts and Implementation K. Sung, P. Shirley, S. Baer Chapter 15 Chapter 15: Working with the Camera.
IIn your web browser type in: YYou should get the following appear:
Polar Coordinates Lesson Points on a Plane Rectangular coordinate system  Represent a point by two distances from the origin  Horizontal dist,
Two-Dimensional Geometric Transformations A two dimensional transformation is any operation on a point in space (x, y) that maps that point's coordinates.
ECE 450 Introduction to Robotics Section: Instructor: Linda A. Gee 10/07/99 Lecture 11.
Sum and Difference Formulas...using the sum and difference formula to solve trigonometric equation.
Navigating in 3D MAX CTEC V part 1. Viewing Objects and/or Scenes Depending upon the software program, the image on the monitor could be a Perspective.
3-D Transformational Geometry CS418 Computer Graphics John C. Hart.
Fall 2004CS-321 Dr. Mark L. Hornick 1 2-D Transformations World Coordinates Local/Modelling Coordinates x y Object descriptions Often defined in model.
Honours Graphics 2008 Session 2. Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space.
CS552: Computer Graphics Lecture 6: Viewing in 2D.
Recap from Monday DCT and JPEG Point Processing Histogram Normalization Questions: JPEG compression levels Gamma correction.
MATH 110 UNIT 1 – TRIGONOMETRY Part A. Activity 7 – Find Missing Sides To find an unknown side on a triangle, set up our trigonometric ratios and use.
Geometric Transformations Math 9. 1.) Translations A slide! Moving the shape left or right and/or up or down. The shape can move horizontally (left/right)
Section – Solving Systems of Equations Calculator Required.
Transparency 9 Click the mouse button or press the Space Bar to display the answers.
Sin x = Solve for 0° ≤ x ≤ 720°
w v The reflection of throughvw Reflection is a linear transformation Find a matrix M such that M = v The reflection of through y = mxv.
Unit Circle ( √3, 1 ) 2 2 ( 1, √3 ) 2 2 ( √2, √2 ) ˚ 45˚ 60˚
Parametric Equations Lesson Movement of an Object Consider the position of an object as a function of time  The x coordinate is a function of.
S p. 702: 1-19 odd, odd, odd. Rectangular (Cartesian) coordinates plot a point by moving left/right and up/down (making a rectangle)  Polar.
Derivation of the 2D Rotation Matrix Changing View from Global to Local X Y X’ Y’  P Y Sin  X Cos  X’ = X Cos  + Y Sin  Y Cos  X Sin  Y’ = Y Cos.
Quick Tasks for AFNI Interactive Learning-by-Doing RW Cox.
5 minute check 8 Click the mouse button or press the Space Bar to display the answers.
2.4 Modeling Motion in Matrices Objectives: 1.Use matrices to determine the coordinates of polygons under a given transformation.
Volt/Division and Time/Division 1) Auto Setup Finds signals and sets the appropriate horizontal / vertical /trigger settings.
Inverse Trig Functions Vocabulary Inverse Cosine Function (cos -1 ) – The function y=cos -1 x = Arccos x, if and only if x = cos y and 0 ≤ y ≤ π Inverse.
Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Viewing Viewing and viewing space (camera space)
Viewing System 한신대학교 류승택.
3D Transformation Pipeline
A Blender 3D Modeling Project
Solve: 1. 4<
Three Dimensional Viewing
Three-Dimensional Viewing
Solar System Simulator Armin Haghi & Kyle Burney.
Last Time Canonical view pipeline Projection Local Coordinate Space
3D Graphics.
Press Ad Screen-shot.
2.4 Symmetry Essential Question: How do you determine whether a figure has line symmetry or rotational symmetry?
3D Viewing.
THREE-DIMENSIONAL VIEWING
Transformations Transformations Ms. Mougharbel.
Transformations of Functions
Presentation transcript:

Wireframe Simulator Sarah Cheng Spring 2007

Project Functionality 1.Read user-specified 3D coordinates from ROM 2.Transform (rotate, pan, zoom) coordinates if respective buttons are pressed 3.Generate wireframe model on-the-fly Source:

Transformations Perform grungy math on each of the vertices: Rotating left/right (x’, y’, z’) = (x cos θ + y sin θ, x sin θ + y cos θ, z) Rotating up/down (x’, y’, z’) = (x cos φ + z sin φ, y, x sin φ + z cos φ) Panning left/right (x’, y’, z’) = (x + a, y, z) Panning up/down (x’, y’, z’) = (x, y, z + a) Zooming in/out (x’, y’, z’) = (x, y + a, z)

Perspective Projection xv, yv, zv viewerscreenobject z = a (x1, y1, z1), (x2, y2, z2), … Projected coordinates (xp1, yp1) onto screen z = a: (zv - a) / (zv - z1) = (xv - xp1) / (xv - x1) = (yv - yp1) / (yv - y1) Solve for xp1, yp1!

Implementation

Display Module