سؤال

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