Custom mesh: Mesh mode to quad?

Hi there!

I was wondering if there was a way set the mesh mode of a mesh to quad or polygon (exemple in jogl without a vertexbuffer glBegin(GL_QUADS):wink: to optimize the performance? If there isn’t then I’ll have to stick with triangles.

Thank you,


Doesn’t look like quads is a mode that JME supports:

But in my limited experience, quads either have about the same performance as two triangles or much much worse performance depending on the graphics card. Only the professional grade cards seemed to handle things like quads very well.

…and the memory savings is only two index values. My guess is that it’s not worth it in most cases but I’m sure someone smarter will pipe in and correct me if I’m wrong. @momoko_fan?

1 Like

Oh, okay thank you