AlexandruPopovici
f2fdf545b7
Added automatic loader selection based on file extension. Changed the default environment in the sandbox
2022-05-25 12:29:39 +03:00
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
1599970f22
#746 Made the new thick lines work with RTE
2022-05-19 13:05:34 +03:00
AlexandruPopovici
1eb44d00d9
Updated three.js version to 140. Thick lin raycasting now properly works in world space and also the threshold in world space is now accurate.
2022-05-18 11:53:50 +03:00
AlexandruPopovici
e574623a43
#746 Fixed an issue with RTE and basic line geometry. Group transforms were not baked into the high and low attributes. Now they work correctly
2022-05-17 22:42:06 +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
b0a138fa6e
#746 Delete original geometry data after merging
2022-05-13 11:37:37 +03:00
AlexandruPopovici
27a5814d52
#746 . More or less finished with refactoring the converter. There is now an intermediary layer between the speckle data parsing and actual three.js geometry. There is also an intermediary data type being passed around the converter and the geometry handler
2022-05-12 19:41:02 +03:00
AlexandruPopovici
8877720c5a
#746 . Continued working on the converter. Added an intermediary layer between the converted and the scene object loader. Added the concept of GeometryData, and implemented it for some of the speckle types.
2022-05-11 18:12:04 +03:00
AlexandruPopovici
a8a0a0de38
#746 . Converter is not typescript'd. Also added a few smaller changes. Next we need an intermediary layer between the converter and the viewer object loader
2022-05-10 18:46:14 +03:00
AlexandruPopovici
0074a784e6
Restored IViewer
2022-05-10 14:18:53 +03:00
Fabians
d765489d37
Merge branch 'alex/viewer-redux' of github.com:specklesystems/speckle-server into alex/viewer-redux
2022-05-10 11:54:33 +03:00
Fabians
a47e226a0c
Fixing TS config for viewer
2022-05-10 11:51:12 +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
2eb7545129
Merged line-thickness
2022-05-09 14:19:07 +03:00
AlexandruPopovici
0f1fafa8bc
Started working on moving towards typescript inside the viewer. Made rollup compile a mix of ts and js files (will need to be reviewd soon). Added a public interface for the Viewer and also the Viewer is now typescript and implements the public API
2022-05-09 14:00:41 +03:00
AlexandruPopovici
bba9516c68
Implemented correct mouse picking for the new lines
2022-05-03 15:12:16 +03:00
AlexandruPopovici
dbe5941ae6
Fixed conflicts
2022-05-02 17:53:29 +03:00
Alexandru Popovici
753b38abb4
Alex/#723#711 patch ( #737 )
...
* Handled #711 . New arc converter for viewer. Original issues fixed, still needs more testing
* #711 . Added some documenting comments
* Working on parsing the displayValue when no direct conversion exists. Seems to working now. Justs need some additional info
* Worked on #723
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Prioritized 'displayValue' over 'displayMesh' properties when fetching displayValue data as per Claire's suggestion. Removed the builint lineWidth assignment since it will only add confusion and it's also incorrect
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-02 17:50:42 +03:00
Alexandru Popovici
47fadee3c3
Alex/#723#711 ( #733 )
...
* Handled #711 . New arc converter for viewer. Original issues fixed, still needs more testing
* #711 . Added some documenting comments
* Working on parsing the displayValue when no direct conversion exists. Seems to working now. Justs need some additional info
* Worked on #723
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-02 17:40:22 +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
luz paz
1e28b368fd
Fix source typo (bug?)
2022-04-15 13:50:30 -04:00
Fabians
4699e6794c
reformatting again for 88 width
2022-04-04 19:21:28 +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
Gergő Jedlicska
bec96dbf28
Merge branch 'main' into dim/bubbles
2022-03-16 15:56:23 +01:00
Gergő Jedlicska
eea8ef0380
Merge branch 'main' into dim/bubbles
2022-03-16 15:54:46 +01:00
Kristaps Fabians Geikins
8010bf3c4c
feat: Standardized & cleaned up formatting & linting across repo #617 ( #618 )
...
* feat: Standardized & cleaned up formatting & linting across repo
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems >
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2022-03-16 10:10:30 +02:00
JR-Morgan
154b8c3533
Fixed issue with brep displayValues expecting single value
...
Fixed issue with detatched cruve displayValue
2022-02-24 15:10:40 +00:00
Dimitrie Stefanescu
7c7035ac6d
feat(viewer): adds a zoom to object id function
...
see relevant discussion here:
https://speckle.community/t/camera-positioning-in-speckle-viewer/2394/10
2022-02-23 19:01:28 +00:00
Dimitrie Stefanescu
d0157a4b41
Merge branch 'main' into dim/bubbles
2022-02-08 12:15:43 +00:00
Dimitrie Stefanescu
43f422c30e
feat(viewer): extra overlay capabilities + better selection logic (fixes dupe selection)
2022-02-08 12:13:07 +00:00
Cristian Balas
4091cfa3a3
fix handling groups with null colorBy ( #585 )
2022-02-08 13:33:42 +02:00
Cristian Balas
699fb99810
[Viewer] Allow using original material with colorBy ( #584 )
2022-02-08 13:08:36 +02:00
Dimitrie Stefanescu
8dc6cc790b
feat(viewer): adds extra selection info & get section box method
2022-02-06 19:56:58 +00:00
Dimitrie Stefanescu
48a6c0f69c
feat(frontend): syncs selection, updates logic to include selection target in pos
2022-02-06 18:42:56 +00:00
Dimitrie Stefanescu
8792319545
feat(frontend): more bubbles legwork
2022-02-05 10:49:11 +00:00
JR-Morgan
524eea295a
Fixed issue with n-gon trianguation causing UInt16 face index buffers to be used
2022-01-25 22:19:41 +00:00
Dimitrie Stefanescu
40dc8aa35e
hotfix quad triangulation
2022-01-25 18:38:11 +00:00
Dimitrie Stefanescu
bf8c878e6e
feat(frontend): wIP store implementation for hiding/isolating objects
...
TODOs: category, numeric, etc. + more checks
2022-01-18 21:00:48 +00:00
Dimitrie Stefanescu
ac465cfc92
feat(frontend/viewer): @cristi8's parents fix
2022-01-18 12:32:16 +00:00