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

Clamped to ground arrow polyline renders a regular line between the first 2 positions #8017

Closed
lpww opened this issue Jul 19, 2019 · 2 comments · Fixed by #8024
Closed

Clamped to ground arrow polyline renders a regular line between the first 2 positions #8017

lpww opened this issue Jul 19, 2019 · 2 comments · Fixed by #8024

Comments

@lpww
Copy link

lpww commented Jul 19, 2019

Hey!

I'm running into an issue with arrow polylines that are clamped to the ground. The first 2 points do not show an arrow between, just a regular line. This line is the expected width in pixels. The remaining positions do have an arrow but with an unexpectedly small line.

A workaround could be to add heights to your Cartesians. It doesn't work well for my use case but could help others.

It seems related to #7645 but the weird thing is that the example they have shows an arrow even between 2 points!

Sandcastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=ZZLbjtMwEIZfxQoX7UrBdQ4+hW4FqhA3i6hg4YZw4TZma+HYkeO026767jgH2LL4KjPzf/94PDkIBw5KHqUDt8DII1jLVnU1/Dbk5rPdEK6t8UIZ6WY3b0pTmkOgms41Wr5zzh4DOnpAabzySrZQVNX8qTQgHCNqCQow2wwAaL0T6mHvgRhQ4cFe9vEsHuWN1ScdegVkMuhPaXZWW1eAMnqVELGVWRnFz+WdFnVzbz8425mqAN51MlRr4aVTQhfXk20m/+HmHyfFxtlGOn+aT6J13wxuvn7e3L2/CU6NbcNc1rQF+P70WIDXKUWIpgnMc5bSjHEeg1NI5ylBmDKYIUIpQwmOwbkAGQsCnkGGGUk5peQSg78uJEV9ATGWZ8mVS9BzjjFOw9fkwhEKLTmmKGRpfu2CeQIpIjnHeXLlQkgKGclRnmZ59nwXlkCcI0wQyvjlR5jvqCq/L0CKpje9lOYyrXpc7Nna+t7OX6y5l0RxtGz9ScvViL5VdWOdB53TcwgXXtaNDq/cLrbd7pf0cNcO2HLxB1pW6gBUdVtGL362Mur32rah8rPT+os6yzJaLRdB/w+mraiUefh0kE6LUy/ZJ6u7MQkhXC5C+D/lrdVb4a4cfwM

Browser: firefox, chrome

Operating System: linux

@likangning93
Copy link
Contributor

Thanks @lpww! Here's what I'm seeing, also on Linux:

Screenshot_20190722_065918

We actually just happened to run into this on another project too. It seems to be related to how some WebGL implementations handle floating-point vertex attributes with a value of infinity. A fix should be available shortly.

@lpww
Copy link
Author

lpww commented Jul 22, 2019

That's great news! Thanks @likangning93 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants