CesiumGS / CesiumGS/cesium

Tileset Highlighting Distortion (M1 hardware on iOS 12)

Open
#9,907 7 comments 0 reactions 0 assignees View on GitHub
category - 3d tiles category - graphics category - mac/ios type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Highlights on 3D Tiles appear distorted when running CesiumJS on a MacBook with an M1 chip. This issue occurs when the M1 MacBook is running iOS 12 and does ***not*** occur when it is running iOS 11.
![image](https://user-images.githubusercontent.com/39531367/139697795-579fec2e-fe87-43c9-9fae-292a6997006b.png)
We ran a [WebGL report](https://webglreport.com/) on Google Chrome using two devices:
- M1 MacBook running iOS 12 (3D Tiles highlights issue is visible)
- Intel MacBook running iOS 11 (no issue with 3D Tiles highlights)

The differences between the two WebGL reports are:
- WEBGL_video_texture is on the M1 Pro and not the Intel
- Max Varying Vectors
- Max Vertex Output Components
- Different values on Aliased Point Size Range
- Different values on Max Samples in Framebuffer

These differences in supported extensions do not seem relevant to the tileset highlighting issue. Thus, it is likely a "deeper" issue with our specification.

Sandcastle example:
https://sandcastle.cesium.com/?src=Classification.html
Browser:
Chrome
Operating System:
M1 MacBook Pro (OS12)

cc @lilleyse @ebogo1

Contributor guide

Open the contributing guide

Research direction

Start with the Classification.html Sandcastle example in Chrome on an M1 MacBook running OS 12 and reproduce the distorted 3D Tiles highlights. Compare the result with the reported OS 11 behavior and the linked WebGL reports, then determine the rendering cause and verify that highlighting is no longer distorted on the affected configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.