How to Draw line in 3D rectangle based on x,y and z?

前端 未结 3 1121
礼貌的吻别
礼貌的吻别 2021-02-11 07:48

\"enter

I would like draw 3D points represented in image to 3D rectangle. Any idea how co

3条回答
  •  囚心锁ツ
    2021-02-11 08:42

    What you want to do is impossible to do using the method you've stated - this is because a box - when rotated in 3 dimensions won't look anything like that diagram of yours. It will also vary based on the type of projection you need. You can, however get started using three.js which is a 3D drawing library for Javascript.

    Hope this helps.

提交回复
热议问题