I’ve doen some test and found that GetView Offset doesn’t work so use Get view matrix and matrix calculations.
pritning the straight window comes out as
[1.0000, 0.0000, 0.0000, 0.0000]
[0.0000, 1.0000, 0.0000, 0.0000]
[0.0000, 0.0000, 1.0000, 0.0000]
[0.0000, 0.0000, 0.0000, 1.0000]
the basics of the matrix works liek this
[rot, rot, rot, w]
[rot, rot, rot, w]
[rot, rot, rot, w]
[locx, locy, locz, n]
unfortuneatly thsi doesn’t accoutn to zooming in so yeah but if we shift+click move the world to the right we get this
[1.0000, 0.0000, 0.0000, 0.0000]
[0.0000, 1.0000, 0.0000, 0.0000]
[0.0000, 0.0000, 1.0000, 0.0000]
[-7.4435, 0.0677, 0.0000, 1.0000]
when you rotate the view a bit from a centered top view you get
[0.3455, 0.0040, 0.9384, 0.0000]
[0.1854, 0.9800, -0.0725, 0.0000]
[-0.9199, 0.1990, 0.3378, 0.0000]
[0.0000, 0.0000, 0.0000, 1.0000]
and finally from front and sie view
front:
[1.0000, 0.0000, 0.0000, 0.0000]
[0.0000, 0.0000, -1.0000, 0.0000]
[0.0000, 1.0000, 0.0000, 0.0000]
[0.0000, 0.0000, 0.0000, 1.0000]
side
[-0.0000, 0.0000, 1.0000, 0.0000]
[1.0000, -0.0000, 0.0000, 0.0000]
[0.0000, 1.0000, -0.0000, 0.0000]
[0.0000, 0.0000, 0.0000, 1.0000]
hope this helps a bit
MacBlender