Overview
Given two frames
in
three-dimensional space, it is
possible to develop a
matrix
that
converts coordinates from one frame to coordinates of
another.
Here we discuss the special case of converting the local coordinates
of an object specified in an arbitrary frame to the coordinate system
specified by the Cartesian frame. This conversion matrix is useful in
the construction of complex transformations, as in many cases it is
worthwhile to first convert to the Cartesian frame,
do our operations in
this well-known space, and then convert back.
For a pdf version of these notes look
here.
The Problem
Given a Frame
, let
be the
Cartesian frame
Developing the Conversion Matrix
We wish to find coordinates
, such that
So if we know the Cartesian coordinates of the
vectors
,
,
and the
origin
, the matrix is trivial to write down since
the rows of the matrix just consist of these coordinates.
Summary
We have developed a matrix that represents a the change between
the local coordinates in an arbitrary frame and the coordinates of the
Cartesian frame.
This is a simple transformation to calculate, as the rows of the
matrix are just the coordinates of the vectors
and the origin of the frame
in Cartesian coordinates.
This transformation is the inverse of the transformation that converts from the Cartesian Frame to an arbitrary frame.
Return to
the Graphics Notes Home Page
Return
to the Geometric Modeling Notes Home Page
Return
to the UC Davis Visualization and Graphics Group Home Page
This document maintained by Ken Joy
All contents copyright (c) 1996, 1997, 1998,
1999
Computer Science Department
University of California, Davis
All rights reserved.