Commit Graph

162 Commits

Author SHA1 Message Date
kovacsv
12537cdac8 Enable camera mode setting during embedding. 2022-09-18 14:35:06 +02:00
kovacsv
73417f2a90 Store field of view in engine's camera. 2022-09-18 10:43:20 +02:00
kovacsv
5bf4f11d5d Minor modification. 2022-07-03 21:20:23 +02:00
kovacsv
71958671bc Add function to check if there is a listener for an event. 2022-07-02 22:47:55 +02:00
kovacsv
2a80468276 Rename EventSource to EventNotifier. 2022-07-02 22:34:43 +02:00
kovacsv
bd6c2b5114 Add EventSource class. 2022-07-02 22:25:34 +02:00
kovacsv
235149c325 Rename callback. 2022-07-02 22:14:10 +02:00
kovacsv
e0b046d1b7 Add callbacks for file loading progress. 2022-07-02 09:16:45 +02:00
kovacsv
62af23cafc Use RGBAColor for background. 2022-06-25 11:36:53 +02:00
kovacsv
c168f944f6 Rename Color to RGBColor. 2022-06-25 10:20:58 +02:00
kovacsv
2593bbba4e Calculate the volume of a model by calculating the sum of volumes of all meshes. 2022-06-18 16:24:15 +02:00
kovacsv
7e9a191671 OFF mesh file import with colors #278 2022-06-17 19:14:28 +02:00
kovacsv
316c8e7293 Introduce InputFile class that can specify the name and the url as well (#202). 2022-06-05 14:44:05 +02:00
kovacsv
97742aae32 Use the general check function for dotbim export-import. 2022-05-29 13:13:29 +02:00
kovacsv
f133ced651 Bundle three.js together with the library. 2022-05-20 18:52:37 +02:00
kovacsv
afe6cce6da Remove url from texture, since it's not a core data, and needed only for three.js conversion. 2022-04-27 18:19:55 +02:00
kovacsv
267aeec79a bim export #246 2022-04-18 18:09:17 +02:00
kovacsv
abeb281c65 Url detection in element properties #235 2022-04-15 08:58:58 +02:00
kovacsv
9d285bfa44 Fix unit tests. 2022-02-20 17:22:11 +01:00
kovacsv
d4d488ad46 Add the possibility to switch between environment maps #161 2022-01-22 14:39:34 +01:00
kovacsv
528541cfd4 Store main file name in error if it's present. 2022-01-21 18:46:54 +01:00
kovacsv
603d7c8699 Add cone generator. 2022-01-18 23:19:21 +01:00
kovacsv
646ca67e7e Create quaternion from x, y, z rotation values. 2022-01-15 12:11:52 +01:00
kovacsv
a4d386c521 Use ES modules. 2022-01-10 18:10:51 +01:00
kovacsv
a13f82f687 Remove material parameter from mesh. 2022-01-04 19:49:13 +01:00
kovacsv
b526bea0bb Add mesh material which is inherited to triangles during finalization. 2022-01-03 19:34:08 +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
3b6e784081 Check vertex color indices in tests. 2021-12-29 17:28:46 +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
0eee801446 Store vertex colors for triangles. 2021-12-28 21:15:33 +01:00
kovacsv
3a5c65bdc8 Store vertex colors in mesh. 2021-12-28 16:44:00 +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
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
233cc2c2d7 Store instance id in mesh instances. 2021-12-25 10:49:59 +01:00
kovacsv
1cf59b750f Remove solidity check from volume calculation. 2021-12-18 10:31:40 +01:00
kovacsv
6d343160e7 Add o3dv example file. 2021-12-13 20:27:37 +01:00
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
bb3bef4134 Add edge color to embedding codes. 2021-12-08 13:13:31 +01:00
kovacsv
282d4ba604 Simplify FileObject for test. 2021-12-07 12:58:21 +01:00
kovacsv
d7a33d27e2 Rewrite export-import test. 2021-12-07 12:43:55 +01:00
kovacsv
65ab4aa9f5 Create separate material classes for phong and physical materials. 2021-12-04 18:26:58 +01:00
kovacsv
db57efeaf1 Select file to import when there are more importable files #176 2021-11-29 19:48:12 +01:00
kovacsv
2ac86e2a65 Support for drag&dropping an entire folder with model files #175 2021-11-29 10:51:48 +01:00
kovacsv
e8e6108dfe Node list instead of hierarchy in o3dv files. 2021-11-22 16:52:45 +01:00
kovacsv
583ab14e34 Create mesh nodes during o3dv import. 2021-11-22 14:25:56 +01:00