Commit Graph

10 Commits

Author SHA1 Message Date
Viktor Kovacs
edeb864576 Free importer resources after import. 2021-04-20 10:55:03 +02:00
Viktor Kovacs
fa015f7fb5 MeshPhongMaterial's shininess should be between 0.0 and 100.0, so I modified the conversion and all of the importers accordingly. 2021-04-17 12:45:40 +02:00
Viktor Kovacs
bc74ed9b04 Replace tabs with spaces. 2021-04-15 14:53:33 +02:00
Viktor Kovacs
9f9851a2ec Async importers. 2021-04-15 14:52:16 +02:00
Viktor Kovacs
11d2f04580 Move buffer cache to the main importer class. 2021-03-30 19:22:38 +02:00
Viktor Kovacs
0c394f9aa8 Handle buffer cache by importers instead of the main importer object. 2021-03-30 12:21:46 +02:00
Viktor Kovacs
becbe31a9e Store object urls only for textures so they can safely revoked when the model is disposed. 2021-03-30 01:53:24 +02:00
Viktor Kovacs
c15e7ff3b4 Store the original file buffer in textures. 2021-03-28 14:06:55 +02:00
Viktor Kovacs
a1210d2129 Fix lgtm issues. 2021-03-28 09:59:51 +02:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00