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

前端 未结 3 1132
天命终不由人
天命终不由人 2021-02-11 08:04

\"enter

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

3条回答
  •  一向
    一向 (楼主)
    2021-02-11 08:32

    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.

提交回复
热议问题