true isometric projection with opengl

前端 未结 4 456
深忆病人
深忆病人 2020-12-01 08:28

I am a newbie in OpenGL programming with C++ and not very good at mathematics. Is there a simple way to have isometric projection?

I mean the true isometric projecti

4条回答
  •  不思量自难忘°
    2020-12-01 09:04

    An isometric projection is just a matter of using an orthographic projection with a specific rotation angle.

    You should be able to choose any of the 8 potential orientations, with a orthographic projection, and get a perfect isometric view of your model. Just follow the math in your referenced Wiki article for setting up the view matrix, and do an orthographic projection for your projection matrix, and you're all set.

提交回复
热议问题