AlexandruPopovici
71ce007a08
#746 . Added remaining material extensions and replaced them where required.
2022-05-24 12:08:28 +03:00
AlexandruPopovici
81a4de69b2
#746 . Figured out how to clamp the world space thick lines to any pixel value when they're screen size width becomes less than 1 pixel and they start to basically dissapear.
2022-05-20 15:57:57 +03:00
AlexandruPopovici
a3c7dcf408
#746 Implemented RTE for basic line materials (non thick)
2022-05-17 17:53:49 +03:00
AlexandruPopovici
742d83296e
#746 Added real time switching between thick and regular lines
2022-05-17 17:12:02 +03:00
AlexandruPopovici
832f537dc7
Added realtime switching between RTE and non-RTE rendering. The speckle materials now have conditional compiling regarding RTE implementation
2022-05-17 15:56:32 +03:00
AlexandruPopovici
e3cd5ae1f0
#746 A lot of changes to Geometry. Started integrating RTE with the viewer
2022-05-17 14:52:38 +03:00
AlexandruPopovici
5c639e595d
Reverted to old formatting.
2022-05-10 11:41:33 +03:00
AlexandruPopovici
060f7e5304
Worked on #746 . Added members to the public API (still based on the original viewer). Added sample hdri and enabled proper (well, as proper as three can do it...) IBL. Added controls to the sandbox UI
2022-05-09 23:01:20 +03:00
AlexandruPopovici
bba9516c68
Implemented correct mouse picking for the new lines
2022-05-03 15:12:16 +03:00
AlexandruPopovici
8e647b056b
Finished first draft of the new line rendering approach which supports variable line thickness.
2022-05-02 17:26:34 +03:00
AlexandruPopovici
180c0f0062
WIP on variable line thickness. The method included in three.js for thick lines has some issues, but it;s relatively easy to use. Will need to extend the thick lines;s material and see if I can fix the current issues withing it;s shaders
2022-04-30 17:42:35 +03:00
Alexandru Popovici
02eb9a8c41
Alex/lines #443 ( #721 )
...
* Fixed some issues with npm scripts on Windows systems
* Made the example script run the dev build with wtch in parralel with running a http server. Handled #443
* #443 . Added lineweigth to the rendered lines. However this will not work on most systems. More information about this in the issue
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Reverted the changes to the npm scripts
* Restored package.lock files from packages outside of viewer to their original state
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-27 17:24:37 +03:00
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