For a 3D scene in the World Coordinates, its View Reference Point is at c=(0,3,4), and a viewer is looking towards its origin O (0,0,0). Construct a transform matrix which will map World Coordinate points to a right-handed (UVN) viewing space, so that c is the origin, the line joining c to O is the positive N axis, and the View-Up Vector is (0,0,1).
My Attempt
VRP = (0,3,4)
VUP = (0,0,1)
VPN = (0,0,0,) - c = (0,-3,-4)
n = VPN / |VPN| = (0,-0.6,-0.8)
Stuck Here
u = (n x VUP) / |(n x VUP)| =
I'm confused how we would solve u now?
After we have found u, I can just find v easy and then sub those values into the relevant matrices