Commit Graph

1092 Commits

Author SHA1 Message Date
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
kovacsv
28b1edbfad Function to convert between gltf and internal colors. 2021-12-28 16:51:38 +01:00
kovacsv
3a5c65bdc8 Store vertex colors in mesh. 2021-12-28 16:44:00 +01:00
kovacsv
4027e2bc42 Minor modification. 2021-12-28 09:42:14 +01:00
kovacsv
f46ae4b88b Add transformation option for exporter model. 2021-12-28 09:18:29 +01:00
kovacsv
0a1f158e01 Separate file for exporter model tests. 2021-12-28 08:23:25 +01:00
kovacsv
3143fb0c09 Remove unnecessary log. 2021-12-27 20:37:02 +01:00
kovacsv
9237262ebd Process model on the loader callback, but wait while all files are loaded. 2021-12-27 20:26:52 +01:00
kovacsv
536a384d4d Zip exported files #38 2021-12-27 11:03:21 +01:00
kovacsv
93358e2cd0 Export only the visible meshes #169 2021-12-26 14:08:58 +01:00
kovacsv
4e7d10b3b7 Use model filter from export dialog. 2021-12-26 01:11:19 +01:00
kovacsv
5eca9dade5 Add model filter to exporter model. 2021-12-26 00:59:57 +01:00
kovacsv
fe8012e657 Use a separate model class for export. 2021-12-26 00:40:06 +01:00
kovacsv
233cc2c2d7 Store instance id in mesh instances. 2021-12-25 10:49:59 +01:00
kovacsv
1df376745f Update three.js. 2021-12-25 10:33:50 +01:00
kovacsv
b4f10e2ca1 Use full file format names in export dialog. 2021-12-25 10:21:23 +01:00
kovacsv
6bb94d2ac7 Minor modification. 2021-12-23 22:06:30 +01:00
kovacsv
43917f401d Separate script for linting. 2021-12-23 21:46:52 +01:00
kovacsv
3b68f6d746 Add jsdoc as a dependency. 2021-12-23 19:08:00 +01:00
kovacsv
69a97d6bd0 Move viewer geometry objects to a separate file. 2021-12-23 18:47:23 +01:00
kovacsv
759e9e7efe Store grid next to the geometry. 2021-12-23 17:48:40 +01:00
kovacsv
e611e50e2f Minor modifications. 2021-12-23 16:24:17 +01:00
kovacsv
aaf6a242c0 Feature toggle for grid display. 2021-12-23 15:18:47 +01:00
kovacsv
876cfc399b Always orbit around the center point of the camera. 2021-12-23 09:12:03 +01:00
kovacsv
3a2b344bc5 Simplify orbit center handling. 2021-12-22 23:35:59 +01:00
kovacsv
bee095ba74 Remove orbit center modifier code. 2021-12-22 23:05:27 +01:00
kovacsv
7891817b3e Fix crash when material type doesn't match with the preferred shading type. 2021-12-22 22:58:23 +01:00
kovacsv
1a0b473345 Rename axis to grid. 2021-12-22 20:36:48 +01:00
kovacsv
9e4aa58de2 Adjust orbit center after panning #194 2021-12-21 20:47:25 +01:00
kovacsv
c8f3511708 Update dependencies. 2021-12-20 23:16:05 +01:00
kovacsv
27c308e308 Update external libraries. 2021-12-20 23:14:23 +01:00
kovacsv
e9f989ffea Clear previous model before loading the next one. 2021-12-20 22:58:32 +01:00
kovacsv
716f0c11fc Merge branch 'master' into dev 2021-12-20 17:01:59 +01:00
Viktor Kovacs
c3ed8280d5 Update issue templates 2021-12-20 17:01:23 +01:00
Viktor Kovacs
f7b9d90cba Update issue templates 2021-12-20 17:01:07 +01:00
kovacsv
5960a56d98 Merge branch 'master' into dev 2021-12-20 16:57:23 +01:00
Viktor Kovacs
32296d70e3 Update issue templates 2021-12-20 16:50:23 +01:00
Viktor Kovacs
907b87539c Update issue templates 2021-12-20 16:50:01 +01:00
Viktor Kovacs
256bcc28eb Update issue templates 2021-12-20 16:48:24 +01:00