Documente Academic
Documente Profesional
Documente Cultură
Xu Li
Zhejiang Normal Univercity
179346696@qq.com
Contents
2.10 How do you convert an arbitrary
1 Vectors & Point vector to a unit vector? 3
1.1 What is the difference between a 2.11 How do you compute the cross
point and a vector? 2 product of two vectors? Informally,
1.2 What is a right handed coordinate what does the cross product do? 3
system? 2
1.3 How do you compute the dot 2.12 Give an example where we need
product of two vectors? Informally, the cross product for Computer
what does the dot product do? Give an Graphics applications. 3
example where we need the dot 2.13 What are implicit and parametric
product for Computer Graphics expressions for a plane? 3
applications. 2 2.14 Write an implicit equation for a
1.4 How do you compute the plane given three points. 3
projection of one vector onto another?2 2.15 Write a parametric equation for a
2 Parametric & Implicit plane given three points. 3
2.1 What are the implicit and 2.16 Compute the intersection between
parametric forms of a line? Why are two arbitrary lines. What is the best
they named implicit and parametric? 2 choice for representing each line: a
2.2 What is the implicit form of a parametric or implicit expression?
circle centered at (xc, yc) with radius Justify your answer. 3
r? 2 2.17 Compute the intersection between
2.3 Write an implicit equation for a a line and a plane. What is the best
line given two points.2 choice for representing the line: a
2.4 Write a parametric equation for a parametric or an implicit expression?
line given two points. 2 What is the best choice for
2.5 Suppose you are given a representing the plane: a parametric
parametric equation for a line. or an implicit expression? Justify your
Convert from this representation to an answers. 4
implicit equation for that same line. 2 2.18 Compute the intersection between
2.6 Given an implicit equation for a a line and an arbitrary sphere. Which
line, convert it to a parametric representation did you choose for
representation. 2 representing the line and the sphere
2.7 Given a slope / intercept equation (implicit or parametric)? Justify your
for a line, convert it to parametric and choice. What are the conditions for this
implicit representations. 3 intersection to exist? 4
2.8 Give a situation in a computer 2.19 When multiplying two arbitrary
graphics application where you would matrices together - What conditions
prefer a parametric representation of a must be satisfied for this operation to
line to an implicit representation. 3 be possible? 4
2.9 Give a situation where you would
prefer an implicit representation of a
line to a parametric one. 3
1
1 Vectors & Point
1.1 What is the difference between a point
and a vector?
A vector In physics and geometry, a Euclidean vector, used to
represent physical quantities that have both magnitude and
direction.
A point is only used to represent a position in coordinate system
which cannot be used to represent magnitude and direction.
Points are measured relative to the origin. Vectors are
intrinsically relative to everything. So a vector can be used to =
represent a point. The point (x, y) is the point at the head of the
vector [x, y] when its tail is placed at the origin. But vectors
dont have a location
(2, 2);
2 2
(, ) = =0
1 2 1 2
1.3 How do you compute the dot product
of two vectors? Informally, what does
2.4 Write a parametric equation for a line
the dot product do? Give an example
given two points.
where we need the dot product for
(1, 1);
Computer Graphics applications.
Formula: (2, 2);
= () Let t =
1
=
1
Two vectors: 21 21
= (1, 1, 1);
= (2, 2, 2); = (2 1) + 1
Dot product: = 2 1 + 1
= = 12 + 12 + 12
C is a scalar.
Informally, dot product is used to compute the numerical value. 2.5 Suppose you are given a parametric
Dot product can be used to find the angle between two vectors. equation for a line. Convert from this
In Computer Graphics applications: Diffuse Calculation/ representation to an implicit equation
Projection.
1.4 How do you compute the projection of for that same line.
one vector onto another? =
parametric equation:
=
implicit representations :
(, ) = + = 0
2.6 Given an implicit equation for a line,
convert it to a parametric
2
representation.
(, ) = + + = 0
=
converted
=
:
References
= 1 + 1 [1]https://en.wikipedia.org/wiki/Parametric_eq
= 2 + 2
= 3 + 3 uation#Usefulness
:
1 ( 1) + 2 ( 2) + 3 ( 3) = 0;
(1 1) 1 + (2 2) 2 + (3 3) 3
=
1 1 + 2 2 + 3 3
= 1 + 1
put t into = 2 + 2 to get the intersection.(If using
= 3 + 3
implicit expression for the line, it's difficult to compute the
result).
when 1 1 + 2 2 + 3 3 = 0, intersection is
non-existent.
2.18 Compute the intersection between a
line and an arbitrary sphere. Which
representation did you choose for
representing the line and the sphere
(implicit or parametric)? Justify your
choice. What are the conditions for this
intersection to exist?