CesiumGS / CesiumGS/cesium

Point cloud with eye dome lighting disappears when resizing the window on Chrome

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

Description

Point clouds with eye dome lighting disappear as the window is being resized. I've seen this on Chrome Windows/Linux, but not Firefox Windows/Linux. There are no WebGL errors in the console for either browser.

Originally I thought https://github.com/CesiumGS/cesium/pull/9719 might have been responsible but then I want as far back as CesiumJS 1.50 and the bug was still there. I would be very surprised if this bug has existed for that long, so it might be a recent change in Chrome. I'm on Chrome 94.0.4606.61. @ptrgags if you're still on an old version could you try it out?

[Sandcastle](https://sandcastle.cesium.com/#c=bZNLbxMxEMe/yiinjRS8L+8jJa2owoFKRURtgcteHO+UDnjtyPYGBcR3x/soamlPa8/8Z37z8MbxzpD2sFWmb2F/gp019wx26NHCpVKoV7A1qu/2JOCzpiNaR/4EN2ZvPEkH12LP4FYKrUl/GxJcKvwudGsN3FkjpVEE4QofhUeCLRkprCJkjT4KC0fCnwF0Dhp/whYd9R37MtqiZiHH+9ZoL0ijbRYr+N1ogFCaDZZQ6ZFatGePgdJigHw1VrV3kyRarhr9Z/m20RPOk0KH/jlv+uTv7yZnNDJ6q/7lvTL6Bp3prUR2b0136YLsqo3SkmfpE8KcnR2GiY4DvX0QbRgLE96j7oUnowPb2x6nksZOmZOokR0sdeTDgB0TbRvNyZYvhVJ0aAULzmFSU7ktOk96BJw9601YH05C59EgA+A8SSvOWcl5yos85avJnmVFUqSMp0lVr9M0KbLZwYt1wbOE5RWvas7zfDAvR6exhGE3L6AfcOx6R14+3BilZnQRoGWV53VSJPm6KqqZ8CZhWVWWSZUWeZ2v67qcHSXL6jTUUlcFT5KkLh7R87wXq8XG+ZPCi0kP8I66g7F+2F7EWOyxO6jwJFy87+WPsBnp3BA6SDfx09BNS0eg9vyVRwdSCeeC575X6pZ+YbO42MRB/yJUmbHvT+EfUeI0yB7Si+vJyBjbxOH6eqQ3Ru2F/S/zXw)

![screen-resize](https://user-images.githubusercontent.com/915398/135723713-46785e23-6d17-4d2b-9ded-b59bc4248fd4.gif)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the linked Sandcastle example in Chrome while resizing the window, then compare the behavior with Firefox and without eye dome lighting. Trace the point-cloud rendering and resize path; done means the point cloud remains visible during and after resizing without WebGL errors.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.