Fabians
1c7436e7ff
extra prefer-const & object-shorthand
2022-04-04 19:00:24 +03:00
Gergő Jedlicska
6ea3ff1e63
style(viewer): fix eslint errors
2022-03-30 10:07:40 +02:00
Gergő Jedlicska
569b4688fa
style(all): reformat with print width 88
2022-03-29 19:46:49 +02:00
Fabians
aa5e94d640
chore: reformatting everything with prettier
2022-03-29 17:12:31 +03:00
cristi8
ad1624ef37
viewer fixes
2022-01-17 13:22:59 +02:00
Cristian Balas
db2a91651c
update frontend package-lock, viewer fixes ( #499 )
2021-12-14 13:41:20 +02:00
Cristian Balas
1f378b9823
Viewer fixes ( #495 )
2021-12-13 18:06:09 +02:00
Dimitrie Stefanescu
18f0140465
fix(viewer/frontend): fixes aspect ratio refresh and camera NaN position on ze
...
this was a really fustrating debug session: because we're setting `display:none` on the renderer dom
element if the vue renderer comp is destroyed (to keep one instance alive always), this would
trigger the on window resize function. In turn, this would set the camera aspect ratio from a div
thats 0x0px. Needless to say, things would refuse to work thereafterwards and a full page refresh
would be needed to reinstantiate the renderer.
2021-11-23 23:23:24 +00:00
Dimitrie Stefanescu
c53789fd89
feat(viewer): latest changes with @cristi8's help on block selection (still WIP)
2021-11-16 18:33:39 +00:00
Dimitrie Stefanescu
2562094d58
feat(viewer): various fixes, fiddles
2021-11-14 11:13:23 +00:00
Dimitrie Stefanescu
235faf8c09
feat(viewer): adds ortho camera 🧊
2021-11-13 14:28:55 +00:00
Dimitrie Stefanescu
f34e89f564
feat(viewer): section box + more
2021-11-12 20:27:45 +00:00
cristi8
580039d1a0
wip viewer - optimizations
2021-10-31 19:00:31 +02:00
cristi8
0c305f9deb
wip viewer
2021-10-29 21:40:13 +03:00
cristi8
355301ae36
wip viewer
2021-10-29 11:05:38 +03:00
cristi8
38eca4dbdc
WIP viewer
2021-10-25 15:46:37 +03:00
Dimitrie Stefanescu
3a3fd7d963
refactor(viewer): linting yay
2021-07-05 09:11:44 +01:00
Dimitrie Stefanescu
a357e770f4
feat(viewer): added unit support for blocks & nested blocks
...
note: this is a bit of a wider change as extra scaling flags needed to be added to prevent it when
not needed - namely inside block instances, which get transformed anyway later; otherwise double
scaling would happen.
2021-05-20 20:08:43 +01:00
Dimitrie Stefanescu
921a82caee
style(viewer): cleanup
2021-05-20 17:56:39 +01:00
Dimitrie Stefanescu
90abe98986
feat(viewer): handles block object selection
2021-05-20 17:54:47 +01:00
Dimitrie Stefanescu
1729b0c583
feat(viewer): preliminary blocks & nested block support
2021-05-20 16:30:42 +01:00
Dimitrie Stefanescu
e0eba09d79
refactor(viewer): removes unused files & cleans up console logs
2021-05-13 18:51:43 +01:00
Dimitrie Stefanescu
1567c341ae
feat(viewer): adds pointcloud support
2021-05-13 18:48:47 +01:00
Dimitrie Stefanescu
3e95142a36
feat(viewer): adds support for 🌈 meshes
2021-05-10 22:15:05 +01:00
Dimitrie Stefanescu
b1f963451f
feat(viewer): adds handling for named views (partly closes #193 )
2021-05-10 17:15:44 +01:00
Dimitrie Stefanescu
c11630fc14
feat(viewer): adds several optional parameters to various functions
...
(1) post load function skipping; (2) zoom fit; (3) zoom transitions; (4) camera rotation;
2021-04-23 15:34:40 +01:00
Dimitrie Stefanescu
73dca8dc3a
refactor(viewer): cleanup
2021-02-21 22:02:22 +00:00
Dimitrie Stefanescu
399982c519
refactor(viewer): moved zoom methods to interactions class & refactored clipping planes assignment
2021-02-21 21:19:58 +00:00
Dimitrie Stefanescu
6abf2d7e14
feat(viewer): interaction methods for section boxes
2021-02-21 21:11:58 +00:00
Dimitrie Stefanescu
6fe560840e
feat(viewer): section box now 💯
2021-02-21 13:39:44 +00:00
Dimitrie Stefanescu
db2a3f01f6
feat(viewer): intermeidate step
2021-02-20 23:05:54 +00:00
Dimitrie Stefanescu
70bbc43acb
fix(viewer): near/far correctly set on zoom zoom
2021-02-19 11:28:02 +00:00
Dimitrie Stefanescu
6f365fad73
feat(viewer): changes camera controls; makes zooming smoother; fixes selection handling timeouts
2021-02-19 10:36:22 +00:00
NGimbal
e4b3510043
fix set from bbox bug
2021-02-10 23:18:19 -05:00
NGimbal
166af0956e
reverted to section planes in material rather than renderer
2021-02-10 21:52:37 -05:00
NGimbal
7572d03f61
show sectionBox toggle in interface
2021-02-10 18:19:09 -05:00
NGimbal
653e4c42ff
set by box
2021-02-06 16:27:19 -05:00
NGimbal
2cc074ed5a
properly oriented planes
2021-02-04 21:28:01 -05:00
Alan Rynne
bcadd9b9ef
chore(viewer): Refactor + improvement in arc/circle conversion
...
Fixed error in loading %
2021-01-26 12:16:34 +01:00
Alan Rynne
626546cc70
feat(viewer): Dealt with chunking in curve conversions
2021-01-26 11:33:53 +01:00
Alan Rynne
80610cc3b7
feat(viewer): Initial curve conversions
2021-01-25 14:54:59 +01:00
Dimitrie Stefanescu
9ec099ef0d
feat(viewer): adds small help menu to renderer component
2021-01-22 09:43:31 +00:00
Dimitrie Stefanescu
0269fec071
fix(viewer): cleans selection on scene disposal
2021-01-19 22:21:11 +00:00
Dimitrie Stefanescu
5428bab9f4
feat(viewer): adds loading convience method and improves selection behaviour
...
clicks on objects hidden by a section plane are no longer selecting it
2021-01-19 22:04:13 +00:00
Dimitrie Stefanescu
8de7162c18
fix(viewer): fixes loading of nested elems (e.g., windows in walls)
2021-01-17 23:23:03 +00:00
Dimitrie Stefanescu
f5db265c67
docs(viewer): comments for another day
2021-01-14 00:53:45 +02:00
Dimitrie Stefanescu
113b027f99
fix(viewer): double tap zoom to object made nicer; other minor improvements
2021-01-13 23:17:48 +02:00
Dimitrie Stefanescu
39f0e827a0
feat(viewer): double tapping ✅
2021-01-13 22:52:28 +02:00
Dimitrie Stefanescu
83234b9741
improvement(viewer): snaps rotation controls on clipping planes; hides unecessary axis controls
2021-01-13 22:08:12 +02:00
Dimitrie Stefanescu
35b2c4937b
improvement(viewer): better SSAO & disabling on rotations to maintain fps
2021-01-13 21:22:57 +02:00