Commit Graph

163 Commits

Author SHA1 Message Date
kovacsv
8a3c98e658 The obj file format specifies continuous lines and not line segments. 2023-10-23 20:27:21 +02:00
kovacsv
9e5ddaead7 Allow default line color parameter when embedding. 2023-10-23 13:52:06 +02:00
kovacsv
ac1a0e5b9d Add default line color picker to settings. 2023-10-23 13:12:51 +02:00
kovacsv
0b925de473 Add another test. 2023-10-17 19:58:32 +02:00
kovacsv
a3f9138579 Add test for lines in meshes. 2023-10-17 19:56:41 +02:00
kovacsv
1af09bf377 Read lines from obj files. 2023-10-17 19:47:00 +02:00
kovacsv
f546ce65c0 No need to have a separate material for lines. 2023-10-17 17:58:31 +02:00
kovacsv
cba71f92fa Add lines to the mesh data structure. 2023-10-15 21:40:19 +02:00
kovacsv
37a21aab36 Introduce camera settings class. 2023-10-14 08:33:51 +02:00
kovacsv
d7db1442b2 Rename CameraMode to ProjectionMode. 2023-10-14 07:44:44 +02:00
kovacsv
8cb4bd284b Fix order of nodes in glTF export. 2023-05-13 08:29:31 +02:00
kovacsv
d61087d110 GLTF Exporter Hierarchy Support #319 2023-05-07 17:42:45 +02:00
kovacsv
104983ef6e Prepare exporter model for hierarchical export. 2023-05-07 09:35:58 +02:00
kovacsv
abcf5d8722 Add hierarchical model test. 2023-05-07 07:07:10 +02:00
kovacsv
5d268ee819 Add more checks to hierarchical glTF test. 2023-03-26 08:17:56 +02:00
kovacsv
634c8ce3a0 Add hierarchical glTF object test. 2023-03-26 08:02:26 +02:00
kovacsv
fefee144bd Read custom properties from glTF elements #368 2023-03-03 20:23:30 +01:00
kovacsv
b9fe936047 Add utility function for string to rgba color conversion. 2023-01-21 22:54:31 +01:00
kovacsv
ff05887daa Model can't open if an url parameter contains slash #351 2023-01-10 20:19:57 +01:00
kovacsv
c39a63bc1c Create class for edge settings. 2022-12-31 12:20:27 +01:00
Viktor Kovacs
feb4b81deb Remove o3dv importer. 2022-11-18 21:42:13 +01:00
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
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
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
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
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
f46ae4b88b Add transformation option for exporter model. 2021-12-28 09:18:29 +01:00