Commit graph

6 commits

Author SHA1 Message Date
Arseny Kapoulkine
9aaef40e36 Merge all face/index arrays together
Instead of each group storing a separate face/index array, we now store
one large face/index array and each group stores offsets inside it.

This makes it easier to parse .obj files when group information is
unimportant since one can just skip it - group information is often
inessential as it doesn't affect rendering behavior.

This makes parsing large files slightly faster (rungholt.obj parses in
~500ms instead of ~530ms after this change).
2019-06-11 07:35:30 -07:00
unknown
c9aff21d1c Fix Windows compilation warnings 2019-05-22 10:55:27 +01:00
HBurd
b1f8f1b17f demo fix for breaking api changes in tinyobj v1.3 2019-05-21 07:47:38 -07:00
Richard Knight
c50de83c6b Add timing code to tests 2019-05-19 10:01:11 +01:00
Richard Knight
657e55922f Fix test when obj has no name 2019-05-19 09:52:26 +01:00
Richard Knight
ef746985fb Slight reorganise to fit in with stb reqs 2018-07-29 13:59:16 +01:00