Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在three.js中渲染 n 边多边形。它没有几何形状。我需要它能够渲染凸多边形和凹多边形。所以也许某处有补丁或解决方法。 用法: 输入将是n个顶点,这将构成 n 边多边形。但是,所有顶点都将位于同一平面上,并且输出应该是渲染的多边形。
也许您可以为此使用形状对象? http://mrdoob.github.com/three.js/examples/webgl_geometry_shapes.html