How to combine orthographic and perspective projections without using a render in image

jrs's picture

Hi All,

Does anyone know how I can combine orthographic and perspective projections without using a render in image?

I want to render things with a perspective projection and then be able to move them without them being distorted like in the top row of the attached pic which is done with a render in image. I'd like to avoid the RII if possible though for performance reasons and have been trying to achieve the same thing by setting the projection matrix. In the bottom row I tried to use the NI tools create and set matrix patches to set an orthographic projection for a 3D transform for the movement and then reset the matrix for the drawing of the cube and vice versa but no go.

After some reading of the Open GL doco it doesn't seem like this is possible but I thought I'd put it out there anyway.

Any help appreciated - James

P.S - You the awesome patches that come with FX Factory from Noise Industries to run the attached composition - http://www.noiseindustries.com/

PreviewAttachmentSize
Orthographic.jpg
Orthographic.jpg97.08 KB
Orthographic.qtz112.25 KB