Is it possible to fed square into the BufferGeometry instead of triangles ?

If so, how ? I've looked at the source code, but there doesn't seem to be anything specific. When I try to simply change the numItems value from the attributes, I get the following display :

enter image description here

有帮助吗?

解决方案

No. Is not possible. BufferGeometry is optimised for WebGL and WebGL doesn't support quads (Face4). You can construct one using 2 triangles though.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top