Projection- Transforming 3d to 2d

后端 未结 3 597
北海茫月
北海茫月 2021-02-14 21:51

I have problem or well, I do not know how to transform 3d point with x,y,z values to 2d point, I have to draw projection, where I do have x,y,z values for points but I don\'t kn

3条回答
  •  北海茫月
    2021-02-14 22:30

    I would highly recommend using an existing graphics package to do this rather trying to write your own libraries. I don't know what language you are working in but OpenGL is an open source graphics engine that can be used for 3D rendering and has cross-language comparability so it might be the place to start.

    If you insist on doing it by hand there is very good example code in the answer to this question.

提交回复
热议问题