Вы находитесь на странице: 1из 16

CS3500

Computer Graphics Module: Projective Geometry

P. J. Narayanan Spring 2005

CS3500

1

Projective Geometry of the Plane

Points represented by:

T

.

Consider the line equation:

Rewrite as:

.

Lines are represeted by 3-vectors, just like points. Scale is unimportant.

. Describes all points incident on

Line equation:

line

or all lines passing through point

!!

CS3500

December 02, 2004

T represents

What happens when

?

2

Points at Infinity

.

Becomes point at infinity or ideal or vanishing point

Points at

projective geometry.

infinity can

be handled like any other

in

T are all points at infinity on the plane. They together form a line at infinity.

What is its representation? [0

CS3500

0

1] T

December 02, 2004

3

View of Projective Representation

represent rays from origin in a 3-space.

Any cross section perpendicular to the describe the plane.

Ideal points lie on the

plane.

axis can

Lines are planes passing through the origin.

CS3500

December 02, 2004

Line Joining 2 Points

Let

Line Joining 2 Points Let be two points. We have: . Considering them as vectors in

be two points. We have:

Line Joining 2 Points Let be two points. We have: . Considering them as vectors in

.

Considering them as vectors in 3-space, we want to find

a vector

orthogonal to both

and

in 3-space, we want to find a vector orthogonal to both and . The cross-product is

.

The cross-product

to find a vector orthogonal to both and . The cross-product is a solution. Thus, .

is a solution. Thus,

a vector orthogonal to both and . The cross-product is a solution. Thus, . Long route:

.

Long route:

.

CS3500

T

a vector orthogonal to both and . The cross-product is a solution. Thus, . Long route:

.

December 02, 2004

4

Line between

and

T . Same as

Ideal point of line

Line joining infinity.

CS3500

T and

:

.

T is

T is:

T

.

T

T

, the line at

5

December 02, 2004

6

Point of Intersection of 2 Lines

Two lines

CS3500

6 Point of Intersection of 2 Lines Two lines CS3500 . intersect in a point with

.

6 Point of Intersection of 2 Lines Two lines CS3500 . intersect in a point with

intersect in a point with

. And,

.

.

6 Point of Intersection of 2 Lines Two lines CS3500 . intersect in a point with

T

.

.

December 02, 2004

Intersection of

Same as

.

Intersection of

Ideal point of line

CS3500

and

and

T is

:

:

T

.

T

.

T

.

7

December 02, 2004

8

Conics: Second Order Entities

General quadratic entity:

.

Rewrite using homogeneous coordinates as:

Rewrite as:

.

A symmetric

Covers circle, ellipse, parabola, hyperbola, etc.

represents a conic:

T

.

CS3500

T

December 02, 2004

9

Properties of Conics

gives the tangent line to the conic at

.

Dual conic: conic defined by its tangent lines!

T

If

where

is non-singular,

Point of tangency of to symmetry.

CS3500

is the adjoint matrix of

and

-1 .

is given

.

due

December 02, 2004

10

Projective Transformations

A general non-singular

other points. Overall scale of

matrix

transforms points to

is unimportant.

gives the transformed point.

gives the transformed line.

is the transformed conic.

Linearity is preserved.

line. is the transformed conic. Linearity is preserved. collinear if are. Such a transformation is called:

collinear if

the transformed conic. Linearity is preserved. collinear if are. Such a transformation is called: collineation,

are.

Such a transformation is called:

collineation, homography, projective transformation.

CS3500

December 02, 2004

11

Isometric Transformation

Transformations of the form, with

:

Includes rotations, translations, reflections.

Preserves distance measurements, angles, parallelism, etc.

CS3500

December 02, 2004

12

Similarity Transformations

Transformations of the form for nonzero

:

Includes rotations, translations, uniform scaling

Preserves angles, parallelism, ratio of distances.

CS3500

December 02, 2004

13

Affine Transformations

Transformations of the form:

Includes

rotations,

shearing, etc.

translations,

nonuniform

scaling,

Preserves parallelism, ratio of lengths of parallel lines, ratio of areas, centroid.

Points and lines at infinity map to themselves.

CS3500

December 02, 2004

14

Projective Transformation

Any general matrix

.

Represents a very general transformations.

Finite points can map to ideal points and vice versa.

CS3500

December 02, 2004

CS3500

15

End of Class 5

December 02, 2004