Commit Graph

2679 Commits

Author SHA1 Message Date
AlexandruPopovici 632ad53152 Added World to the API. Can be used to check world dimensions and offsets. Cleaned up and added some comment in Viewer. After removing the reference to a lot of issues arose. The frontend and preview-service seems to use it extensively. Changed the calls referencing the interactions to the ones in the API where it was aplicable, and commented out with a note added for the ones that were not aplicable. We proably need to expose a generic way to manipulate the camera from the API 2022-08-24 18:24:43 +03:00
AlexandruPopovici 25c74556d0 Sandbox uses official viewer API exclusively. Added ViewerEvent for any events that the viewer emits and updated the references everywhere 2022-08-24 16:42:11 +03:00
AlexandruPopovici 7a09ee7dfa Integration updates 2022-08-23 16:49:57 +03:00
AlexandruPopovici 0e00cb67bf Fixed conflicts 2022-08-23 15:57:22 +03:00
AlexandruPopovici c4202291c6 Added IViewer complete API. Starting working on sandbox to make use of it exclusively 2022-08-23 15:29:07 +03:00
AlexandruPopovici 1a0fc5556b Added dynamic line threshold calculation based on an emipirical model. Extened three's Raycaster class so we can have more controls on raycasting 2022-08-23 13:58:12 +03:00
Dimitrie Stefanescu f224fb8376 feat(viewer/frontend): object(s) highlights from the model explorer 2022-08-23 11:45:14 +03:00
Dimitrie Stefanescu 2cd2be113c feat(viewer): cleanups 2022-08-23 10:53:20 +03:00
Dimitrie Stefanescu ec606003f9 feat(viewer): more... integration work 2022-08-23 10:52:11 +03:00
Dimitrie Stefanescu 422a80eaf3 feat(viewer): integration 2022-08-23 10:18:57 +03:00
Dimitrie Stefanescu f49d86046a feat(viewer): integration 2022-08-23 09:28:28 +03:00
Dimitrie Stefanescu e5fe470044 feat(viewer): proper filter resetting for colors 2022-08-23 08:20:49 +03:00
Dimitrie Stefanescu 6e7c55c2d5 feat(viewer): WIP filtering refactor & type-ification 2022-08-22 22:03:37 +03:00
Dimitrie Stefanescu 46985c1e81 Merge branch 'viewer-redux-integration' into dim/viewer-redux 2022-08-22 18:46:54 +03:00
Dimitrie Stefanescu e5a790b02b feat(viewer): WIP filtering cleanup 2022-08-22 18:44:12 +03:00
AlexandruPopovici 5eb4f2e2e6 Implemented DataTree and associated types for exposure in the viewer API 2022-08-22 15:38:08 +03:00
AlexandruPopovici ad780eeb07 Fixed typo 2022-08-22 11:56:01 +03:00
AlexandruPopovici fa86b92a16 All mesh filter materials respect wether the original material is transparent and keep it transparent 2022-08-19 22:44:19 +03:00
AlexandruPopovici f62db64674 Added SpeckleGhostMaterial which is a simplified version. No IBL and no shadowmap sampling since it's not needed. Also no direct lighting 2022-08-19 19:04:28 +03:00
AlexandruPopovici 076014ed6d Fixed an issue with RTL and world matrix. We were concatenating the mul incorrectly with the world matrix on the CPU in the update loop. The shadow matrix has a transformation which rescales the range from -1,1 to 0,1 and this transformation was messing the world transform. Added the world transform multiplication inside the shader before multiplying with the shadow view matrix 2022-08-18 20:44:11 +03:00
AlexandruPopovici d029c3dd32 Added message showing how much time it took to load the objects. LOAD, not DOWNLOAD 2022-08-18 18:21:42 +03:00
AlexandruPopovici 0dd8c58529 Added the possibility to set the default sun light properties at runtime via LightConfiguration. Added a working example into sandbox 2022-08-18 18:17:14 +03:00
Dimitrie Stefanescu 9f488993a9 feat(frontend): resource isolation/visibility toggle 2022-08-18 09:57:20 +03:00
AlexandruPopovici d3163bff2f Fixed the issue where you could select objects clipped by thesection planes 2022-08-17 15:32:54 +03:00
AlexandruPopovici 0f5a95e80d Fixed an issue with transparent materials and 0 opacity. Added roughnss and metalness as legit material properties 2022-08-17 15:06:51 +03:00
AlexandruPopovici a892643a4a Merge branch 'dim/viewer-redux' into viewer-redux-integration 2022-08-17 14:43:39 +03:00
Dimitrie Stefanescu 8e3499e5f0 Merge pull request #937 from specklesystems/select-fix
Fixed the issue with selected objects going invisible
2022-08-17 11:17:11 +01:00
AlexandruPopovici 05e73d9c17 Fixed the issue with selected objects going invisible 2022-08-17 13:11:49 +03:00
Dimitrie Stefanescu eccf0a9186 chore(frontend/viewer): fixes some eslint errors 2022-08-17 09:51:46 +03:00
Dimitrie Stefanescu c64fc2cd4c feat(viewer): filtering manager types (wip) 2022-08-17 09:38:38 +03:00
Dimitrie Stefanescu 1e414e0634 feat(frontend): object isolation + code revamp 2022-08-17 09:38:08 +03:00
Dimitrie Stefanescu 95fe9d4777 feat(frontend): deselection on + others 2022-08-17 08:42:34 +03:00
Dimitrie Stefanescu 04446b78a4 feat(frontend): add new comment location <> viewer 2022-08-17 08:35:12 +03:00
Dimitrie Stefanescu 00a86f9bf3 feat(viewer): new selection implementation 2022-08-17 08:27:32 +03:00
Dimitrie Stefanescu cc16887657 feat(viewer): WIP new selection implementation 2022-08-17 07:51:29 +03:00
AlexandruPopovici eb87ef8509 Another husky test 2022-08-16 17:38:29 +03:00
AlexandruPopovici 2b4b898f73 Merge branch 'main' into viewer-redux-integration 2022-08-16 17:37:47 +03:00
AlexandruPopovici 17a018559f Test husky 2022-08-16 17:35:27 +03:00
AlexandruPopovici 8a5611434a Forgot to add the RTL uniforms to the colored material 2022-08-16 17:02:05 +03:00
Iain Sproat 49fdd818ce docs(helm chart): values.yaml is documented and json.schema provided (#932)
* docs(helm chart): values.yaml is documented and json.schema provided

Helm Chart values.yaml file is documented with inline comments.  These have been used to generate a
README (in the helm repo) and a values.json.schema file.

fixes https://github.com/specklesystems/speckle-server/issues/887
fixes https://github.com/specklesystems/speckle-server/issues/867
2022-08-16 14:41:34 +01:00
Gergő Jedlicska 259e8ec829 fix formatting caused by accepting changes on the github UI 2022-08-16 14:59:25 +02:00
AlexandruPopovici 813cd51788 Fixed conflicts, fixed an issue with updating materials for RTL 2022-08-16 15:49:30 +03:00
Gergő Jedlicska 43596e4509 refactor(server authz): refactor authz module to TypeScript (#907)
* refactor(server authz): refactor authz module to TypeScript

* improved roles types

* Update packages/server/modules/shared/errors/base.ts

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>

* refactor(server authz): fix PR comments

Co-authored-by: Fabians <fabis94@live.com>
2022-08-16 14:45:13 +02:00
Fabians 09564e6473 made viewer not reactive 2022-08-16 14:20:33 +03:00
Dimitrie Stefanescu d53fe6b930 WIP: debugging commit for fabians 2022-08-16 13:21:00 +03:00
Dimitrie Stefanescu 39cc8ac382 feat(viewer): viewer intergration 2022-08-16 11:36:34 +03:00
Dimitrie Stefanescu c88488c326 feat(viewer): integration work (very WIP) 2022-08-16 11:36:11 +03:00
Dimitrie Stefanescu ec91f36cfc feat(viewer): integration work (very WIP) 2022-08-16 10:30:54 +03:00
Dimitrie Stefanescu 1badaa9177 feat(viewer): integration work (very WIP) 2022-08-16 09:51:12 +03:00
Iain Sproat ca1a612a29 feat(helm chart): serviceAccounts are provided for each service (#922)
ServiceAccounts for each service do not mount service account token (which allows access to the
kubernetes API), and limit the secrets each user of the service account has access to.

Fixes https://github.com/specklesystems/speckle-server/issues/859
2022-08-15 16:24:34 +01:00