Logo Xingxin on Bug

Perspective Projection: My First Lesson to Computer Graphics

December 23, 2020
2 min read

As an architect, I have never thought about the principle behind when I was modeling in Rhino, SketchUp, Revit, etc. This is a series of articles while I am learning the CMU 15-462 Computer Graphics by Prof. Keenan Crane.

The idea behind projection can see as coordinate transformation. I set the camera position as a point on this curve and its projection vector targets at (0,0,0)(0,0,0). Hence, the coordinates of objects projected can be mapped to the plane defined by the vector of green, red, and blue. The 2D-version of the points on the plane can be denoted as u,vu,v.

The following animation is created by a Grasshopper script. gh-rotating-camera-along-a-curve.gif Left: Drawing the lines in top-view Right: The animation path