How to check if an object lies outside the clipping volume in OpenGL?

前端 未结 3 1565
太阳男子
太阳男子 2020-12-14 13:16

I\'m really confused about OpenGL\'s modelview transformation. I understand all the transformation processes, but when it comes to projection matrix, I\'m lost :(

If

3条回答
  •  北海茫月
    2020-12-14 13:28

    To determine if a given point will be visible on the screen, you test it against the viewing frustum. See this frustum culling tutorial:

    http://www.lighthouse3d.com/tutorials/view-frustum-culling/

提交回复
热议问题