PyWavefront
PyWavefront copied to clipboard
Do not triangulate faces
It seems triangulation is forced if one wants to read the faces from the obj file.
Is it possible to not triangulate and still read the face data?
Right now the parser will always triangulate. It's probably not hard to modify the following section to not triangulate based on some option
https://github.com/greenmoss/PyWavefront/blob/2f18318674d85cb7c16298110161a15b38c53f92/pywavefront/obj.py#L416-L424
#88 would solve this. I completely agree that this is a necessary change. It's a result of the librarys original focus of rendering objects with VBOs pyglet. It needs to be modernized quite a bit.