0

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

Wilt
  • 41,477
  • 12
  • 152
  • 203
Maël Nison
  • 7,055
  • 7
  • 46
  • 77

1 Answers1

1

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

mrdoob
  • 19,334
  • 4
  • 63
  • 62
  • 1
    Indeed, thanks. I have used [this answer](http://stackoverflow.com/questions/12239876/fastest-way-of-converting-a-quad-to-a-triangle-strip) to split the quad into two triangles. – Maël Nison Jul 14 '13 at 14:57