Commit Graph

96 Commits

Author SHA1 Message Date
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
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
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
b901a9ab30 Pass preferred shading type to three.js conversion instead of preferred material type. 2021-12-04 16:59:24 +01:00
kovacsv
0efcff6d30 Create a new class for model loader user interface handling. 2021-12-03 16:19:44 +01:00
kovacsv
9024b71751 Rename dom functions. 2021-11-27 20:23:22 +01:00
kovacsv
cb25414dd2 Fix panels visibility. 2021-11-27 13:19:50 +01:00
kovacsv
02e1ed850f Lower the jquery dependency of website. 2021-11-27 12:14:04 +01:00
kovacsv
289e7cfff7 Lower the jquery dependency of navigator. 2021-11-27 10:37:02 +01:00
kovacsv
86b86f09e6 Lower the jquery dependency of treeview. 2021-11-27 09:03:07 +01:00
kovacsv
a89681757a Lower the jquery dependency of dialogs. 2021-11-26 23:02:41 +01:00
kovacsv
694aa9d839 Remove jquery usage from the embedding code. 2021-11-26 20:45:38 +01:00
kovacsv
6c57e785ca Do not use feature set in the viewer. 2021-11-20 17:20:55 +01:00
kovacsv
06a20bffd2 Add grid display experiment. 2021-11-20 17:00:28 +01:00
kovacsv
1b936f21b2 Replace environment map. 2021-10-31 09:30:37 +01:00
kovacsv
00daf22067 Modify physical lighting model. 2021-10-30 09:31:11 +02:00
kovacsv
69430fd8f2 Update three.js to the latest version #160 2021-10-30 08:43:25 +02:00
kovacsv
a1c77ea263 Set material type and shading model based on the most used material type in the model. 2021-10-29 18:33:46 +02:00
kovacsv
494ef4697b Move shading parameters to a separate class. 2021-10-29 18:19:36 +02:00
kovacsv
504c38848d Automatically remove trailing whitespaces in Visual Studio Code. 2021-10-25 16:30:25 +02:00
kovacsv
654ffd0acc Use one main object in viewer instead of an array of meshes. 2021-10-22 17:25:16 +02:00
kovacsv
5bd71dd50c Feature Request - Shift + Mouse left should pan model #141 2021-09-17 13:47:36 +02:00
hey24sheep
39e10560c9 increased zoomRatio to 0.005 2021-09-17 14:07:54 +05:30
kovacsv
f9e8be8ed0 Make ctrl+zoom dependent of mouse movement diff, and clean-up code. 2021-09-17 08:07:26 +02:00
hey24sheep
089f4a0fc9 disable zoom on movement along x-axis 2021-09-16 16:38:53 +05:30
hey24sheep
31f58ade96 ctrl zoom feature 2021-09-13 22:17:34 +05:30
kovacsv
9bdd924b2f Remove mesh isolation by ctrl+click. 2021-08-17 19:28:22 +02:00
kovacsv
471a6cd3fa Minor modification. 2021-08-17 19:20:44 +02:00
kovacsv
fe2836d632 Do not prevent default event for handlers that registered for the whole document, because in this case selection won't work. 2021-08-15 19:13:41 +02:00