Commit Graph

236 Commits

Author SHA1 Message Date
Viktor Kovacs
8853c00e14 Rename test cases. 2021-04-02 10:51:13 +02:00
Viktor Kovacs
c7eb2f2cb8 Rename urlutils_test to parameterlist_test. 2021-04-02 10:50:34 +02:00
Viktor Kovacs
cafb7171f9 Add parameter handling utilities. 2021-04-02 10:49:01 +02:00
Viktor Kovacs
8e7bebaf5f Rename urlutils to paramutils. 2021-04-02 10:38:53 +02:00
Viktor Kovacs
6d23481619 Use the camera recommended by the importer in case of no camera defined during embedding or self-hosting. 2021-04-02 10:05:47 +02:00
Viktor Kovacs
473da09052 Add function to reload the same model again. 2021-04-02 10:05:18 +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
774e32af5b Update version. 2021-04-01 18:19:10 +02:00
Viktor Kovacs
cb5f006a9f Use python in package scripts. 2021-04-01 16:36:14 +02:00
Viktor Kovacs
0595f6a385 Remove build from travis. 2021-04-01 16:33:35 +02:00
Viktor Kovacs
b4dbf0463b Remove environment variable. 2021-04-01 16:31:04 +02:00
Viktor Kovacs
1d956e86dd Fix python runner script. 2021-04-01 16:27:58 +02:00
Viktor Kovacs
9ac4415eee Use python3 instead of python on non-windows machines. 2021-04-01 16:25:55 +02:00
Viktor Kovacs
bb05a22c9e
Update README.md 2021-04-01 15:46:28 +02:00
Viktor Kovacs
30e4fdfcad Minor modification. 2021-04-01 15:39:09 +02:00
Viktor Kovacs
d8aa2feac3 Separate entities for url parameter handling. 2021-04-01 15:04:17 +02:00
Viktor Kovacs
c770b84e26 Replace tabs with spaces everywhere. 2021-03-31 18:02:14 +02:00
Viktor Kovacs
d1000c0c93 Add function to run a single task asynchronously. 2021-03-31 17:52:26 +02:00
Viktor Kovacs
515caed254 Make coverage report with only one package script. 2021-03-31 16:24:17 +02:00
Viktor Kovacs
e48c1b51e1 Pan with middle mouse #41 2021-03-31 16:20:50 +02:00
Viktor Kovacs
4acbf3046c Get rendered image as data url from the viewer. 2021-03-31 11:49:02 +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
45e4a13d53 Exclude tests from coverage report. 2021-03-30 18:57:29 +02:00
Viktor Kovacs
4d63aa3a62 Code coverage for test. 2021-03-30 18:52:58 +02:00
Viktor Kovacs
6bc1b33e8a Use rewire to import non-module files, and use nyc for test coverage. 2021-03-30 18:34:00 +02:00
Viktor Kovacs
1c3b795ae8 Update version. 2021-03-30 18:04:47 +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
f65ae54b2b Reformat exporter test. 2021-03-29 20:02:28 +02:00
Viktor Kovacs
68e8e88d82 Remove experimental tag from gltf exporter. 2021-03-29 16:21:20 +02:00
Viktor Kovacs
b0a47c8173 Remove package.json from test folder. 2021-03-29 16:13:19 +02:00
Viktor Kovacs
3ce89d1d01 Modify page title for embedded version. 2021-03-29 16:09:51 +02:00
Viktor Kovacs
5d45d9eb57 Minor modification. 2021-03-29 15:25:37 +02:00
Viktor Kovacs
370803b8e4 JSHint fix. 2021-03-29 15:25:22 +02:00
Viktor Kovacs
41d1d58eb9 Write utf-8 encoded json in binary gltf. 2021-03-29 15:23:09 +02:00
Viktor Kovacs
66ad5c0d37
Update README.md 2021-03-29 14:20:02 +02:00
Viktor Kovacs
d80b97cf85 Minor modification. 2021-03-29 09:55:53 +02:00
Viktor Kovacs
404bc85271 Use text instead of ascii. 2021-03-29 09:55:39 +02:00
Viktor Kovacs
8b58d19a4a Move test object generator script to sandbox. 2021-03-29 08:24:45 +02:00
Viktor Kovacs
77edb8520d Add textured rectangle test object. 2021-03-29 08:23:48 +02:00
Viktor Kovacs
c4782710ad Use text instead of ascii. 2021-03-29 08:15:23 +02:00
Viktor Kovacs
28347b9bd8 Do not pretty print json in case of binary gltf export. 2021-03-28 17:00:32 +02:00
Viktor Kovacs
9366337858 Update readme. 2021-03-28 17:00:11 +02:00
Viktor Kovacs
97425d8add glTF exporter #37 2021-03-28 16:54:29 +02:00
Viktor Kovacs
fdb4b00fdc Create texture buffer view only if needed. 2021-03-28 16:45:47 +02:00