Splitting an Arbitrary Projection Matrix into 2 (or 4)

Started by
3 comments, last by DrGUI 19 years, 2 months ago
How do I split an arbitrary projection matrix into 2 (or 4) halfs (quarters) so I could have two views? I am now doing my GCSEs and have not covered matrices in lessons, although I have learnt about them myself to make games. Any help would be greatly appreciated.
Advertisement
I am a bit confused by your post, but it sounds like what you want is two projection matrices and two viewports. The whole viewport thing is really API dependent, and the two projection matrices are just like having one matrix, but for reach view. Want four views? Four matrices.
yeah you shouldnt really be splitting any matrices.

you should just set up multiple cameras, and derive their seperate projection matrices based on their own properties such as frustrum or whatever you use to generate your camera class.
Actually I am trying to make a high-resolution screen-shot system. I saw an article on this and it split up the projection matrix using a FOV projection, took the separate screen-shots then pieced them together. I want to know how to do this with any projection matrix.
Thanks
Can this be bumped up or do I need to repost?

This topic is closed to new replies.

Advertisement