equinor / esv-intersection

A reusable component to create intersection visualizations for wells
https://equinor.github.io/esv-intersection/storybook/latest
MIT License
12 stars 7 forks source link

The labels for Geomodel are not accurately shown on the left edge #787

Closed Jingyi-Joey closed 1 month ago

Jingyi-Joey commented 1 year ago

Describe the bug The display of surface labels works well under surface data with the same edges. (as shown in pic1). However, in some cases where the surface areas have different lengths (as shown in pic2), we have to drag the surfaces in order to reveal the various labels. This can make it challenging for users to see the labels, especially for complex surfaces. pic1: image pic2: Animation

Expected behavior I've noticed that this issue doesn't exist in "pozo1," which uses version 2.0.10 (as shown in pic3) , but it does occur in "pozo2," which uses version 3.0.10 and pixi.js. It is expected that labels can be displayed at the far left edge of each surface as before. image

Jingyi-Joey commented 1 month ago

have discovered that we need to define the layerOpacity for the geomodelLayer.