Maël Nison
Maël Nison

Reputation: 7353

Face4 with BufferGeometry

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

Upvotes: 0

Views: 320

Answers (1)

mrdoob
mrdoob

Reputation: 19602

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

Upvotes: 1

Related Questions