Commit Graph

1180 Commits

Author SHA1 Message Date
kovacsv
052ef29ac5 Import vertex colors from obj files #201 2022-01-13 22:26:03 +01:00
kovacsv
576cdab3ba Fix typo. 2022-01-13 21:35:00 +01:00
kovacsv
c1e79b7649 Remove unused script. 2022-01-12 20:31:04 +01:00
kovacsv
b7b4cca10f Minor modification. 2022-01-12 20:09:18 +01:00
kovacsv
41c459897f Use substring instead of substr since it's deprecated. 2022-01-12 18:27:38 +01:00
kovacsv
211646c874 Remember the last used export file format #208 2022-01-12 17:13:31 +01:00
kovacsv
f21c5b74d0 CookieHandler shouldn't be a class. 2022-01-12 17:06:02 +01:00
kovacsv
e0627322ed Add engine build task, too. 2022-01-11 21:22:58 +01:00
kovacsv
50ebf86944 Add build task for visual studio. 2022-01-11 21:16:19 +01:00
kovacsv
501b6783a0 Happy new year! 2022-01-10 21:34:26 +01:00
kovacsv
1c6423b807 Remove unused class and function exports. 2022-01-10 18:34:31 +01:00
kovacsv
a4d386c521 Use ES modules. 2022-01-10 18:10:51 +01:00
kovacsv
acd30fdd7a Update version. 2022-01-08 11:14:31 +01:00
kovacsv
3115e77648 Name clarification in obj importer. 2022-01-08 10:35:37 +01:00
kovacsv
1d78f82053 Minor modification. 2022-01-08 10:35:01 +01:00
kovacsv
e94cf8e5e5 Fix select menu appearance on firefox and safari. 2022-01-08 10:22:07 +01:00
kovacsv
31f622dede Add utility function for color conversion. 2022-01-07 22:45:43 +01:00
kovacsv
74134c94a4 Simplify event handler interface. 2022-01-06 18:16:22 +01:00
kovacsv
dbf1865c46 Set vertex color for materials only if they have vertex color in all appearances. 2022-01-05 19:10:12 +01:00
kovacsv
671a0cac85 Add the possibility to rotate the model during export #196 2022-01-04 20:32:53 +01:00
kovacsv
a13f82f687 Remove material parameter from mesh. 2022-01-04 19:49:13 +01:00
kovacsv
88f928beae Minor modifications. 2022-01-04 19:37:53 +01:00
kovacsv
b526bea0bb Add mesh material which is inherited to triangles during finalization. 2022-01-03 19:34:08 +01:00
kovacsv
2969050880 Move mesh clone function to the mesh class. 2022-01-03 18:46:16 +01:00
kovacsv
6f8893befc Move client coordinate calculation to dom utils. 2022-01-02 10:03:48 +01:00
kovacsv
d4b3a2e009 Use set or map instead of pure object. 2022-01-02 10:00:13 +01:00
kovacsv
862677bbf7 Move color class to a separate file. 2022-01-01 10:59:36 +01:00
kovacsv
3795b5cacd Get mesh type instead of checking triangle count. 2021-12-31 10:37:16 +01:00
kovacsv
3d04114d86 Add o3dv test file with no material. 2021-12-31 09:10:41 +01:00
kovacsv
6dc21ae06b Provide only material color for importer. 2021-12-30 16:20:03 +01:00
kovacsv
630f85145b Create model finalizer class. 2021-12-30 14:40:54 +01:00
kovacsv
2d8acfe7da Move mesh utils to a separate file. 2021-12-30 10:16:49 +01:00
kovacsv
3b6e784081 Check vertex color indices in tests. 2021-12-29 17:28:46 +01:00
kovacsv
6b953b790c Change asset order in glTF exporter. 2021-12-29 13:53:53 +01:00
kovacsv
36c3cd5405 Don't try to read vertex colors from draco compressed models. 2021-12-29 12:18:43 +01:00
kovacsv
7000368040 Fix glTF component type handling for vertex colors. 2021-12-29 12:00:15 +01:00
kovacsv
7bfab03c42 Do not list material colors when vertex colors are applied. 2021-12-29 11:59:52 +01:00
kovacsv
15b49457af Add another selfhost example. 2021-12-29 09:50:46 +01:00
kovacsv
6a022775a4 Prevent material modification if vertex colors are present. 2021-12-29 09:50:31 +01:00
kovacsv
df5ad1e6be Hack in case of invalid color component range. 2021-12-29 09:40:09 +01:00
kovacsv
c6b2dbb95a Do not show default material popup when there are vertex colors. 2021-12-29 09:39:50 +01:00
kovacsv
f57d31eca8 Add test for exporting vertex colors to glTF. 2021-12-29 08:41:36 +01:00
kovacsv
7603537142 Tests for vertex color count. 2021-12-28 22:16:54 +01:00
kovacsv
10f7df63bc Export vertex colors to glTF. 2021-12-28 21:55:53 +01:00
kovacsv
0eee801446 Store vertex colors for triangles. 2021-12-28 21:15:33 +01:00
kovacsv
53d30d0b64 Add helper function for color conversion. 2021-12-28 17:25:25 +01:00
kovacsv
5c40815a7d Add helper function for color conversion. 2021-12-28 17:22:38 +01:00
kovacsv
1213bbee22 Add helper function for color conversion. 2021-12-28 17:19:26 +01:00
kovacsv
53a7193d4c Import vertex colors with three.js importers. 2021-12-28 17:12:20 +01:00
kovacsv
e5a2839c18 Minor modification. 2021-12-28 17:00:27 +01:00