A section of Laboratory Project: Putting 3D in Perspective: the full video with all its notes is on that page.
Notes: Putting 3D in Perspective Question 2: Projecting a 3D Line to 2D
Written notes — from Laboratory Project: Putting 3D in Perspective.
Question 2
If the clipped line segment is projected on the screen window, identify the resulting line segment.
Solution:
We need to project the clipped points (650, -25, 210) and (125, -350, 75) onto the screen and determine the resulting endpoints on the screen.
Projecting 3D on to 2D
First let's consider how the x, y, and z-coordinates get projected from 3D on to the 2D screen.

We can now determine a formula for the projection of both the y and z coordinates using similar triangles, while the x coordinate just becomes equal to zero.


This means that our clipped points from Question 1 become projected to new points using the above formulas:
Clipping point (650, -25, 210) becomes:
(0, -25/(1-650/1000) = -71.4286, 210/(1-650/1000) = 600) = (0, -71.43, 600)
Clipping point (125, -350, 75) becomes:
(0, -350/(1-125/1000) = -400, 75/(1-125/1000) = 85.7143) = (0, -400, 85.71)
Thus the resulting line segment can be determined using the vector equation of a line:
r = r0 + tv = <0, -71.43, 600> + t<0 - 0 = 0, -400-(-71.43) = -328.57, 85.71-600 = -514.29 > = <0, -71.43, 600> + t<0, -328.57, -514.29> for 0 ≤ t ≤ 1.
We can graph all this out in GeoGebra.


- Watch on: YouTube · Telegram
- Full video and written notes: Laboratory Project: Putting 3D in Perspective
- Sections playlist: Laboratory Project: Putting 3D in Perspective (YouTube)
- More: Vectors and the Geometry of Space · mes.fm/math
Notes originally posted on the Hive blockchain →
