Commit Graph

14 Commits

Author SHA1 Message Date
kovacsv
ec9766ae81 Access all files as arraybuffer, and convert to text if needed. 2021-08-27 08:11:35 +02:00
kovacsv
b65964565f "Invalid header information" when loading a PLY file #118 2021-08-16 19:01:48 +02:00
kovacsv
46644d47c3 Use Physically Based Rendering when possible #99 2021-07-19 17:44:43 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
Viktor Kovacs
3842e1afcf PNG Transparency #21
Treat materials with png texture automatically as transparent.
2021-05-11 20:43:57 +02:00
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
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00