Commit Graph

377 Commits

Author SHA1 Message Date
kovacsv
ba4dcdfe04 Call resize when the model is loaded so sidebar will appear correctly on first load. 2021-08-15 12:50:20 +02:00
kovacsv
fda780b212 Fix info css. 2021-08-15 11:19:30 +02:00
kovacsv
55b611a2f6 Hover effect on Buttons #112 2021-08-15 10:14:15 +02:00
kovacsv
9c375c7927 Modify color picker position. 2021-08-15 10:01:26 +02:00
kovacsv
9e74a28d0b CSS refactor. 2021-08-15 10:00:40 +02:00
kovacsv
9c3ccab0f5 Minor modification. 2021-08-14 14:17:56 +02:00
kovacsv
b01dfc483f Remove preview from color picker. 2021-08-14 12:31:23 +02:00
kovacsv
95edcb8308 Settings panel redesign. 2021-08-14 11:55:21 +02:00
kovacsv
8493391517 Change canvas background color #85
Option to set default material for meshes with no material information #45
2021-08-14 11:12:41 +02:00
Agnes Gaschitz
8d53fe94b3 Modified Settings Icons 2021-08-14 11:09:26 +02:00
Agnes Gaschitz
5a3c2831d1 New Settings Icons 2021-08-14 11:05:04 +02:00
kovacsv
a0decdced3 Send extensions to model load failed handler. 2021-08-12 19:29:45 +02:00
kovacsv
37854a9313 Add three.js link. 2021-08-12 08:23:19 +02:00
kovacsv
0a547f7239 Add support for FBX file format #56 2021-08-12 08:21:13 +02:00
kovacsv
c14da66704 Merge branch 'dev' into three_importer 2021-08-07 22:14:58 +02:00
kovacsv
6a2315fbff Show physical material properties in the sidebar. 2021-08-07 22:08:06 +02:00
kovacsv
d03c67ce1f Merge branch 'dev' into three_importer 2021-08-06 19:02:01 +02:00
kovacsv
5130717732 Always return file extension in lower case. 2021-08-06 19:01:43 +02:00
kovacsv
0a269785da Add experiment to load models using three.js loaders. 2021-08-06 17:00:29 +02:00
kovacsv
6dad95b310 Add rhino exporter in the exporter constructor. 2021-08-06 15:10:38 +02:00
kovacsv
131b5c6cec Move font next to the css. 2021-08-06 14:44:25 +02:00
kovacsv
253e648a30 Move js and css files to separate folder. 2021-08-06 14:41:34 +02:00
kovacsv
02dab25883 Add event handler for some workflow events. 2021-08-01 14:28:48 +02:00
kovacsv
7022255491 Handle logical properties. 2021-08-01 11:58:33 +02:00
kovacsv
bffb791696 Hide isolation option when there is only one mesh in the model. 2021-07-30 13:29:44 +02:00
kovacsv
64e3dd2dcf Fix popup text overflow. 2021-07-29 14:44:34 +02:00
kovacsv
11f4579693 Make mesh visibility options available from context menu #102
Add the possibility to isolate mesh #103
2021-07-29 09:53:51 +02:00
kovacsv
9901ba1f4c Add sphere to function names where a sphere is expected. 2021-07-27 08:14:31 +02:00
kovacsv
428881a8c4 Separate js and css in config file. 2021-07-25 11:32:32 +02:00
kovacsv
b825403634 Simplify css. 2021-07-25 09:52:49 +02:00
kovacsv
6e05b1a584 Create function for icon creation. 2021-07-25 09:30:57 +02:00
kovacsv
4475e3faf2 Rename tree folder to navigator. 2021-07-24 22:03:05 +02:00
kovacsv
87ff35b794 Add show all meshes to the context menu. 2021-07-24 21:12:27 +02:00
kovacsv
74e99e1241 Fix lgtm error. 2021-07-24 14:50:29 +02:00
kovacsv
e48d699e5c Add the possibility to add icons to list popup. 2021-07-24 14:28:11 +02:00
kovacsv
beb389a3b0 Rename fit to window item. 2021-07-24 14:07:01 +02:00
kovacsv
d59a0c0a77 Always fit context menu to the screen. 2021-07-24 14:04:41 +02:00
kovacsv
9405aff3dd Make mesh visibility options available from context menu #102 2021-07-24 13:49:22 +02:00
kovacsv
79e344187d Use arrow callback instead of function. 2021-07-22 21:20:50 +02:00
kovacsv
fb81e4ff5a Rename importer to engine. 2021-07-22 21:18:37 +02:00
kovacsv
1c2dab2e5e Show material type in sidebar. 2021-07-21 20:57:47 +02:00
kovacsv
7b33f773ed Remove examples file. 2021-07-20 20:18:05 +02:00
kovacsv
108448fe85 Export metallic and roughness factor only if no metallic roughness texture is present. 2021-07-19 20:17:05 +02:00
kovacsv
3f30909b2e Use Physically Based Rendering when possible #99 2021-07-19 19:31:12 +02:00
kovacsv
46644d47c3 Use Physically Based Rendering when possible #99 2021-07-19 17:44:43 +02:00
kovacsv
265da7548d Modify source structure. 2021-07-15 20:58:50 +02:00
kovacsv
ec4bc495a2 Add reset to defaults button to settings panel. 2021-07-13 06:42:30 +02:00
kovacsv
3a03b3c1e7 Remove default color from sharing link. 2021-07-12 11:00:57 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
kovacsv
f2589dc2a1 Use eslint instead of jshint. 2021-07-12 07:32:53 +02:00
kovacsv
8874c88222 Add todos. 2021-07-11 19:08:14 +02:00
kovacsv
b063321a5b Rename url parameters for default and background color. 2021-07-11 15:44:22 +02:00
kovacsv
d32dc8485a Replace default material without reloading the model. 2021-07-11 11:15:52 +02:00
kovacsv
f6f5a4c00d Changing default color. 2021-07-11 10:36:43 +02:00
kovacsv
303a2d182c Add background color switch to the settings panel. 2021-07-11 09:59:26 +02:00
kovacsv
475d1d00ad Highlight the button of the selected sidebar panel. 2021-07-11 08:57:18 +02:00
kovacsv
f85eebfb3f Init sidebar panels from the website code. 2021-07-10 18:48:59 +02:00
kovacsv
6be8d8f8f3 Fix lgtm error. 2021-07-10 13:44:25 +02:00
kovacsv
840f48b237 Add dummy settings sidebar panel. 2021-07-10 13:35:18 +02:00
kovacsv
5eaffa347e Preparation for multiple side bar panels. 2021-07-10 13:17:34 +02:00
kovacsv
8832ddb916 Preparation for multiple side bar panels. 2021-07-10 13:00:59 +02:00
kovacsv
561a520e89 Update preview image. 2021-07-02 18:01:13 +02:00
kovacsv
e28df4f8a8 Remove IFC from UI. 2021-07-02 12:38:29 +02:00
kovacsv
4001ba2e2e Property handling. 2021-07-02 12:02:53 +02:00
kovacsv
d2a25abf97 Add ifc to file lists. 2021-07-01 18:25:30 +02:00
kovacsv
cc66895499 Merge branch 'dev' into ifcimporter 2021-06-27 00:03:43 +02:00
kovacsv
87edf31524 Handle boolean property type on sidebar. 2021-06-27 00:03:27 +02:00
kovacsv
8669e1301f Merge branch 'dev' into ifcimporter 2021-06-27 00:00:48 +02:00
kovacsv
f16416d536 Ellipsis in case of long property group names. 2021-06-26 23:59:47 +02:00
kovacsv
5d76010284 Merge branch 'dev' into ifcimporter 2021-06-26 23:54:09 +02:00
kovacsv
93f85738cb Organize properties in groups. 2021-06-26 23:53:08 +02:00
kovacsv
2b38556eff Change canvas background color #85 2021-06-25 08:41:34 +02:00
kovacsv
9942b9429d Color cookie handling. 2021-06-24 20:02:56 +02:00
kovacsv
f5960b141f Store default color as cookie. 2021-06-24 19:45:39 +02:00
kovacsv
3645e07c0d Settings dialog refactor. 2021-06-24 18:13:49 +02:00
kovacsv
477dcbe1cd Merge branch 'dev' into ifcimporter 2021-06-22 12:01:39 +02:00
kovacsv
6e2e1a2109 Remove unnecessary resize during load. 2021-06-20 19:40:53 +02:00
kovacsv
89796d2971 Read meta data from glTF. 2021-06-20 18:40:50 +02:00
kovacsv
48c0532c9b Update example image. 2021-06-20 16:16:44 +02:00
kovacsv
b18850267c Calculate Volume and Surface Area #72 2021-06-20 16:07:16 +02:00
kovacsv
248aaa1545 Compress svg files. 2021-06-20 15:46:25 +02:00
kovacsv
e8ba400a3b Modifications for test. 2021-06-20 15:37:53 +02:00
kovacsv
12706c7f6a Add material color preview. 2021-06-20 15:03:25 +02:00
Agnes Gaschitz
eb55ec80a0 Merge branch 'sidebar' of https://github.com/kovacsv/Online3DViewer into sidebar 2021-06-20 11:42:25 +02:00
Agnes Gaschitz
0bc4ee9fee Modified Close Icon 2021-06-20 11:42:15 +02:00
kovacsv
05d0e65ce7 Add texture maps. 2021-06-20 11:38:34 +02:00
Agnes Gaschitz
fc7415f262 Merge branch 'sidebar' of https://github.com/kovacsv/Online3DViewer into sidebar 2021-06-20 11:34:59 +02:00
Agnes Gaschitz
07e1b0ca54 Modify/Add Icons
Details Blue.svg
Close.svg
2021-06-20 11:34:47 +02:00
kovacsv
ea77b98642 Add basic information to the sidebar. 2021-06-20 11:31:39 +02:00
Agnes Gaschitz
d6db051ac6 Update close.svg
Update Close Icon
2021-06-20 11:25:55 +02:00
kovacsv
b0080a9d49 Fix missing semicolon. 2021-06-20 10:54:28 +02:00
kovacsv
d5157017c2 Add sidebar close button. 2021-06-20 10:53:24 +02:00
kovacsv
376a949ba9 Add close icon. 2021-06-20 10:45:05 +02:00
kovacsv
b0a5388c12 Store sidebar visibility status. 2021-06-20 10:44:18 +02:00
kovacsv
e61aabd77c Add details button. 2021-06-20 09:55:46 +02:00
kovacsv
25d209b00f Add dummy properties to the sidebar. 2021-06-20 09:30:40 +02:00
kovacsv
b96eaf9570 Simplify navigator code. 2021-06-20 08:26:52 +02:00
kovacsv
50d733eba3 Add side bar skeleton. 2021-06-19 23:18:15 +02:00
kovacsv
7b8cdb79a6 Remove information from navigator info panel. 2021-06-19 22:50:46 +02:00
kovacsv
730e7d96fa Add cookie consent dialog. 2021-06-18 20:19:04 +02:00
kovacsv
93f0658e40 Cookie dialog with standard dialog style. 2021-06-18 13:33:10 +02:00
kovacsv
1fd57bcbc2 Add cookie handler class. 2021-06-17 15:18:55 +02:00
kovacsv
4df8d25236 Add experimental importer for ifc. 2021-06-12 19:49:26 +02:00
kovacsv
094189ce4f Delay load rhino3dm so it will be loaded only if it's needed. 2021-06-12 17:58:58 +02:00
Viktor Kovacs
cca1b44096 Rename menu to navigator. 2021-06-10 07:38:15 +02:00
Viktor Kovacs
eb1d7d7759 Update three.js to the latest version #76 2021-06-05 12:48:20 +02:00
Viktor Kovacs
c7ef690933 All materials render black on some mobile devices #69
Let's detect the wrong devices, and set precision to mediump only if needed.
2021-06-05 09:01:24 +02:00
Viktor Kovacs
ff46ecc7d2 Rename files. 2021-06-03 21:53:40 +02:00
Viktor Kovacs
3d17a697dc Update image in readme. 2021-05-31 16:35:35 +02:00
Viktor Kovacs
09dfc09422 Add start page image. 2021-05-29 14:19:41 +02:00
Viktor Kovacs
51fb5ddd36 Update social media preview. 2021-05-29 14:12:28 +02:00
Viktor Kovacs
ba41ada99e Feature toggle for quantity calculation. 2021-05-29 09:23:49 +02:00
Viktor Kovacs
a3d283f613 Add o3dv file format for testing purposes. 2021-05-27 20:20:00 +02:00
Viktor Kovacs
0394d60581 Add quaternion class. 2021-05-24 09:19:44 +02:00
Viktor Kovacs
2815c27a32 Add cuboid generator. 2021-05-23 18:05:53 +02:00
Viktor Kovacs
21fe0267b7 Calculate Volume and Surface Area #72 2021-05-21 16:29:30 +02:00
Viktor Kovacs
7d74e68c4e Remove unnecessary callback. 2021-05-21 10:02:12 +02:00
Viktor Kovacs
5184fe9346 Move material and triangle to a separate file. 2021-05-21 09:38:09 +02:00
Viktor Kovacs
55072f6d6d Base class for model and mesh so they can be handled similarly. 2021-05-21 09:29:44 +02:00
Viktor Kovacs
921c2a9040 Remove unnecessary callback from info panel calculation. 2021-05-20 14:59:25 +02:00
Viktor Kovacs
7c5a1d263b Move feature set to a separate file. 2021-05-20 14:24:07 +02:00
Viktor Kovacs
a39de09715 Add base enumerator class so meshes and models can be handled in the same way for calculations. 2021-05-20 10:07:37 +02:00
Viktor Kovacs
e05d6c7fdb Add right arrow to info panel buttons. 2021-05-20 09:15:23 +02:00
Viktor Kovacs
b53785b596 Update manual. 2021-05-19 17:30:16 +02:00
Viktor Kovacs
e873f9cd4e Add experimental dialog for quantities. 2021-05-18 17:06:48 +02:00
Viktor Kovacs
bdef08756a Code for surface area and volume calculation. 2021-05-17 16:05:52 +02:00
Viktor Kovacs
2343351279 Higher resolution favicon #71 2021-05-15 20:22:21 +02:00
Viktor Kovacs
f02b660b23 Add topology calculator. 2021-05-15 19:23:14 +02:00
Viktor Kovacs
371044bf67 Move exporter utils content to model utils. 2021-05-15 11:47:43 +02:00
Viktor Kovacs
0fb6649ab9 Update includes. 2021-05-15 11:42:38 +02:00
Viktor Kovacs
59ebed95bc Fix includes (submitted wrong includes accidentally). 2021-05-11 17:37:03 +02:00
Viktor Kovacs
7fa6e9de92 Fix include updater script. 2021-05-09 15:46:58 +02:00
Viktor Kovacs
bea9152103 Focus text area automatically when showing the open url dialog. 2021-04-30 08:35:25 +02:00
Viktor Kovacs
72e45a8030 Separate class to store geometry. 2021-04-30 07:49:36 +02:00
Viktor Kovacs
0d329ea37b Add Rhino exporter. 2021-04-25 18:01:52 +02:00
Viktor Kovacs
1bc47cfa08 Aynchronous export. 2021-04-25 16:03:17 +02:00
Viktor Kovacs
ba0d642512
Revert "Add optional edge displaying and settings" 2021-04-25 15:19:17 +02:00
X-Ryl669
8a5782b8ec Add optional edge displaying and settings 2021-04-23 17:55:35 +02:00
Viktor Kovacs
068e7d1f40 Rhino importer #53 2021-04-18 21:18:19 +02:00
Viktor Kovacs
c8ef63d175 Update includes. 2021-04-15 20:23:20 +02:00
Viktor Kovacs
a99730a95f Copy sharing url. 2021-04-14 19:51:20 +02:00
Viktor Kovacs
e9305ba33c Export as png #39 2021-04-11 12:24:41 +02:00
Viktor Kovacs
31b4935ac1 Redesign export dialog. Single files are downloaded immediately, multiple files are listed for download. 2021-04-11 10:17:16 +02:00
Viktor Kovacs
3607ab3649 Always use texture buffer instead of url in case of export. 2021-04-09 08:25:00 +02:00
Viktor Kovacs
efbd5a08a2 Add dummy settings icon. 2021-04-07 15:09:04 +02:00
Viktor Kovacs
6fbbdf4b69 Make a parameter from default color instead of the a member in importer. 2021-04-07 15:07:12 +02:00
Viktor Kovacs
a3b17a8d0c Move common modal dialog classes to modal.js. 2021-04-05 12:26:28 +02:00
Viktor Kovacs
8a29a6c682 Default color handling (switched off). 2021-04-05 12:22:59 +02:00
Viktor Kovacs
ca4e0ef1d4 Default color handling during embedding and engine usage. 2021-04-05 10:20:26 +02:00
Viktor Kovacs
2992cc91de Option to embed camera position during embedding link creation #46 2021-04-04 12:50:46 +02:00