Obj Import as Quadmesh help

Is it possible to import Obj as QuadMesh?

OpenGL hasn’t supported quads since 3.x, i.e circa 2009. This means even if you were able to import the Obj as quads you’d still have to split them into triangles before you can draw them, so it’s worth it to just convert the quads to triangles ahead of time. The free version of houdini can do this for you with a single divide SOP.

If you don’t have control over your geometry, tinyobjloader supports quad loading but you will still need to triangulate before drawing. If you want to go the kitchen sink route, Assimp will triangulate a quad obj for you automatically at the cost of being slightly more annoying to build.

1 Like

Do you guys know how to quadrangulate a mesh triangles? using what ever algorithm.

@edselmalasig I was facing same problem. Luckily i saw your post thanks for sharing this with us.

Thanks for this hospitality. :slightly_smiling_face: :slightly_smiling_face: