CesiumGS / CesiumGS/cesium

Infinite scroll: buggy culling of primitive to the west of the IDL

Open
#10,484 4 comments 0 reactions 0 assignees View on GitHub
category - 2d / columbus view category - graphics type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

In infinite scroll mode of 2D scene, primitives would be culled to the west of the International Date Line (180° longitude).

Sandcastle example:
https://sandcastle.cesium.com/#c=tVPfa9swEP5XDj85YGQ77TbI0rDiwjbYWKGwl7oPinx1xWTJnOQUb+R/n2RHI03DXsaMhE9333c/PsvCaOtgJ/EZCa5A4zNUaOXQse+TL60TMZ0rox2XGqlOMvhVa4CO919Ng8ubFZRZcFiBGoNrBcta7xfva11rMRVoZfky+0c0HToaP/so1wLTKSVAe/CvjsG3Ro2t0ZETsQD9HPgkkTiJp7OsP8E0siAiKk7OW1xfsEcy3Q22hGivifiY3l8UGVz6Hd5v/S7fHRuXxcMi5ltks7WPBneO5HbwuVcQexVGGXrRXxU8pzpcR2pa+krzOhTaHzSNii7/QdFKklD4WlD/BR36Nv8qUDopsCziuADEGzn4Yd8U4flPahTTOlWj1vPlZdPtYz3JTjq5Q8t406TH+pAZdHMb4/PM7UlB3+K9v6tZkPchVAglkixZWzcq3MR5P8iuN+RgIJUyljvsesX9gPl2ED/QMWFtIAboOj+mrhu5A9lcnfmrQChurY88DkrdyZ9YJ5t17vGvqMp4uXX7bYek+BhgT+Xmy+xkjK1zfzzPdMaoLaeTzL8B

Browser:
Firefox Developer Edition 101.0b6
Safari 15.4, WebKit 16614.1.9.7

Operating System:
MacOS 11.6.2

EDIT:
updated example.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked Sandcastle example in infinite scroll mode, focusing on the 2D scene near 180° longitude in Firefox or Safari. Trace the primitive culling behavior around the International Date Line. Done means primitives west of the IDL remain visible when they should be rendered.

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.