Commit Graph

65 Commits

Author SHA1 Message Date
kovacsv
449ce84bcd Add localization technology to the engine. 2024-01-27 08:58:13 +01:00
kovacsv
3195dfd80a Minor modification. 2023-12-26 15:11:12 +01:00
kovacsv
71e51ecf58 Pixel-based threshold for line detection. 2023-12-26 14:29:20 +01:00
kovacsv
db3f33d52f Add intersection calculation mode. 2023-12-26 13:11:55 +01:00
Viktor Kovacs
3022673c5e Add new line threshold calculation algorithm. 2023-10-27 11:47:42 +02:00
kovacsv
f83d5f02f5 Add heuristics for line threshold during ray casting. 2023-10-25 21:37:04 +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
4f0336c268 Implement polygon offset if the model contains lines. 2023-10-23 11:40:18 +02:00
Viktor Kovacs
7420e4dfeb Convert line segments with dummy material. 2023-10-21 08:46:54 +02:00
kovacsv
37a21aab36 Introduce camera settings class. 2023-10-14 08:33:51 +02:00
kovacsv
34a64b5d83 Introduce NavigationMode enum. 2023-10-14 07:58:28 +02:00
kovacsv
d7db1442b2 Rename CameraMode to ProjectionMode. 2023-10-14 07:44:44 +02:00
kovacsv
fbf946c54e Update third-party libraries. 2023-10-07 20:45:49 +02:00
kovacsv
1ec2f1df36 Option to create screenshot with transparent background #401 2023-06-28 19:02:39 +02:00
kovacsv
67ee073dfd Update libraries. 2023-06-02 22:47:39 +02:00
kovacsv
b93581c1bc Update three.js to version 0.152.2. 2023-05-07 11:59:54 +02:00
kovacsv
a0594d5ee2 Enable calling Init3DViewerElements from everywhere #375 2023-04-03 17:35:10 +02:00
kovacsv
12de8537bc Set the default up vector direction to y. 2023-02-04 12:05:06 +01:00
kovacsv
65cea7fb20 Make function names shorter. 2023-02-01 22:28:47 +01:00
kovacsv
0217122621 Correct the type of element parameter. 2023-01-15 15:47:28 +01:00
kovacsv
1950e3619e Update documentation. 2023-01-14 22:11:46 +01:00
Ilia Pozdnyakov
c95f7c2026
Allow initializing viewer element from File objects. (#352)
Co-authored-by: Ilia Pozdnyakov <pozdnyakov@peterpartner.net>
2023-01-14 22:09:07 +01:00
kovacsv
bd10b196d9 Create documentation for the engine #328 2023-01-07 08:22:23 +01:00
kovacsv
f3e79a74c2 Create class for environment settings. 2023-01-03 21:58:36 +01:00
kovacsv
6c66557884 Move shading model to a separate file. 2022-12-31 12:36:08 +01:00
kovacsv
c39a63bc1c Create class for edge settings. 2022-12-31 12:20:27 +01:00
kovacsv
f83e28cd88 Rename geometry to model. 2022-12-31 08:40:31 +01:00
kovacsv
4fd581e215 Use ViewerModel in ViewerMainModel. 2022-12-19 14:44:20 +01:00
kovacsv
69b423e837 Rename viewer geometry to viewer model. 2022-12-19 14:16:49 +01:00
kovacsv
c244562ed0 Context and Closure Memory Leaks #321 2022-12-16 13:24:31 +01:00
Viktor Kovacs
a558a31240 Initialize model loader in the constructor. 2022-12-05 17:54:16 +01:00
GuYounes
cb2e48cf11
feat(EmbeddedViewer): add the loader as class property (#327)
Co-authored-by: Younes Guarssifi <younes.guarssifi@sms-group.com>
2022-12-05 17:42:18 +01:00
kovacsv
499c867f4c Modify fix up vector parameter name. 2022-10-30 07:35:38 +01:00
kovacsv
81cd18083d Background doesn't work with orthographic camera #305 2022-09-26 18:21:05 +02:00
kovacsv
dca2dc1ec4 Adjust clipping planes when switching between camera modes. 2022-09-18 17:09:23 +02:00
kovacsv
12537cdac8 Enable camera mode setting during embedding. 2022-09-18 14:35:06 +02:00
kovacsv
14b0863d64 Add orthographic mode to the viewer class. 2022-09-18 13:01:51 +02:00
kovacsv
19b81d0b4c Fix field of view during embedding. 2022-09-18 11:11:23 +02:00
kovacsv
73417f2a90 Store field of view in engine's camera. 2022-09-18 10:43:20 +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
d34c710c0a Minor modification. 2022-06-06 16:58:09 +02:00
kovacsv
15dcf8b44d Do not fit model to window when camera parameters are provided. 2022-06-06 10:17:38 +02:00
kovacsv
41b65010f2 Rename filelist.js to importerfiles.js. 2022-06-05 21:08:53 +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
61c98e6f2e Environment and background improvements. 2022-06-04 14:32:50 +02:00
kovacsv
f133ced651 Bundle three.js together with the library. 2022-05-20 18:52:37 +02:00