Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering artefacts when drawing two close rectangle entities #11546

Open
ulrichson opened this issue Sep 26, 2023 · 2 comments
Open

Rendering artefacts when drawing two close rectangle entities #11546

ulrichson opened this issue Sep 26, 2023 · 2 comments

Comments

@ulrichson
Copy link

Hi!

When I add two rectangle entities that are close to each other, I see following render issue from certain camera angles:

Screenshot 2023-09-26 at 16 22 00

It seems that there is an invisible wall.

On the other hand, when there is no distance between the rectangles it works:

Screenshot 2023-09-26 at 16 23 14

Or am I missing something when creating the rectangles?


Sandcastle example: See here

Browser: Google Chrome Version 116.0.5845.187 (Official Build) (arm64)

(but happens in Safari too)

Operating System: macOS 13.6 (22G120)

@ggetz
Copy link
Contributor

ggetz commented Sep 29, 2023

Perhaps related to #11291...

We have a step to combine geometries into one where possible to reduce rendering overhead at runtime. I believe this accounts for why the issue does not occur when there is no gap between two geometries.

After a bit of testing on MacOS in Chrome, I'm not able to easily reproduce. Could you please visit webglreport.com and take a screenshot of your results?

@ggetz ggetz added the needs feedback On hold until additional info is supplied label Sep 29, 2023
@ulrichson
Copy link
Author

@ggetz Thanks for the clarification!

Here's the WebGL report in Chrome:

Screenshot 2023-10-02 at 09 30 23
Screenshot 2023-10-02 at 09 31 19


Interestingly, after I upgraded to macOS Sonoma 14.0 with Safari Version 17.0 (19616.1.27.211.1) recently it works normal in Safari. For comparison, here's Safari's report:

Screenshot 2023-10-02 at 09 31 42
Screenshot 2023-10-02 at 09 31 51

@ggetz ggetz added category - polygons/geometry type - bug and removed needs feedback On hold until additional info is supplied labels Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants