Drawing an ellipse in THREE.js

不想你离开。 提交于 2019-12-24 17:55:43

问题


I'm trying to draw a 3D ellipse with THREE.js.

I noticed in the dev version (r50-dev), EllipseCurve (extras/core/Curve.js) and path.ellipse (extras/core/Path.js) have been added.

Unfortunately, I am new to THREE.js and although I can do basic things, I haven't been able to find a tutorial on Curve, much less a tutorial on the still-in-developement EllipseCurve.

I also understand I can do this with multiple bezier curves.

Any pointers would be much appreciated!


回答1:


Try using this example as reference and lookng at the EllipseCurve code.



来源:https://stackoverflow.com/questions/11419896/drawing-an-ellipse-in-three-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!