Author Topic: Orthographic Camera  (Read 3160 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Orthographic Camera
« on: September 26, 2018, 05:35:15 am »
Is it at all possible to extend the Camera instance to create an orthographic camera?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Orthographic Camera
« Reply #1 on: September 26, 2018, 09:49:43 am »
No. An orthographic camera support would require drastic changes to the whole culling, clipping, reprojection and blitting code.

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Orthographic Camera
« Reply #2 on: September 27, 2018, 07:27:14 am »
I expect either FrameBuffer or World is responsible for doing these things, but which is it?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Orthographic Camera
« Reply #3 on: September 27, 2018, 08:17:56 am »
Actually both plus the renderers contain some related code as well. It's a huge undertaking to change this, which is why I never bothered. You can move the camera far away and use a very tiny fov. That kinda gives you an orthographic projection, but of course it's not feasible in all situations.