-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: backport selected improvements and fixes to 3.2.x release bran…
…ch (#2635) * chore: add workflow that deploys to NPM on Github release (#2586) * test: initial dry run publish * chore: trigger release on released published * fix: remove caching on release workflow Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com> * fix: expose and fix bug causing getBoundingBoxByNodeId/TreeIndex not to modify out parameter (#2472) * refact: keyboard and mouse event handling in viewer (#2492) * Intermediate commit * Removed isFocused check in keyboard handling * Keyboard active only which domElement is focused, mouse events are active when canvas is focused * Refactored axisview eventlistener * Reverted axisview event passed to domElement * updated examples yarn.lock * clean up * leftover clean up * Keyboard event listen on domElement, removed unnecessary event push to domElement from Axis cross * removed unused variables * clean up * Fixed visual test error Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com> * fixed point cloud picking precision issue (#2508) Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com> * improvement: use 'high-performance' powerPreference to avoid non-discrete GPU being used on certain systems (#2512) * feat: add metrics to MeasurementTool (#2523) * chore: backport to old file structure * fix: remove flat modifier, while maintaining TreeIndex precision (#2536) Contribution by @Strepto (Equinor) * fix: do not blend in-front and back frame buffers when back objects have not been rendered (#2540) Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com> * fix: visualization artifacts due to wrongfully handling cylinder clip planes (#2556) * fix: simplify shader * fix: set proper plane length * fix: reduce some matrix transformations, and use built-in face-forward * fix: plane magnitude not adjusting for scaled world transform * fix: bad merge * chore: revert CDF environments json * chore: add primitive test fixture Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com> * improvement: make CadModelUpdateHandler trigger sector loading immediately after the camera stops moving (#2573) * Make CadModelUpdateHandler trigger sector loading immediately after the camera stops moving * Remove setting of redraw flag * Update test * Fix test Co-authored-by: Christopher J. Tannum <[email protected]> * Use vec2 instead of struct for packing TreeIndexes (#2585) This works around an issue with struct precision on ardeno gpus: KhronosGroup/WebGL#3351 * fix: general cylinder inside rendering (#2620) * fix: rendering if camera is inside primitive * fix: reverse normal direction if hitting inside of cylinder * fix: enable depth writing for in-front pass (#2621) * Enable depth writing for in-front pass * Set depth to minimum of in-front and back pass Co-authored-by: Christopher J. Tannum <[email protected]> * fix: remove unused pcMaterialManager from bad merge * fix: re-create v8 test image due to cylinder clipping planes fix Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Lars Moastuen <[email protected]> Co-authored-by: Pramod S <[email protected]> Co-authored-by: Nils Henrik Hals <[email protected]> Co-authored-by: eiriklegernaes <[email protected]> Co-authored-by: Håkon Flatval <[email protected]>
- Loading branch information
1 parent
710c61e
commit f3b5a9d
Showing
68 changed files
with
576 additions
and
295 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"version":9,"projectId":123,"modelId":456,"revisionId":789,"subRevisionId":999,"maxTreeIndex":76,"sectors":[{"id":0,"sectorFileName":"0.glb","path":"0/","depth":0,"boundingBox":{"min":{"x":-1.3934096876224187,"y":-1,"z":-1.788780573085674},"max":{"x":28.29323544313644,"y":25.458996612973937,"z":1.6256651949082248}},"estimatedTriangleCount":11632,"estimatedDrawCallCount":17,"minDiagonalLength":2,"maxDiagonalLength":2.8284270763397217,"downloadSize":27928}]} | ||
{"version":9,"projectId":123,"modelId":456,"revisionId":789,"subRevisionId":999,"maxTreeIndex":76,"sectors":[{"id":0,"sectorFileName":"0.glb","path":"0/","depth":0,"boundingBox":{"min":{"x":-1.3934096876224187,"y":-1,"z":-1.788780573085674},"max":{"x":28.29323544313644,"y":25.458996612973937,"z":1.6256651949082248}},"geometryBoundingBox":{"min":{"x":-1.3934096876224187,"y":-1,"z":-1.788780573085674},"max":{"x":28.29323544313644,"y":25.458996612973937,"z":1.6256651949082248}},"estimatedTriangleCount":11632,"estimatedDrawCallCount":17,"minDiagonalLength":2,"maxDiagonalLength":2.8284270763397217,"downloadSize":27928}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.6 KB
(100%)
viewer/packages/api/visual-tests/__image_snapshots__/Outline.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+524 Bytes
(100%)
.../packages/api/visual-tests/__image_snapshots__/ReassignNodeStyle.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.42 KB
(100%)
viewer/packages/api/visual-tests/__image_snapshots__/TwoModels.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
viewer/packages/cad-geometry-loaders/src/utilities/rxOperations.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.5 KB
(100%)
viewer/packages/cad-model/visual-tests/__image_snapshots__/Rotation.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.15 KB
(110%)
viewer/packages/cad-model/visual-tests/__image_snapshots__/Scale.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+863 Bytes
(100%)
...s/cad-styling/visual-tests/__image_snapshots__/CustomWithStyling.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.92 KB
(100%)
...cad-styling/visual-tests/__image_snapshots__/CustomWithStylingV8.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.58 KB
(100%)
...ackages/cad-styling/visual-tests/__image_snapshots__/Highlighted.VisualTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.