The Student Room Group

(VECTORS/MATRICES) calculating the projection of 2 edges of a cube

VECTOR5.pngred box:

is this a generic matrix? so every time i need to find the perspective projection of line segments i should use this?

brown box:
i multipled the matrix of coordinates (1 0 5 | 1 0 10 | 1 5 5 | 1 5 10) by the homogeneous matrix (1 0 0 0 | 0 1 0 0 | 0 0 1 1 | 0 0 0 0) to get (1 0 5 | 1 0 10 | 2 10 15 | 0 0 0)

so when i normalise i should have 1/sqrt(26), 0, 5/sqrt(26) for the first column but the answer gives (1/5, 0, 1, 1)

where did i go wrong? thanks in advance for any help, it's highly appreciated
(edited 10 years ago)
Original post by shartos maximus
VECTOR5.pngred box:

is this a generic matrix? so every time i need to find the perspective projection of line segments i should use this?

brown box:
i multipled the matrix of coordinates (1 0 5 | 1 0 10 | 1 5 5 | 1 5 10) by the homogeneous matrix (1 0 0 0 | 0 1 0 0 | 0 0 1 1 | 0 0 0 0) to get (1 0 5 | 1 0 10 | 2 10 15 | 0 0 0)

so when i normalise i should have 1/sqrt(26), 0, 5/sqrt(26) for the first column but the answer gives (1/5, 0, 1, 1)

where did i go wrong? thanks in advance for any help, it's highly appreciated


The matrix in the red box is the identity matrix.
Original post by maths learner
The matrix in the red box is the identity matrix.


The identity matrix has 1s in the diagonal. This cannot be the identity matrix.
Not something I've studied, but this (or just the statement at its end) may be useful regarding the brown box.
Original post by rayquaza17
The identity matrix has 1s in the diagonal. This cannot be the identity matrix.


Opp's didn't see that 0 at the end.
Original post by maths learner
Opp's didn't see that 0 at the end.

Or the 1 at the bottom second from the right? :P
Original post by ghostwalker
Not something I've studied, but this (or just the statement at its end) may be useful regarding the brown box.
nice, i'll give it a read when i'm not high

Original post by maths learner
Opp's didn't see that 0 at the end.
gg
Original post by rayquaza17
Or the 1 at the bottom second from the right? :P


It's been a long day :wink:

Quick Reply

Latest