Basic render 3D perspective projection onto 2D screen with camera (without opengl)

后端 未结 8 1025
南方客
南方客 2020-12-04 10:21

Let\'s say I have a data structure like the following:

Camera {
   double x, y, z

   /** ideally the camera angle is positioned to aim at the 0,0,0 point */         


        
8条回答
  •  时光说笑
    2020-12-04 10:43

    You might be interested in just seeing how GLUT does it behind the scenes. All of these methods have similar documentation that shows the math that goes into them.

    The three first lectures from UCSD might be very helful, and contain several illustrations on this topic, which as far as I can see is what you are really after.

提交回复
热议问题