CRTs – A Review CRT technology hasn’t changed much in 50 yearsCRT technology hasn’t changed much in 50 years Early television technologyEarly television.

Slides:



Advertisements
Similar presentations
A.J. Guzman Najinder Mann Terry Bankhead HARDWARE REPORT.
Advertisements

Computer Graphics Prof. Muhammad Saeed. Hardware (Display Technologies and Devices) III Hardware III Computer Graphics August 1,
Computer Graphics Prof. Muhammad Saeed Dept. of Computer Science & IT Federal Urdu University of Arts, Sciences and Technology.
Computer Graphics- SCC 342
Computer Graphics HARDWARE. LCD Displays Thinner and lighter. No tube or electron beams. Blocking/unblocking light through polarized crystals. Crystals.
Introduction to Raster scan display C A E D C Computer Aided Engineering Design Centre.
March 1, 2009Dr. Muhammed Al-Mulhem1 ICS 415 Computer Graphics General Graphics Systems Dr. Muhammed Al-Mulhem March 1, 2009 Dr. Muhammed Al-Mulhem March.
Visual Displays Chapter 2 Burdea.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
UBI 516 Advanced Computer Graphics
General Monitor Info! By Merk and Cody!. Glowy-ness Actually known as Luminance, which is an indicator of how bright the surface will appear. Since human.
Chapter 4.1 Mathematical Concepts
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Displays, Devices Week 12, Mon 17 Nov 2003.
Computer Graphics using OpenGL, 3 rd Edition F. S. Hill, Jr. and S. Kelley Chapter Vector Tools for Graphics.
EET 450 – Advanced Digital Video Display Systems.
Imaging Science Fundamentals Chester F. Carlson Center for Imaging Science Display Systems Viewing Images.
1 Video Display Devices Display Hardware Video display devices Input devices Locator Devices Keyboard devices.
Introduction to Computer Graphics CS 445 / 645 Lecture 3 General Graphics Systems Lecture 3 General Graphics Systems Daniel Rozin, Wooden Mirror (1999)
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 1 SPRING 2015 DR. MICHAEL J. REALE.
Terms 1. VGA VGA - Short for Video Graphics Array, VGA is a popular display standard developed by IBM and introduced in 1987 VGA provides 640 x 480 resolution.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2005 by The McGraw-Hill Companies,
The Monitors Name of Teacher :Rasha My Name: Diana Anbar ID: University of Palestine Collage of Engineer Computer Skills.
Future Trends of Televisions By: Rion Núñez Team 11.
Lecture Computer Applications to Business 1 Video and Sound.
1 Hardware Devices Display Hardware Video display devices Hard-copy devices Input devices Locator Devices Keyboard devices Valuator Devices Choice Devices.
Computer Graphics System Input & Output Technologies
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
Prof.Dr. Aydın Öztürk
David Luebke9/10/2015 CS 551 / 645: Introductory Computer Graphics David Luebke
UBI 516 Advanced Computer Graphics Aydın Öztürk Aydın Öztürk
Chapter 4.1 Mathematical Concepts
Lecture 03 Fasih ur Rehman
Computer Graphics in Java1 Objects and Viewers Two basic entities (one object seen from two different positions) :
Principle of LCD Display
Mathematical Foundations Sections A-1 to A-5 Some of the material in these slides may have been adapted from university of Virginia, MIT and Åbo Akademi.
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
Computer Graphics Hardware
CSCE 552 Spring 2011 Math By Jijun Tang. Layered.
Mathematics for Graphics. 1 Objectives Introduce the elements of geometry  Scalars  Vectors  Points Develop mathematical operations among them in a.
ITBIS351 Multimedia Systems and Hypermedia Yaqoob Al-Slaise
Computer Graphics Lecture 04 Fasih ur Rehman. Last Class Overview of Graphics Systems – Display Devices Colors and colored displays Raster displays and.
1 CP586 © Peter Lo 2003 Multimedia Communication Video Fundamentals.
CS 445 / 645: Introductory Computer Graphics David Brogan Image from:
Hardware used in Multimedia Systems. Hardware demands on multimedia systems Multimedia puts huge demands on a computer system, so designers and users.
Lecture # 4 Output Devices. Output Devices Devices that convert machine language into human understandable form. Output can be in display form, on paper.
Background Mathematics Aaron Bloomfield CS 445: Introduction to Graphics Fall 2006.
David Luebke12/3/2015 CS 551 / 645: Introductory Computer Graphics David Luebke
CS 551 / 645: Introductory Computer Graphics Mathematical Foundations.
Display Technology INFO410 & INFO350 S Jack Pinches INFORMATION
CS 445: Introduction to Computer Graphics David Luebke University of Virginia The Rendering Pipeline.
K.B.H.POLYTECHNIC,MALEGAON CAMP, MALEGAON. Computer Hardware & Maintenance. S.Y.C.M/I.F Guided By :- Mr.K.S.Pawar. Lecturer in Computer Department.
Introduction to Computer Graphics CS 445 / 645 Lecture 2 General Graphics Systems Lecture 2 General Graphics Systems Daniel Rozin, Wooden Mirror (1999)
2/14/ : Graphics Programming Seree Chinodom
2/28/2016 CS 551 / 645: Introductory Computer Graphics Framebuffer Mathematical Foundations The Rendering Pipeline.
CS 445: Introduction to Computer Graphics David Luebke University of Virginia Display Technologies, Mathematical Fundamentals.
Computer Graphics Lecture -02. Frame Buffer The image being displayed is stored in a dedicated system memory area that is often referred.
Computer Graphics Lecture 02 Graphics Systems Taqdees A. Siddiqi
Prepared by:- BHADARKA DIVYA BHEDA PRIYANKA BHOYE KAJAL.
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry "Old Henry And His Old Aunt" Defined using right triangle  x y h.
David Luebke6/12/2016 CS 551 / 645: Introductory Computer Graphics David Luebke
Introduction; Mathematical Foundations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
The Cathode Ray Tube Monitor
Computer Graphics Lecture 4 Computer Graphics Hardware
CA 302 Computer Graphics and Visual Programming
Visual Displays Bowman, et al., pp Hodges and Babu 2011.
Overview of Graphics Systems: I
CSE 411 Computer Graphics Lecture #2 Mathematical Foundations
Chapter 2 Overview of Graphics Systems
Presentation transcript:

CRTs – A Review CRT technology hasn’t changed much in 50 yearsCRT technology hasn’t changed much in 50 years Early television technologyEarly television technology –high resolution –requires synchronization between video signal and electron beam vertical sync pulse Early computer displaysEarly computer displays –avoided synchronization using ‘vector’ algorithm –flicker and refresh were problematic CRT technology hasn’t changed much in 50 yearsCRT technology hasn’t changed much in 50 years Early television technologyEarly television technology –high resolution –requires synchronization between video signal and electron beam vertical sync pulse Early computer displaysEarly computer displays –avoided synchronization using ‘vector’ algorithm –flicker and refresh were problematic

CRTs – A Review Raster Displays (early 70s)Raster Displays (early 70s) –like television, scan all pixels in regular pattern –use frame buffer (video RAM) to eliminate sync problems RAMRAM –¼ MB (256 KB) cost $2 million in 1971 –Do some math… x 1024 screen resolution = 1,310,720 pixels - Monochrome color (binary) requires 160 KB - High resolution color requires 5.2 MB Raster Displays (early 70s)Raster Displays (early 70s) –like television, scan all pixels in regular pattern –use frame buffer (video RAM) to eliminate sync problems RAMRAM –¼ MB (256 KB) cost $2 million in 1971 –Do some math… x 1024 screen resolution = 1,310,720 pixels - Monochrome color (binary) requires 160 KB - High resolution color requires 5.2 MB

Display Technology: LCDs Liquid Crystal Displays (LCDs) LCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E fieldLCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E field Crystalline state twists polarized light 90º.Crystalline state twists polarized light 90º. Liquid Crystal Displays (LCDs) LCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E fieldLCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E field Crystalline state twists polarized light 90º.Crystalline state twists polarized light 90º.

Display Technology: LCDs Liquid Crystal Displays (LCDs) LCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E fieldLCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E field Crystalline state twists polarized light 90ºCrystalline state twists polarized light 90º Liquid Crystal Displays (LCDs) LCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E fieldLCDs: organic molecules, naturally in crystalline state, that liquefy when excited by heat or E field Crystalline state twists polarized light 90ºCrystalline state twists polarized light 90º

Display Technology: LCDs Transmissive & reflective LCDs: LCDs act as light valves, not light emitters, and thus rely on an external light source.LCDs act as light valves, not light emitters, and thus rely on an external light source. Laptop screenLaptop screen –backlit –transmissive display Palm Pilot/Game BoyPalm Pilot/Game Boy –reflective display Transmissive & reflective LCDs: LCDs act as light valves, not light emitters, and thus rely on an external light source.LCDs act as light valves, not light emitters, and thus rely on an external light source. Laptop screenLaptop screen –backlit –transmissive display Palm Pilot/Game BoyPalm Pilot/Game Boy –reflective display

Display Technology: Plasma Plasma display panels Similar in principle to fluorescent light tubesSimilar in principle to fluorescent light tubes Small gas-filled capsules are excited by electric field, emits UV lightSmall gas-filled capsules are excited by electric field, emits UV light UV excites phosphorUV excites phosphor Phosphor relaxes, emits some other colorPhosphor relaxes, emits some other color Plasma display panels Similar in principle to fluorescent light tubesSimilar in principle to fluorescent light tubes Small gas-filled capsules are excited by electric field, emits UV lightSmall gas-filled capsules are excited by electric field, emits UV light UV excites phosphorUV excites phosphor Phosphor relaxes, emits some other colorPhosphor relaxes, emits some other color

Display Technology Plasma Display Panel Pros Large viewing angleLarge viewing angle Good for large-format displaysGood for large-format displays Fairly brightFairly brightCons ExpensiveExpensive Large pixels (~1 mm versus ~0.2 mm)Large pixels (~1 mm versus ~0.2 mm) Phosphors gradually depletePhosphors gradually deplete Less bright than CRTs, using more powerLess bright than CRTs, using more power Plasma Display Panel Pros Large viewing angleLarge viewing angle Good for large-format displaysGood for large-format displays Fairly brightFairly brightCons ExpensiveExpensive Large pixels (~1 mm versus ~0.2 mm)Large pixels (~1 mm versus ~0.2 mm) Phosphors gradually depletePhosphors gradually deplete Less bright than CRTs, using more powerLess bright than CRTs, using more power

Display Technology: DMD / DLP Digital Micromirror Devices (projectors) or Digital Light Processing Microelectromechanical (MEM) devices, fabricated with VLSI techniquesMicroelectromechanical (MEM) devices, fabricated with VLSI techniques Digital Micromirror Devices (projectors) or Digital Light Processing Microelectromechanical (MEM) devices, fabricated with VLSI techniquesMicroelectromechanical (MEM) devices, fabricated with VLSI techniques

Display Technology: DMD / DLP DMDs are truly digital pixelsDMDs are truly digital pixels Vary grey levels by modulating pulse lengthVary grey levels by modulating pulse length Color: multiple chips, or color-wheelColor: multiple chips, or color-wheel Great resolutionGreat resolution Very brightVery bright Flicker problemsFlicker problems DMDs are truly digital pixelsDMDs are truly digital pixels Vary grey levels by modulating pulse lengthVary grey levels by modulating pulse length Color: multiple chips, or color-wheelColor: multiple chips, or color-wheel Great resolutionGreat resolution Very brightVery bright Flicker problemsFlicker problems

Display Technologies: Organic LED Arrays Organic Light-Emitting Diode (OLED) Arrays The display of the future? Many think so.The display of the future? Many think so. OLEDs function like regular semiconductor LEDsOLEDs function like regular semiconductor LEDs But they emit lightBut they emit light –Thin-film deposition of organic, light- emitting molecules through vapor sublimation in a vacuum. –Dope emissive layers with fluorescent molecules to create color. Organic Light-Emitting Diode (OLED) Arrays The display of the future? Many think so.The display of the future? Many think so. OLEDs function like regular semiconductor LEDsOLEDs function like regular semiconductor LEDs But they emit lightBut they emit light –Thin-film deposition of organic, light- emitting molecules through vapor sublimation in a vacuum. –Dope emissive layers with fluorescent molecules to create color.

Display Technologies: Organic LED Arrays OLED pros: TransparentTransparent FlexibleFlexible Light-emitting, and quite bright (daylight visible)Light-emitting, and quite bright (daylight visible) Large viewing angleLarge viewing angle Fast (< 1 microsecond off-on-off)Fast (< 1 microsecond off-on-off) Can be made large or smallCan be made large or small Available for cell phones and car stereosAvailable for cell phones and car stereos OLED pros: TransparentTransparent FlexibleFlexible Light-emitting, and quite bright (daylight visible)Light-emitting, and quite bright (daylight visible) Large viewing angleLarge viewing angle Fast (< 1 microsecond off-on-off)Fast (< 1 microsecond off-on-off) Can be made large or smallCan be made large or small Available for cell phones and car stereosAvailable for cell phones and car stereos

Display Technologies: Organic LED Arrays OLED cons: Not very robust, display lifetime a key issueNot very robust, display lifetime a key issue Currently only passive matrix displaysCurrently only passive matrix displays –Passive matrix: Pixels are illuminated in scanline order (like a raster display), but the lack of phospherescence causes flicker –Active matrix: A polysilicate layer provides thin film transistors at each pixel, allowing direct pixel access and constant illumination See for more info OLED cons: Not very robust, display lifetime a key issueNot very robust, display lifetime a key issue Currently only passive matrix displaysCurrently only passive matrix displays –Passive matrix: Pixels are illuminated in scanline order (like a raster display), but the lack of phospherescence causes flicker –Active matrix: A polysilicate layer provides thin film transistors at each pixel, allowing direct pixel access and constant illumination See for more info

Movie Theaters U.S. film projectors play film at 24 fps Projectors have a shutter to block light during frame advanceProjectors have a shutter to block light during frame advance To reduce flicker, shutter opens twice for each frame – resulting in 48 fps flashingTo reduce flicker, shutter opens twice for each frame – resulting in 48 fps flashing 48 fps is perceptually acceptable48 fps is perceptually acceptable European film projectors play film at 25 fps American films are played ‘as is’ in Europe, resulting in everything moving 4% fasterAmerican films are played ‘as is’ in Europe, resulting in everything moving 4% faster Faster movements and increased audio pitch are considered perceptually acceptableFaster movements and increased audio pitch are considered perceptually acceptable U.S. film projectors play film at 24 fps Projectors have a shutter to block light during frame advanceProjectors have a shutter to block light during frame advance To reduce flicker, shutter opens twice for each frame – resulting in 48 fps flashingTo reduce flicker, shutter opens twice for each frame – resulting in 48 fps flashing 48 fps is perceptually acceptable48 fps is perceptually acceptable European film projectors play film at 25 fps American films are played ‘as is’ in Europe, resulting in everything moving 4% fasterAmerican films are played ‘as is’ in Europe, resulting in everything moving 4% faster Faster movements and increased audio pitch are considered perceptually acceptableFaster movements and increased audio pitch are considered perceptually acceptable

Viewing Movies at Home Film to DVD transfer Problem: 24 film fps must be converted toProblem: 24 film fps must be converted to –NTSC U.S. television interlaced fps 768x494 –PAL Europe television 25 fps 752x582 Use 3:2 Pulldown First frame of movie is broken into first three fields (odd, even, odd)First frame of movie is broken into first three fields (odd, even, odd) Next frame of movie is broken into next two fields (even, odd)Next frame of movie is broken into next two fields (even, odd) Next frame of movie is broken into next three fields (even, odd, even)…Next frame of movie is broken into next three fields (even, odd, even)… Film to DVD transfer Problem: 24 film fps must be converted toProblem: 24 film fps must be converted to –NTSC U.S. television interlaced fps 768x494 –PAL Europe television 25 fps 752x582 Use 3:2 Pulldown First frame of movie is broken into first three fields (odd, even, odd)First frame of movie is broken into first three fields (odd, even, odd) Next frame of movie is broken into next two fields (even, odd)Next frame of movie is broken into next two fields (even, odd) Next frame of movie is broken into next three fields (even, odd, even)…Next frame of movie is broken into next three fields (even, odd, even)…

Additional Displays Display Walls PrincetonPrinceton StanfordStanford UVa – Greg HumphreysUVa – Greg Humphreys Display Walls PrincetonPrinceton StanfordStanford UVa – Greg HumphreysUVa – Greg Humphreys

Display Wall Alignment

Additional Displays StereoStereo

Visual System We’ll discuss more fully later in semester but… Our eyes don’t mind smoothing across timeOur eyes don’t mind smoothing across time –Still pictures appear to animate Our eyes don’t mind smoothing across spaceOur eyes don’t mind smoothing across space –Discrete pixels blend into continuous color sheets We’ll discuss more fully later in semester but… Our eyes don’t mind smoothing across timeOur eyes don’t mind smoothing across time –Still pictures appear to animate Our eyes don’t mind smoothing across spaceOur eyes don’t mind smoothing across space –Discrete pixels blend into continuous color sheets

Mathematical Foundations Angel appendix B and C I’ll give a brief, informal review of some of the mathematical tools we’ll employ Geometry (2D, 3D)Geometry (2D, 3D) TrigonometryTrigonometry Vector spacesVector spaces –Points, vectors, and coordinates Dot and cross productsDot and cross products Angel appendix B and C I’ll give a brief, informal review of some of the mathematical tools we’ll employ Geometry (2D, 3D)Geometry (2D, 3D) TrigonometryTrigonometry Vector spacesVector spaces –Points, vectors, and coordinates Dot and cross productsDot and cross products

Scalar Spaces Scalars:  …Scalars:  … Addition and multiplication (+ and  ) operations definedAddition and multiplication (+ and  ) operations defined Scalar operations areScalar operations are –Associative:  –Commutative:      –Distributive:                 Scalars:  …Scalars:  … Addition and multiplication (+ and  ) operations definedAddition and multiplication (+ and  ) operations defined Scalar operations areScalar operations are –Associative:  –Commutative:      –Distributive:                

Scalar Spaces Additive Identity = 0Additive Identity = 0 –  Multiplicative Identity = 1Multiplicative Identity = 1 –      Additive Inverse = - Additive Inverse = -  –  Multiplicative Inverse=  -1Multiplicative Inverse=  -1 –      Additive Identity = 0Additive Identity = 0 –  Multiplicative Identity = 1Multiplicative Identity = 1 –      Additive Inverse = - Additive Inverse = -  –  Multiplicative Inverse=  -1Multiplicative Inverse=  -1 –     

Vector Spaces Two types of elements: Scalars (real numbers):  …Scalars (real numbers):  … Vectors (n-tuples): u, v, w, …Vectors (n-tuples): u, v, w, …Operations: AdditionAddition SubtractionSubtraction Two types of elements: Scalars (real numbers):  …Scalars (real numbers):  … Vectors (n-tuples): u, v, w, …Vectors (n-tuples): u, v, w, …Operations: AdditionAddition SubtractionSubtraction

Vector Addition/Subtraction operation u + v, with:operation u + v, with: –Identity 0 v + 0 = v –Inverse - v + (- v ) = 0 Addition uses the “parallelogram rule”:Addition uses the “parallelogram rule”: operation u + v, with:operation u + v, with: –Identity 0 v + 0 = v –Inverse - v + (- v ) = 0 Addition uses the “parallelogram rule”:Addition uses the “parallelogram rule”: u+v u v u-v u v -v

Affine Spaces Vector spaces lack position and distanceVector spaces lack position and distance –They have magnitude and direction but no location Add a new primitive, the pointAdd a new primitive, the point –Permits describing vectors relative to a common location Point-point subtraction yields a vectorPoint-point subtraction yields a vector A point and three vectors define a 3-D coordinate systemA point and three vectors define a 3-D coordinate system Vector spaces lack position and distanceVector spaces lack position and distance –They have magnitude and direction but no location Add a new primitive, the pointAdd a new primitive, the point –Permits describing vectors relative to a common location Point-point subtraction yields a vectorPoint-point subtraction yields a vector A point and three vectors define a 3-D coordinate systemA point and three vectors define a 3-D coordinate system

Points Points support these operations Point-point subtraction: Q - P = vPoint-point subtraction: Q - P = v –Result is a vector pointing from P to Q Vector-point addition: P + v = QVector-point addition: P + v = Q –Result is a new point Note that the addition of two points is not definedNote that the addition of two points is not defined Points support these operations Point-point subtraction: Q - P = vPoint-point subtraction: Q - P = v –Result is a vector pointing from P to Q Vector-point addition: P + v = QVector-point addition: P + v = Q –Result is a new point Note that the addition of two points is not definedNote that the addition of two points is not defined P Q v

Coordinate Systems Y X Z Right-handed coordinate system Z X Y Left-handed coordinate system l Grasp z-axis with hand l Thumb points in direction of z-axis l Roll fingers from positive x-axis towards positive y-axis

Euclidean Spaces Euclidean spaces permit the definition of distanceEuclidean spaces permit the definition of distance Dot product - distance between two vectorsDot product - distance between two vectors Projection of one vector onto anotherProjection of one vector onto another Euclidean spaces permit the definition of distanceEuclidean spaces permit the definition of distance Dot product - distance between two vectorsDot product - distance between two vectors Projection of one vector onto anotherProjection of one vector onto another

Euclidean Spaces We commonly use vectors to represent:We commonly use vectors to represent: –Points in space (i.e., location) –Displacements from point to point –Direction (i.e., orientation) We frequently use these operationsWe frequently use these operations –Dot Product –Cross Product –Norm We commonly use vectors to represent:We commonly use vectors to represent: –Points in space (i.e., location) –Displacements from point to point –Direction (i.e., orientation) We frequently use these operationsWe frequently use these operations –Dot Product –Cross Product –Norm

Scalar Multiplication Scalar multiplication:Scalar multiplication: –Distributive rule:  ( u + v ) =  ( u ) +  ( v ) (  +  ) u =  u +  u (  +  ) u =  u +  u Scalar multiplication “streches” a vector, changing its length (magnitude) but not its directionScalar multiplication “streches” a vector, changing its length (magnitude) but not its direction Scalar multiplication:Scalar multiplication: –Distributive rule:  ( u + v ) =  ( u ) +  ( v ) (  +  ) u =  u +  u (  +  ) u =  u +  u Scalar multiplication “streches” a vector, changing its length (magnitude) but not its directionScalar multiplication “streches” a vector, changing its length (magnitude) but not its direction

Dot Product The dot product or, more generally, inner product of two vectors is a scalar:The dot product or, more generally, inner product of two vectors is a scalar: v 1 v 2 = x 1 x 2 + y 1 y 2 + z 1 z 2 (in 3D) Useful for many purposesUseful for many purposes Computing the length (Euclidean Norm) of a vector: length( v ) = ||v|| = sqrt( v v)Computing the length (Euclidean Norm) of a vector: length( v ) = ||v|| = sqrt( v v) Normalizing a vector, making it unit-length: v = v / ||v||Normalizing a vector, making it unit-length: v = v / ||v|| Computing the angle between two vectors:Computing the angle between two vectors: u v = |u| |v| cos(θ) Checking two vectors for orthogonalityChecking two vectors for orthogonality –u v = 0.0 The dot product or, more generally, inner product of two vectors is a scalar:The dot product or, more generally, inner product of two vectors is a scalar: v 1 v 2 = x 1 x 2 + y 1 y 2 + z 1 z 2 (in 3D) Useful for many purposesUseful for many purposes Computing the length (Euclidean Norm) of a vector: length( v ) = ||v|| = sqrt( v v)Computing the length (Euclidean Norm) of a vector: length( v ) = ||v|| = sqrt( v v) Normalizing a vector, making it unit-length: v = v / ||v||Normalizing a vector, making it unit-length: v = v / ||v|| Computing the angle between two vectors:Computing the angle between two vectors: u v = |u| |v| cos(θ) Checking two vectors for orthogonalityChecking two vectors for orthogonality –u v = 0.0 u θ v

Projecting one vector onto another If v is a unit vector and we have another vector, wIf v is a unit vector and we have another vector, w We can project w perpendicularly onto vWe can project w perpendicularly onto v And the result, u, has length w vAnd the result, u, has length w v Projecting one vector onto another If v is a unit vector and we have another vector, wIf v is a unit vector and we have another vector, w We can project w perpendicularly onto vWe can project w perpendicularly onto v And the result, u, has length w vAnd the result, u, has length w v Dot Product u w v

Is commutative u v = v uu v = v u Is distributive with respect to addition u (v + w) = u v + u wu (v + w) = u v + u w Is commutative u v = v uu v = v u Is distributive with respect to addition u (v + w) = u v + u wu (v + w) = u v + u w

Cross Product The cross product or vector product of two vectors is a vector: The cross product of two vectors is orthogonal to both Right-hand rule dictates direction of cross product The cross product or vector product of two vectors is a vector: The cross product of two vectors is orthogonal to both Right-hand rule dictates direction of cross product

Cross Product Right Hand Rule See: Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A Twist your hand about the A-axis such that B extends perpendicularly from your palm As you curl your fingers to make a fist, your thumb will point in the direction of the cross product See: Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A Twist your hand about the A-axis such that B extends perpendicularly from your palm As you curl your fingers to make a fist, your thumb will point in the direction of the cross product

Cross Product Right Hand Rule See: Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A Twist your hand about the A-axis such that B extends perpendicularly from your palm As you curl your fingers to make a fist, your thumb will point in the direction of the cross product See: Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A Twist your hand about the A-axis such that B extends perpendicularly from your palm As you curl your fingers to make a fist, your thumb will point in the direction of the cross product

Cross Product Right Hand Rule l See: l Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A l Twist your hand about the A-axis such that B extends perpendicularly from your palm l As you curl your fingers to make a fist, your thumb will point in the direction of the cross product

Cross Product Right Hand Rule l See: l Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A l Twist your hand about the A-axis such that B extends perpendicularly from your palm l As you curl your fingers to make a fist, your thumb will point in the direction of the cross product

Cross Product Right Hand Rule l See: l Orient your right hand such that your palm is at the beginning of A and your fingers point in the direction of A l Twist your hand about the A-axis such that B extends perpendicularly from your palm l As you curl your fingers to make a fist, your thumb will point in the direction of the cross product

2D Geometry Know your high school geometry: Total angle around a circle is 360° or 2π radiansTotal angle around a circle is 360° or 2π radians When two lines cross:When two lines cross: –Opposite angles are equivalent –Angles along line sum to 180° Similar triangles:Similar triangles: –All corresponding angles are equivalent Know your high school geometry: Total angle around a circle is 360° or 2π radiansTotal angle around a circle is 360° or 2π radians When two lines cross:When two lines cross: –Opposite angles are equivalent –Angles along line sum to 180° Similar triangles:Similar triangles: –All corresponding angles are equivalent

Trigonometry Sine: “opposite over hypotenuse” Cosine: “adjacent over hypotenuse” Tangent: “opposite over adjacent” Unit circle definitions: sin (  ) = xsin (  ) = x cos (  ) = ycos (  ) = y tan (  ) = x/ytan (  ) = x/y etc…etc… Sine: “opposite over hypotenuse” Cosine: “adjacent over hypotenuse” Tangent: “opposite over adjacent” Unit circle definitions: sin (  ) = xsin (  ) = x cos (  ) = ycos (  ) = y tan (  ) = x/ytan (  ) = x/y etc…etc… (x, y)

Slope-intercept Line Equation Slope =m = rise / run Slope = (y - y1) / (x - x1) = (y2 - y1) / (x2 - x1) Solve for y: y = [(y2 - y1)/(x2 - x1)]x + [-(y2-y1)/(x2 - x1)]x1 + y1 or: y = mx + b Slope =m = rise / run Slope = (y - y1) / (x - x1) = (y2 - y1) / (x2 - x1) Solve for y: y = [(y2 - y1)/(x2 - x1)]x + [-(y2-y1)/(x2 - x1)]x1 + y1 or: y = mx + b x y P2 = (x2, y2) P1 = (x1, y1) P = (x, y)

Parametric Line Equation Given points P1 = (x1, y1) and P2 = (x2, y2) x = x1 + t(x2 - x1) y = y1 + t(y2 - y1) When: t=0, we get (x1, y1)t=0, we get (x1, y1) t=1, we get (x2, y2)t=1, we get (x2, y2) (0<t<1), we get points on the segment between (x1, y1) and (x2, y2)(0<t<1), we get points on the segment between (x1, y1) and (x2, y2) Given points P1 = (x1, y1) and P2 = (x2, y2) x = x1 + t(x2 - x1) y = y1 + t(y2 - y1) When: t=0, we get (x1, y1)t=0, we get (x1, y1) t=1, we get (x2, y2)t=1, we get (x2, y2) (0<t<1), we get points on the segment between (x1, y1) and (x2, y2)(0<t<1), we get points on the segment between (x1, y1) and (x2, y2) x y P2 = (x2, y2) P1 = (x1, y1)

Other helpful formulas Length = sqrt (x2 - x1) 2 + (y2 - y1) 2 Midpoint, p2, between p1 and p3 p2 = ((x1 + x3) / 2, (y1 + y3) / 2))p2 = ((x1 + x3) / 2, (y1 + y3) / 2)) Two lines are perpendicular if: M1 = -1/M2M1 = -1/M2 cosine of the angle between them is 0cosine of the angle between them is 0 Length = sqrt (x2 - x1) 2 + (y2 - y1) 2 Midpoint, p2, between p1 and p3 p2 = ((x1 + x3) / 2, (y1 + y3) / 2))p2 = ((x1 + x3) / 2, (y1 + y3) / 2)) Two lines are perpendicular if: M1 = -1/M2M1 = -1/M2 cosine of the angle between them is 0cosine of the angle between them is 0

Reading Chapters 1 and Appendix B of Angel