SlideServe
Menu
Préférences
© SlideServe · v2026

Vectors Tools for Graphics

marlow avatar
29 diapositives · 499 Views · Jul 16, 2014

Vectors Tools for Graphics. Vector, Geometry and CG. To review vector arithmetic, and to relate vectors to objects of interest in graphics. To relate geometric concepts to their algebraic representations. To describe lines and planes parametrically. To distinguish points and vectors properly.

Vectors Tools for Graphics - slide 1
01 / 29Vectors Tools for Graphics
1 / 17

Télécharger la présentation

Vectors Tools for Graphics
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Vectors Tools for Graphics

  2. Vector, Geometry and CG • To review vector arithmetic, and to relate vectors to objects of interest in graphics. • To relate geometric concepts to their algebraic representations. • To describe lines and planes parametrically. • To distinguish points and vectors properly. • To exploit the dot product in graphics topics. • To develop tools for working with objects in 3D space, including the cross product of two vectors.

  3. Computer graphics objects • Objects to be drawn • Shape • position • orientation • fundamental mathematical discipline to aid graphics is • vector analysis • transformation

  4. Why vector analysis

  5. 2-D and 3-D coordinate systems

  6. Vector Review The difference between two points is a vector: v = Q - P;

  7. Vector and Point • Turning this around, we also say that a point Q is formed by displacing point P by vector v; we say that v offsets P to form Q. Algebraically, Q is then the sum: Q = P + v. • The sum of a point and a vector is a point: P + v = Q.

  8. Vector representation • At this point we represent a vector through a list of its components: an n-dimensional vector is given by an n-tuple: • w = (w 1 , w 2 , . . . , w n )

  9. Operation with Vectors • Add • Scale

  10. Linear Combination of Vectors • a v + b w

  11. Affine combination of vectors • A linear combination of vector is affine combination if • ex: 3 a + 2 b - 4 c

  12. Convex combination of Vectors • Plus one more requirement • ai >= 0 I = 1…m • .3a+.7b • 1.8a -.8b • The set of coefficients a 1 , a 2 , . . . , a m is sometimes said to form a partition of unity, suggesting that a unit amount of material is partitioned into pieces.

  13. The Magnitude of a vector Note that if w is the vector from point A to point B, then |w| will be the distance from A to B

  14. Unit vector It is often useful to scale a vector so that the result has a length equal to one. This is called normalizing a vector, and the result is known as a unit vector. For example, we form the normalized version of a, denoted , by scaling it with the value 1/|a|: Ex. a = (3, -4),

  15. The dot product

  16. The Angle Between Two Vectors.

  17. The Sign of b.cand Perpendicularity.

  18. The 2D Perp Vector.

  19. The perp dot product

  20. Orthogonal Projections

  21. Calculate K and M

  22. The distance from C to The Line the distance from a point C to the line through A in the direction v is:

  23. The Cross Product of Two Vectors The cross product (also called the vector product) of two vectors is another vector. It has many useful properties, but the one we use most often is that it is perpendicular to both of the given vectors. The cross product is defined only for three-dimensional vectors.

  24. Properties

  25. Normal

  26. Finding the Normal to a Plane