Game Development Community

Orthographic camera

by Alex Neuse · in Torque Game Engine · 10/10/2008 (10:52 am) · 0 replies

Hi there... I am just starting out with a new game built on TGE 1.5.2. The game has a 3D HUD that I wish to view with an orthographic camera. All gameplay takes place on this 2D plane, but with 3D art. Behind the HUD, there will be non-interactive crazy 3D stuff going on, but with a normal perspective projection. So, as I'm getting oriented with this new engine, I have two questions...

1) What is the best way to configure TGE 1.5.2 to use an orthographic camera? I have been playing with the various calls to dglSetFrustum, but they all seem too deeply buried in the general-purpose rendering code to "configure" a game.

2) Is it possible to layer a orthographic view above a perspective view? Is using two camera necessarily to achieve this?

Thanks.
=chris & alex

About the author

Recent Threads