Commit Graph

8 Commits

Author SHA1 Message Date
chriscamacho 6ebf6b4e72 allow for multiple materials in obj files (#1408)
* allow for multiple materials in obj files also fix obj_loader hash map issues

* minor fix for warning

Co-authored-by: codifies <nospam@antispam.com>
2020-10-08 20:31:59 +02:00
Ray df4b55d657 Comment fprintf() calls 2020-02-17 00:46:41 +01:00
Ray e5d5f6e367 Review possible memory leak with my_strndup() 2019-09-13 12:58:42 +02:00
Ray dec5f332ad Revert "Update tinyobj_loader_c.h"
This reverts commit 53b32f1c20.
2019-09-08 16:46:08 +02:00
Ray 53b32f1c20 Update tinyobj_loader_c.h 2019-09-05 13:15:47 +02:00
Ray 802afe8fe5 Replaced size_t by unsigned int 2019-04-10 00:34:46 +02:00
Ray 3e806ad9d4 Reviewed data assignation 2019-04-01 00:15:45 +02:00
Ray a643dc4ca0 WARNING: Redesigned model struct for multi-meshes
This is quite a big change, Model struct has been redesigned to support multiple meshes and multiple materials, most 3d fileformats contain multiple meshes and reference multiple materials.

Consequently, multiple functions have been reviewed.

LoadOBJ(), LoadIQM(), LoadGLFT() now return a Model.

Current LoadOBJ() is not valid anymore, actually, tinyobj_loader_c library is considered for replacement.
2019-03-29 16:48:23 +01:00