CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.93k stars 3.48k forks source link

There are differences in line segment drawing between 2D and 3D perspectives #12102

Open jiegiser opened 3 months ago

jiegiser commented 3 months ago

What happened?

There are differences in line segment drawing between 2D and 3D perspectives: 2D: image

3D: image

Reproduction steps

The specific code is here: The specific code is here

Sandcastle example

https://sandcastle.cesium.com/#c=pZXbbts4EIZfhfCVA2RpnoYH1wkaBG2xwO626BZFi3pRKDLTCCtLBkUldQO/+44U6xBXvVrAgCGS83Hm/8lhWhZVJPeZf/CBXJDCP5BrX2X1ln5sx+brWdp+X5dFTLLCh/Xs7MW6WBdpG5kGn0T/xpdbH8MeCfMzcnFJHtcFIcHHOhRj5rsy3+cI6dbP23WE7MoqixkCl+TL0wghj+T7kvzGJWgnDWVWWcu00udkvyQgtBFcUwvNmJH8nPxYEikFl9JRbpx1WoDS5HA+hcNAIyRIAPecx6RkzgkQI56lGjR30mouJ3kaHLUcHJccU+l5XDIqAYkWlIEeCNZQB4xLIR2DaaA2tCnXKWBGDUClqDCGG2mkHXhaUIOlaqatmcQZA5QLiT9l9ZAflkqFsgZAqqFeITRu4pSTYKbrNYyjxKAlcI7KDPopTlmTtQEz4LAUo0FyqbCaaZxUFKel4iBH8jE0kmlMkDkYVWtQa1DSKMbFJE4JQBs15qbQsA6nMSuUSQgLmomRG4JRxxsFMMlJnnSWOswGmBJ2EE8YKjjm4Djvq2XOoHEgnOVM8EkvgDOK/jotmWSDdjiOaRhmuRGuz45ZNMMyYQ0eoEkcbk8BgAvWetg5YQTeF8AjLgdjgSsc5AqE0UxN06ykKBHngis2nDsBFv1GYzWo4aIB+oMox3EYfnHP0PsGa8AxM7pnjkqrmMYTJEf3TFG8mCiB0fqXuP/ZBf45/j9km3i3JOL4ee9D9N9fl2GbxOVpq7ou8zJc7XY+CUmRevrx1fsPrz59ff32/Z9XH1rAoemHhxddR9yFbIvN7N4/b6fvuuGnnvft2AF/x5CGi51vtPjNyWzXJ7uo5UnfnZ8dS0liDNlNHRveY6dh2pTQF9YWdLrBVRdHb0O5bZfMx+vp9eerv7pNDsey27+kl2Y51elP5OsKifhV5XXqC1Q8hto/Q1b7Ir0LZVHWWMZtklfN9GH87GxC8pAn+/bNenq8aIUwT3v1K5psNvMpAzCl3KfNczM/a5g9q43oAc3U7Hy2quI+95edli+z7a4MkdQhn1O6iH67y9GIanFTp//6SNOqagKbpavFOHS1ye5JtrmYeE9JmidVhTO3dZ7/nf3w69nlaoHrfwrNy2STFd/e4onFjJtld/zyj6dBSulqgZ/TkbEs85sknJD/Aw

Environment

Browser: Microsoft Edge 版本 126.0.2592.56 (正式版本) (64 位) CesiumJS Version: 1.119 Operating System: windows 10

ggetz commented 2 months ago

Hi @jiegiser. I cannot reproduce the problem on my machine.

I think the issue may have to do with hardware or drivers. Could you please visit webglreport.com and take a screenshot of your results?

jiegiser commented 2 months ago

您好。我无法在我的计算机上重现该问题。

我认为问题可能与硬件或驱动程序有关。您能否访问 webglreport.com 并截取您的结果屏幕截图?

Snipaste_2024-09-07_09-40-49 Snipaste_2024-09-07_09-41-05