Commit Graph

381 Commits

Author SHA1 Message Date
kovacsv
9237262ebd Process model on the loader callback, but wait while all files are loaded. 2021-12-27 20:26:52 +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
b4f10e2ca1 Use full file format names in export dialog. 2021-12-25 10:21:23 +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
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
18e35701be Access the core viewer instance from the embedded viewer. 2021-12-20 16:31:26 +01:00
kovacsv
9c3e6fa3ec Object oriented embedding. 2021-12-20 16:10:45 +01:00
kovacsv
1cf59b750f Remove solidity check from volume calculation. 2021-12-18 10:31:40 +01:00
kovacsv
d5976ec8db Do url transformations in the loading code instead of the dialog #188 2021-12-18 10:09:30 +01:00
kovacsv
aec0d4adc7 Remove unused functions. 2021-12-17 17:03:55 +01:00
kovacsv
b59f52ae77 Add toggle button for edge settings and dark mode. 2021-12-15 18:15:48 +01:00
kovacsv
b42f8a3ec3 Slider for edge threshold. 2021-12-15 15:22:56 +01:00
kovacsv
295ac89a5d Fix error message. 2021-12-13 11:30:22 +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
6fd498d4a8 Minor modification. 2021-12-13 08:41:48 +01:00
kovacsv
6e9eea126a Detect single tap on mobile as mouse click. 2021-12-13 00:01:08 +01:00
kovacsv
712b75e208 End event should handled for iOS. 2021-12-12 21:36:41 +01:00
kovacsv
ce57dff028 Handle touchcancel, because touchend doesn't work on android. 2021-12-12 21:24:42 +01:00
kovacsv
bcf0c588fe No need to handle mouse button in click detector. 2021-12-12 21:24:08 +01:00
kovacsv
a003210666 No need to handle end event, because on touchend no relevant information arrives in the event. 2021-12-12 21:10:17 +01:00
kovacsv
a0ef9de5cb Rename functions in navigation. 2021-12-12 20:28:12 +01:00
kovacsv
f722723bca Minor modifications. 2021-12-12 08:43:21 +01:00
kovacsv
d152b64903 Reset measure ui when a new model is loaded. 2021-12-11 12:07:12 +01:00
kovacsv
9b3fc02357 Measure tool experiment. 2021-12-11 11:59:41 +01:00
kovacsv
9371abf56f Add the possibility to add extra model parts to the viewer. 2021-12-11 08:42:38 +01:00
kovacsv
f63c3d074a Fix progress bar after file selector dialog. 2021-12-09 12:50:30 +01:00
kovacsv
abd183cafc Update third-party libraries. 2021-12-09 12:41:20 +01:00
kovacsv
d3d3b720a5 Inherit edges visibility from the mesh. 2021-12-08 18:30:43 +01:00
kovacsv
c3eb21b185 Add edge threshold popup. 2021-12-08 18:26:39 +01:00
kovacsv
bb3bef4134 Add edge color to embedding codes. 2021-12-08 13:13:31 +01:00
kovacsv
619afebd55 Add edge display to settings. 2021-12-08 10:50:08 +01:00
kovacsv
65ab4aa9f5 Create separate material classes for phong and physical materials. 2021-12-04 18:26:58 +01:00
kovacsv
b901a9ab30 Pass preferred shading type to three.js conversion instead of preferred material type. 2021-12-04 16:59:24 +01:00
kovacsv
a689614e52 Remove unused clone functions. 2021-12-04 16:18:26 +01:00
kovacsv
0efcff6d30 Create a new class for model loader user interface handling. 2021-12-03 16:19:44 +01:00
kovacsv
9c5f208297 Minor modification. 2021-12-03 15:31:16 +01:00