PDA

View Full Version : Isometric with opengl



Acid-Chris
01-05-2002, 01:12 PM
Hello all!

has anyone of you an idea how to set up an iso-view and render tiles like in eg.: Diablo?

should i setup an ortho view?

thanks for any response.
- Christoph -

dorbie
01-05-2002, 06:31 PM
Ortho would do, but it's not truly isometric with vertical walls. You'd have to build your own projection matrix, but it's not really required.

If you use ortho and a few modelview rotations it will give you what you are looking for, and give you straight paralled vertical walls. You may want to add a pre projection scale in the vertical axis just to help fake out the height and counter the foreshortening effect of the viewing rotation and look a bit more like an isometric.