Professional Documents
Culture Documents
Given C - the camera transformation in world space we need C' it's inverse.
We needn't do a full blown matrix inverse because of the special case of this
frame. it has an orthonormal upper 3x3 and a translation vector. C' can be
calculated thusly:
C =
nx ox ax px
ny oy ay py
nz oz az pz
C' =
nx ny nz -p.n
ox oy oz -p.o
ax ay az -p.a