Commit Graph

45 Commits

Author SHA1 Message Date
kovacsv
c698117302 Better error message in case of the file is found, but failed to load. 2021-12-13 11:09:33 +01:00
kovacsv
f63c3d074a Fix progress bar after file selector dialog. 2021-12-09 12:50:30 +01:00
kovacsv
65ab4aa9f5 Create separate material classes for phong and physical materials. 2021-12-04 18:26:58 +01:00
kovacsv
1ddd43c0b1 Remove svg importer. 2021-12-02 15:11:01 +01:00
kovacsv
c3b18803ac Store the current model in importer. 2021-12-02 15:10:00 +01:00
kovacsv
07fe1d5509 Send only file names to the file selector callback. 2021-11-30 10:29:01 +01:00
kovacsv
db57efeaf1 Select file to import when there are more importable files #176 2021-11-29 19:48:12 +01:00
kovacsv
8fa45a8b95 Rename ImportBuffers to ImporterFileAccessor. 2021-11-19 08:00:32 +01:00
kovacsv
33a8464321 Simplify importer interface. 2021-11-17 12:01:21 +01:00
kovacsv
afc741203a Minor modification. 2021-11-16 18:06:46 +01:00
kovacsv
c1e7deb2c4 Make three.js importers inherit from a three.js importer base class. 2021-11-01 07:47:45 +01:00
kovacsv
fb3cdbe83c Pass original file name and extension to importers. 2021-09-24 08:16:18 +02:00
kovacsv
30830e8431 Handle multiple zip files. 2021-09-16 07:45:11 +02:00
kovacsv
b89a3429ba Feature Request- Ability to auto detect and load models from .zip or .rar #136 2021-09-13 16:32:50 +02:00
kovacsv
4e7f5d0445 Move FileList to a separate file. 2021-09-13 11:21:29 +02:00
kovacsv
419e8775dd Move three importer among other importers. 2021-09-05 08:04:55 +02:00
kovacsv
46a8d580f4 Remove importers from file list object. 2021-09-01 10:27:17 +02:00
kovacsv
ec9766ae81 Access all files as arraybuffer, and convert to text if needed. 2021-08-27 08:11:35 +02:00
kovacsv
daa6d34bbc Minor modification. 2021-08-16 19:04:45 +02:00
kovacsv
5130717732 Always return file extension in lower case. 2021-08-06 19:01:43 +02:00
kovacsv
2757d9ecb5 Use promises for file loading. 2021-07-28 08:51:32 +02:00
kovacsv
6169e39450 Store file format (text or binary) in file object. 2021-07-23 17:50:49 +02:00
kovacsv
46644d47c3 Use Physically Based Rendering when possible #99 2021-07-19 17:44:43 +02:00
kovacsv
265da7548d Modify source structure. 2021-07-15 20:58:50 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
Viktor Kovacs
a3d283f613 Add o3dv file format for testing purposes. 2021-05-27 20:20:00 +02:00
Viktor Kovacs
ba0d642512
Revert "Add optional edge displaying and settings" 2021-04-25 15:19:17 +02:00
X-Ryl669
8a5782b8ec Add optional edge displaying and settings 2021-04-23 17:55:35 +02:00
Viktor Kovacs
ddec4bd898 Clear importer data after import. 2021-04-20 11:48:08 +02:00
Viktor Kovacs
a2aaedbbae Rhino import experiment. 2021-04-15 20:23:08 +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
6fbbdf4b69 Make a parameter from default color instead of the a member in importer. 2021-04-07 15:07:12 +02:00
Viktor Kovacs
e5e59f3e5d Get default color from importer. 2021-04-05 09:49:55 +02:00
Viktor Kovacs
b60305dd19 Possibility to set the default material color for importer in case of no-material surfaces. 2021-04-02 09:25:41 +02:00
Viktor Kovacs
0c03fb3bca Revoking urls is now the responsibility of the main importer object. 2021-03-31 08:14:35 +02:00
Viktor Kovacs
2450cb8feb Minor modification. 2021-03-31 07:47:37 +02:00
Viktor Kovacs
11d2f04580 Move buffer cache to the main importer class. 2021-03-30 19:22:38 +02:00
Viktor Kovacs
a9eb17269d Fix build. 2021-03-30 15:45:11 +02:00
Viktor Kovacs
90f8a07857 Revoke created object urls for export. 2021-03-30 15:44:30 +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
3a02cb8f8e Revoke object urls from file list and model when they are no longer needed. 2021-03-30 00:45:43 +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