How to display a point cloud with openGL

前端 未结 1 531
醉话见心
醉话见心 2021-02-04 17:40

I\'m trying to display a point cloud with OpenGL.

I have followed some tutorials and I managed to display some geometric schema but when i try to display a

1条回答
  •  生来不讨喜
    2021-02-04 17:51

    You should use the GL_MODELVIEW to position your cloud in the scene.

    In the draw method change glMatrixMode(GL_PROJECTION); to glMatrixMode(GL_MODELVIEW);

    0 讨论(0)
提交回复
热议问题