Commit Graph

8470 Commits

Author SHA1 Message Date
andrewwallacespeckle 18f05d33f4 Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-31 16:45:19 +02:00
andrewwallacespeckle 3648d4881d Make versions sticky too 2025-07-31 16:45:00 +02:00
Mike Tasset ab0d91f355 Fixed measurements 2025-07-31 16:12:02 +02:00
andrewwallacespeckle 6b8dd89a1d Sticky headers 2025-07-31 16:00:11 +02:00
andrewwallacespeckle 6c24c545ed Adjust tooltip delays 2025-07-31 15:40:43 +02:00
andrewwallacespeckle b950baf418 Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-31 15:37:58 +02:00
andrewwallacespeckle 5d827cdbe5 Add shrink-0 to expand button 2025-07-31 15:37:35 +02:00
Mike Tasset 9f3c89fa75 Merge branch 'feature/initial-viewer-ui-updates' of github.com:specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-31 15:30:08 +02:00
andrewwallacespeckle 6f847308d5 Detached objects 2025-07-31 15:23:35 +02:00
Mike Tasset fd0ba9eb42 Hide actions on mobile 2025-07-31 15:23:33 +02:00
Mike Tasset 6aed5f08d5 Panel fixes 2025-07-31 15:06:04 +02:00
andrewwallacespeckle ad691c0082 All selection info objects gray out 2025-07-31 14:49:08 +02:00
andrewwallacespeckle 02273e8f27 Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-31 14:33:06 +02:00
andrewwallacespeckle 55cf8c555a VTippy work 2025-07-31 14:32:45 +02:00
Mike Tasset ee127aa7bf More tablet fixes 2025-07-31 12:58:33 +02:00
Mike Tasset e5513842e4 Updated tablet sidebar stylings 2025-07-31 12:47:25 +02:00
Mike Tasset 4e0c7340da Merge branch 'feature/initial-viewer-ui-updates' of github.com:specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-31 12:20:48 +02:00
Mike Tasset a79e2b6302 Fix mobile selection info 2025-07-31 12:19:44 +02:00
andrewwallacespeckle 820c1c0ae1 Merge branch 'main' into feature/initial-viewer-ui-updates 2025-07-31 11:31:34 +02:00
andrewwallacespeckle fec03e233c Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-31 11:31:29 +02:00
Mike Tasset fc9b2fadad Left sidebar width mobile 2025-07-31 11:24:32 +02:00
andrewwallacespeckle e27c38e857 Models panel changes 2025-07-31 11:23:01 +02:00
Mike Tasset 415c667383 Fix left sidebar 2025-07-31 11:21:03 +02:00
Mike Tasset 5b76beb034 Updated icon text color on dark mode 2025-07-31 11:16:10 +02:00
Alexandru Popovici aa17a48533 Better Support for Large Models (#5144)
* fix(viewer-lib): Transformed is no longer baked in if matrix is identity

* fix(viewer-lib): Do not use uint32 indices unless we have to

* fix(viewer-lib): Do not use Float64 array unless the batch needs RTE

* feat(viewer-lib): Update on reducing memory allocation during startup:
- Geometry data is now stored as separate DataChunks as they come
- Dechunking now no longer allocates memory. It just returns the DataChunk array
- Updated the SpeckleGeometryConverter to work with chunk arrays
- Updated Geometry and triangulation to work with chunk arrays
- All geometry type batches now work with chunk arrays instead of flattened arrays
- Chunks are tracked by use and deleted after all render views are done with them. The chunks also track their usage across different render views so they aren't deleted until all render views that use tham are finished with them
- In order to better support this new way of working with geometry data, VirtualArray and ChunkArray classes have been implemented. They make it easier to work with segmented data and offer a unified view on the array of array segments

* chore(viewer-lib): Denormalized normals to keep parity, even though they should be normalized

* feat(viewer-lib): Geometry transformation is now deferred until we build batches, and we transform the batched arrays leaving the original data chunks intact. Text and TextBatchObject now use the render view's 'transform' property to store it's final startup transformation and not 'bakeTransform' anymore

* fix(viewer-lib): Fixed the issues caused by chunking geometry to the acceleration structures.

* chore(viewer-lib): Made a pass on the entire viewer project and removed pointless typed array backing buffer re-allocations

* feat(viewer-lib): Updates on better large model support:
- Fixed an issue in LineBatach that broke building it
- Improved VirtualArray performance and added some extra functionality
- Already triangulated faces no longer allocate redundant memory, they get processed in place
- Moved triangulation to SpeckleConverter so that processed index chunks get stored in local storage so we don't have to re-triangulate each time

* feat(viewer-lib): Gave up on trying to cache triangulated indice. Too much hasle and edge cases to handle when only some chunks get saved as triangulated in a multi chunk setup

* fix(viewer-lib): Fixed non triangulted geometry converter return

* feat(viewer-lib): Glow-up to our triangulation implementation. Faster, zero allocation

* fix(viewer-lib): Frontfacing not backfacing triangles

* chore(viewer-lib): Fixed compile errors

* fix(viewer-lib): Already processed chunks just copy over

* fix(viewer-lib): Skip processed chunks when computing triangulation index size

* fix(viewer-lib): Some fixes:
- Fixed an issue where instances that will not be rendered as instanced geometry were not correctly transformed
- Removed geometry duplication from instances that were de-instanced in the batcher
- Fixed an issue with LineBatch and buffer type

* fix(viewer-lib): Implemented box3 bounds generation from ChunkArray which takes care to respect inter-chunk bounds for vec3. Without this, box3s were incorrectly calculated by computing a box3 for each chunk

* fix(viewer-lib): Fixed an issue where transformations that contain non-uniform scaling incorrectly produce node render views aabb values. So we recompute them based on the post-transform geometry when building batches

* fix(viewer-lib): When mixing triangles with ngons we also need to increment total tris count for the triangle case as well

* fix(viewer-lib): If geometry is invalid, clear it all

* fix(viewer-lib): Instanced rvs no longer transform their aabbs when building the render tree because they don't need to

* fix(viewer-lib): aabb for render views needs to be recomputed when de-instanced by the batcher
2025-07-31 12:10:10 +03:00
Mike Tasset afd5efb43b Update panel indexes 2025-07-31 11:03:17 +02:00
Mike Tasset 24af1b071b Update tooltips 2025-07-31 10:36:27 +02:00
Mike Tasset c24837c87e Various fixes 2025-07-31 10:30:21 +02:00
Mike Tasset 300c8ff315 Update icon aligment 2025-07-30 21:27:23 +02:00
Mike Tasset e383f9824e Various tweaks 2025-07-30 21:20:25 +02:00
Mike Tasset 31e3b47f40 Merge branch 'main' into feature/initial-viewer-ui-updates 2025-07-30 21:01:09 +02:00
Mike Tasset d2de27b992 Merge branch 'feature/initial-viewer-ui-updates' of github.com:specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-30 21:00:27 +02:00
Gergő Jedlicska 07fc2bf76d fix(ifc-importer): need to lock packages (#5170) 2025-07-30 20:17:02 +02:00
Gergő Jedlicska 174eef221d feat(helm): add the rhino file importer feature flag to the chart (#5166)
* feat(helm): add the rhino file importer feature flag to the chart

* fix(ifc-importer): make colorfull available in the app
2025-07-30 19:22:15 +02:00
andrewwallacespeckle 1884c883d1 Fix selection 2025-07-30 16:33:49 +02:00
Mike Tasset 52f4354a2f Align items in collaborators settings 2025-07-30 16:15:29 +02:00
andrewwallacespeckle 949de34719 Fix reactivity issues with set 2025-07-30 15:40:00 +02:00
andrewwallacespeckle edc99c2ff9 Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-30 15:31:19 +02:00
andrewwallacespeckle c5a03f69ce Scroll to selected item in models panel 2025-07-30 15:30:57 +02:00
Mike Tasset 4f7e813397 Updated selection info panel 2025-07-30 15:23:31 +02:00
Mike Tasset e46facf79f Fix: Update discussion settings 2025-07-30 14:55:04 +02:00
Mike Tasset 113e52615b Update discussions panel menu 2025-07-30 14:35:51 +02:00
Chuck Driesler e3d0c5aab3 fix(tests): soften flaky test (#5164)
* fix(tests): soften flaky test

* fix(tests): use different syntax
2025-07-30 13:04:59 +01:00
andrewwallacespeckle 1fdb3e82a6 Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-30 13:23:05 +02:00
andrewwallacespeckle 2d75f29121 Styling changes 2025-07-30 13:22:39 +02:00
Mike Tasset 0152bf85ac Update discussion settings 2025-07-30 12:50:00 +02:00
andrewwallacespeckle d920879918 Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates 2025-07-30 12:35:40 +02:00
andrewwallacespeckle c60c5c6367 Various tidyups 2025-07-30 12:35:24 +02:00
Benjamin Ottensten 4579ec7109 Feat: Support for undo/redo in section tool (#5161)
* Allow undoing rotations

* Allow redoing undos

* Improve how the very first rotation is stored

* Track the history of any section box edit

* Also update section outlines when undoing/redoing

* Increase how much history we store

* Start initial index at 0

* Rewrite some comments

* Use existing OBB class instead

* Get rid of fudge

* Only support undo/redo when section tool is visible

* Update naming
2025-07-30 11:56:25 +02:00
Mike Tasset f7224233dd Updated icon colors 2025-07-30 11:56:19 +02:00