Commit Graph

571 Commits

Author SHA1 Message Date
kovacsv
b42f8a3ec3 Slider for edge threshold. 2021-12-15 15:22:56 +01:00
kovacsv
ac4ab25d8a Move reset to default button to the bottom of the sidebar. 2021-12-14 12:10:32 +01:00
kovacsv
50e2337a3d Remove unused css definition. 2021-12-14 09:50:17 +01:00
kovacsv
396989bace Add sharing question and answer. 2021-12-13 20:34:22 +01:00
kovacsv
295ac89a5d Fix error message. 2021-12-13 11:30:22 +01:00
kovacsv
b333d9cadc Add frequently asked questions page. 2021-12-13 11:09:55 +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
f722723bca Minor modifications. 2021-12-12 08:43:21 +01:00
kovacsv
b186608e69 Update measure icon. 2021-12-11 15:22:58 +01:00
kovacsv
9304e56a9a Update social preview image. 2021-12-11 14:43:55 +01:00
kovacsv
42d61af160 Minor modifications. 2021-12-11 12:17:49 +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
4b9ba9f250 Update user manual. 2021-12-10 20:39:31 +01:00
kovacsv
9986664a31 Cookie consent popup instead of dialog. 2021-12-10 18:51:05 +01:00
kovacsv
9c803562f3 Move cookie consent always on top. 2021-12-09 12:51:42 +01:00
kovacsv
d013eefd45 Minor modification. 2021-12-09 12:01:40 +01:00
kovacsv
a14aa9f863 Refactor settings panel. 2021-12-09 09:08:43 +01:00
kovacsv
7e23376c3d Move navigator and sidebar panels to different files. 2021-12-09 07:41:18 +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
65600398b2 Add the possibility to set edge color. 2021-12-08 12:17:32 +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
0efcff6d30 Create a new class for model loader user interface handling. 2021-12-03 16:19:44 +01:00
kovacsv
eea966168f Fix settings panel resize. 2021-12-03 15:07:46 +01:00
kovacsv
254bd792e8 Fix lgtm issue. 2021-12-02 14:57:50 +01:00
kovacsv
27984580f7 Minor modification. 2021-12-02 13:43:40 +01:00
kovacsv
14139c2597 Background color picker doesn't updated when switching between light and dark mode #177 2021-11-30 21:55:49 +01:00
kovacsv
afb724fb3b Do not call event handlers since pickr calls them, too. 2021-11-30 21:20:42 +01:00
kovacsv
07fe1d5509 Send only file names to the file selector callback. 2021-11-30 10:29:01 +01:00
kovacsv
db57efeaf1 Select file to import when there are more importable files #176 2021-11-29 19:48:12 +01:00
kovacsv
7d3a454503 Build fix. 2021-11-29 10:59:45 +01:00
kovacsv
2ac86e2a65 Support for drag&dropping an entire folder with model files #175 2021-11-29 10:51:48 +01:00
kovacsv
dddd7a22e0 Separate needed lib files for website and embedded page. 2021-11-28 17:20:42 +01:00
kovacsv
5e696fd137 Add twitter button. 2021-11-27 23:03:49 +01:00
kovacsv
e88600afc3 Add header buttons directly to the parent element. 2021-11-27 20:39:49 +01:00
kovacsv
cb25414dd2 Fix panels visibility. 2021-11-27 13:19:50 +01:00
kovacsv
314b7bc563 Eliminate jQuery dependency #174 2021-11-27 12:22:14 +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
698e383583 Lower the jquery dependency of toolbar. 2021-11-27 08:12:37 +01:00
kovacsv
494b05bb8e Minor modification. 2021-11-26 23:13:01 +01:00
kovacsv
a89681757a Lower the jquery dependency of dialogs. 2021-11-26 23:02:41 +01:00
kovacsv
c1c8de4a3f Define italic style in css instead of the code. 2021-11-26 21:04:13 +01:00
kovacsv
694aa9d839 Remove jquery usage from the embedding code. 2021-11-26 20:45:38 +01:00
kovacsv
1b20aa4235 Improve navigator performance. 2021-11-26 12:38:20 +01:00
kovacsv
86589648bc Center currently opened file name in the header. 2021-11-24 18:10:11 +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
d954700cf1 Update meshes panel icons. 2021-11-19 08:54:14 +01:00
kovacsv
281a6eb077 Fix hierarchical model detection. 2021-11-16 08:39:10 +01:00
kovacsv
d5a9c886e0 Panel resize speedup. 2021-11-15 18:15:53 +01:00
kovacsv
ef83c0bfd3 Remember visibility status when changing between flat list and tree view. 2021-11-15 07:47:50 +01:00
kovacsv
2ccc67fe1a Separate file for svg loader. 2021-11-14 15:02:48 +01:00
kovacsv
ca3fd182b0 Introduce node types. GroupNode is a node that contains child nodes and optionally some meshes. MeshNode is a node that contains only one mesh. MeshNodes are not visible in the tree. 2021-11-13 20:56:35 +01:00
kovacsv
6732e8bb70 Fix node naming. 2021-11-12 16:30:09 +01:00
kovacsv
f6b22eb333 Speed up svg icon change. 2021-11-12 08:30:02 +01:00
kovacsv
eaaa780c30 Minor speed improvement. 2021-11-11 15:47:52 +01:00
kovacsv
01dadfada6 Fix missing semicolon. 2021-11-11 14:51:36 +01:00
kovacsv
de8670794c Speed up mesh isolation. 2021-11-11 14:30:38 +01:00
kovacsv
52b94e5aa4 Show all meshes on view type change. 2021-11-11 12:41:58 +01:00
kovacsv
e4fbd29c16 Hide expand and collapse buttons when there is no hierarchy in the model. 2021-11-11 08:20:37 +01:00
kovacsv
55c29b0d4b Show the currently opened file name in the header. 2021-11-11 07:06:55 +01:00
kovacsv
312d0c4447 Modify meshes button generation. 2021-11-10 15:58:14 +01:00
kovacsv
e0b6b19d2e Separate css variable for selected icon color. 2021-11-10 09:59:19 +01:00
kovacsv
82fa3ec8bf Add separator to meshes panel buttons. 2021-11-10 07:45:22 +01:00
kovacsv
23fb36b2d0 Add mesh icons to the tree. 2021-11-10 07:23:48 +01:00
kovacsv
73ca7e2a8c Add meshes panel icon placeholders. 2021-11-09 07:02:46 +01:00
kovacsv
7bb6363559 Common code for splitter install. 2021-11-09 07:00:21 +01:00
kovacsv
40cdc0a93d Make navigator and sidebar the same width. 2021-11-09 06:54:47 +01:00
kovacsv
d632df2254 Modify the default width of the navigator. 2021-11-08 19:54:00 +01:00
kovacsv
ef4500f23d Minor modification. 2021-11-08 19:45:42 +01:00
kovacsv
d94dd7d862 Merge branch 'dev' into navigator_redesign 2021-11-08 19:40:05 +01:00
kovacsv
90b11feb28 Remove version postfix from lib files. 2021-11-08 19:31:42 +01:00
kovacsv
1c867f83fe Fix meshes panel height calculation. 2021-11-08 14:25:24 +01:00
kovacsv
66959b7ad6 Add icon bar to the meshes panel. 2021-11-08 12:20:36 +01:00
kovacsv
10203e71c3 Make sidebar resizable. 2021-11-07 20:04:16 +01:00
kovacsv
b09011d39f Tooltip for navigator and sidebar buttons. 2021-11-07 19:49:08 +01:00
kovacsv
ff53c05bb2 Scroll tree elements to view even if they don't have a parent element. 2021-11-07 19:03:13 +01:00
kovacsv
4694fe640a Store navigator and sidebar opened/closed state in cookie. 2021-11-07 18:45:08 +01:00
kovacsv
34faf61b46 Highlight currently opened panel's icon. 2021-11-07 17:45:50 +01:00
kovacsv
4c7602a9d8 Modify sidebar width. 2021-11-07 17:45:37 +01:00
kovacsv
a4c0f0e95d Fine-tune panel set size and scroll behavior. 2021-11-07 17:35:29 +01:00
kovacsv
0020fa3878 Do not show the meshes root node. 2021-11-07 17:29:04 +01:00
kovacsv
b1435e5edc Modify files panel design. 2021-11-07 17:21:13 +01:00
kovacsv
4cbd1b2fef Minor modifications. 2021-11-07 15:27:41 +01:00
kovacsv
55ba530dc4 Switch files panel icon when there are missing files. 2021-11-07 11:31:31 +01:00
kovacsv
1d06bc0bce Show ambient and specular color. 2021-11-07 11:31:06 +01:00
kovacsv
01b09e08d0 Use panel set for sidebar. 2021-11-07 11:17:26 +01:00
kovacsv
557768afe6 Add mesh and material popup buttons. 2021-11-06 22:09:34 +01:00
kovacsv
3291417b31 Show and hide navigator. 2021-11-06 09:05:38 +01:00
kovacsv
dede2eaae7 Add resize callback to panel set. 2021-11-06 08:46:22 +01:00
kovacsv
316c722390 Create function from splitter class. 2021-11-06 08:36:34 +01:00
kovacsv
c088ab205f Move splitter logic in the navigator. 2021-11-06 08:26:19 +01:00
kovacsv
a1808ead20 Remove icon from node items. 2021-11-05 18:25:49 +01:00
kovacsv
d49b19c32e Modify navigator style sheet. 2021-11-05 18:14:19 +01:00
kovacsv
d8d4d1fb3e Fix mesh isolation. 2021-11-05 17:57:20 +01:00
kovacsv
26d9be2a19 Introduce panel set object, and start to use it on navigator. 2021-11-05 16:39:31 +01:00
kovacsv
a106c58c74 Rename AddButton to AppendButton in tree view. 2021-11-04 18:57:23 +01:00
kovacsv
5e6312b236 Show fit and show/hide button for all meshes in the navigator. 2021-11-04 08:42:49 +01:00
kovacsv
3423baa2b2 Hierarchical glTF import. 2021-11-02 08:40:27 +01:00
kovacsv
c639821249 Fix splitter behavior. 2021-11-01 07:48:02 +01:00
kovacsv
1b936f21b2 Replace environment map. 2021-10-31 09:30:37 +01:00
kovacsv
303d832a70 Replace environment map. 2021-10-30 13:00:52 +02:00
kovacsv
56d825281a Fix mesh isolation. 2021-10-30 10:30:37 +02:00
kovacsv
f12285be84 Implement show/hide for nodes. 2021-10-30 10:24:53 +02:00
kovacsv
6177c3c169 Implement fit to window for nodes. 2021-10-30 10:06:43 +02:00
kovacsv
5ae10403fa List all of the supported file formats. 2021-10-30 09:16:03 +02:00
kovacsv
69430fd8f2 Update three.js to the latest version #160 2021-10-30 08:43:25 +02:00
kovacsv
494ef4697b Move shading parameters to a separate class. 2021-10-29 18:19:36 +02:00
kovacsv
b63a94db11 Add clickable style only when the item does something on click. 2021-10-28 17:07:52 +02:00
kovacsv
0fba20ded8 Splitter for resizing the navigator. 2021-10-28 17:03:22 +02:00
kovacsv
f52de03109 Modify closed group icon to right arrow. 2021-10-28 15:56:36 +02:00
kovacsv
281d49c750 Move open/close arrow to the left of navigator group items. 2021-10-28 14:08:58 +02:00
kovacsv
7abc6efc93 Import all models as hierarchical model, but put all the meshes under the root node. 2021-10-27 08:25:47 +02:00
kovacsv
ad132b2eed Calculate geometric values based on mesh instances. 2021-10-26 18:54:51 +02:00
kovacsv
7eac7dee43 Treat models with no node hierarchy as one flat hierarchy under the root node. 2021-10-26 18:40:20 +02:00
kovacsv
16a122fcf0 Tree view refactor. 2021-10-26 18:07:28 +02:00
kovacsv
6f9801010b Use mesh instance id to identify meshes. 2021-10-26 13:15:56 +02:00
kovacsv
af5a0fef13 Add node to mesh instance instead of transformation. 2021-10-26 08:50:20 +02:00
kovacsv
d35a23bb43 Query mesh item count from navigator. 2021-10-25 06:42:57 +02:00
kovacsv
d36e113dea Store navigator items in a dictionary. 2021-10-24 20:49:09 +02:00
kovacsv
1f7bccd331 Rename NavigatorTree to NavigatorItems. 2021-10-24 20:30:42 +02:00
kovacsv
90539cc15d Move MeshInstanceId to a separate file. 2021-10-24 18:08:50 +02:00
kovacsv
13cbca26ee Rename modeldata to navigatortree. 2021-10-24 18:04:20 +02:00
kovacsv
4250ab3b58 Add mesh instance object that represents a mesh with transformation. 2021-10-24 16:46:49 +02:00
kovacsv
f045d214c7 Add mesh instance id to identify a mesh in the node hierarchy. 2021-10-24 09:43:24 +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
4ebcddc040 Don't show the settings/details icons on the landing page #153 2021-10-17 11:19:41 +02:00
kovacsv
6dacca19a7 Remove toolbar icon hiding, because it doesn't work on mobile. 2021-10-16 20:46:28 +02:00
kovacsv
9dcf49b548 Add node class. 2021-10-16 11:53:19 +02:00
kovacsv
2ab03c7213 Minor modification. 2021-10-16 11:33:23 +02:00
kovacsv
633fd759ee Don't show the settings/details icons on the landing page #153 2021-10-16 11:32:56 +02:00
kovacsv
e4800cd352 Modify light icon color in dark mode. 2021-10-10 12:10:14 +02:00
kovacsv
b152aa00e4 Modify sidebar panel text color. 2021-10-10 12:01:54 +02:00
kovacsv
d3f693f2de Dark Mode #113 2021-10-10 11:48:48 +02:00
kovacsv
803cb5cb1c Fine-tune dark mode styles. 2021-10-10 11:31:47 +02:00
kovacsv
27b13f9a7c Custom checkbox and radio button style. 2021-10-10 10:34:51 +02:00
kovacsv
fb3cdbe83c Pass original file name and extension to importers. 2021-09-24 08:16:18 +02:00
kovacsv
87a7fffc4f Use css variables for dialog text inputs. 2021-09-15 08:38:58 +02:00
kovacsv
b89a3429ba Feature Request- Ability to auto detect and load models from .zip or .rar #136 2021-09-13 16:32:50 +02:00
kovacsv
4e7f5d0445 Move FileList to a separate file. 2021-09-13 11:21:29 +02:00
kovacsv
c2cb76e75d Update CSS. 2021-09-07 20:08:04 +02:00
kovacsv
e7af727fa9 Embed input elements into labels. 2021-09-07 15:04:45 +02:00
kovacsv
419e8775dd Move three importer among other importers. 2021-09-05 08:04:55 +02:00
kovacsv
2d04bbfd95 Add icon to theme switch. 2021-09-04 20:56:37 +02:00
kovacsv
ed6b3f412f Add feature toggle for dark mode. 2021-09-04 20:39:49 +02:00