Commit Graph

2690 Commits

Author SHA1 Message Date
Dimitrie Stefanescu f378d88c19 feat(viewer/frontend): extra integration legwork 2022-08-25 10:28:48 +03:00
Dimitrie Stefanescu ba5f249cef Merge branch 'viewer-redux-integration' into dim/viewer-redux 2022-08-25 09:33:10 +03:00
AlexandruPopovici 00fe016082 Added single entry point camera manipulation in the API. Defined the canonical, speckle and inline view types which can be used to set the camera. Removed the 'rotateTo' member as a bonus 2022-08-25 00:03:07 +03:00
Dimitrie Stefanescu 4901f53497 feat(viewer/frontend): sun/lights controls 2022-08-24 21:54:04 +03:00
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
Dimitrie Stefanescu 0e9ea3f740 feat(viewer/frontend): wip sun/lights controls 2022-08-24 12:16:12 +03:00
Dimitrie Stefanescu 506d4472f8 feat(viewer/frontend): wip numeric based filters 2022-08-24 11:10:41 +03:00
AlexandruPopovici 8344b75531 Fixed a texture issue 2022-08-24 09:36:27 +03:00
Dimitrie Stefanescu 6712e995f5 feat(viewer/frontend): wip numeric based filters 2022-08-24 09:07:24 +03:00
Dimitrie Stefanescu 523f265558 Merge branch 'viewer-redux-integration' into dim/viewer-redux 2022-08-23 18:04:46 +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 fbd9f6bc14 feat(viewer/frontend): string category filtering finishes 2022-08-23 12:35:51 +03:00
Dimitrie Stefanescu d699f96c55 feat(viewer/frontend): string category filtering wip 2022-08-23 12:26:27 +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