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

Polyline rendering is choppy/glitchy at extreme camera angles and when clamped to ground #7645

Open
carsnwd opened this issue Mar 13, 2019 · 8 comments

Comments

@carsnwd
Copy link

carsnwd commented Mar 13, 2019

Sandcastle example: Sandcastle Example
Browser: Chrome

Operating System: Windows 10

Description: It appears when clamping to ground a Polyline entity that has the arrow material, that the end of the arrow is glitching/choppy. It's more noticeable with larger width arrows. Check out the sandcastle above.

image

@carsnwd
Copy link
Author

carsnwd commented Mar 13, 2019

I posted a similar post on the cesium-dev forums thinking maybe this is just the incorrect way of doing polylines clamped to ground with arrows? https://groups.google.com/forum/#!topic/cesium-dev/piuyNi3F8Vc

Unsure if this is a known issue, or maybe any insight why this happens 🤔

@hpinkos
Copy link
Contributor

hpinkos commented Mar 13, 2019

Thanks for reporting this @carsnwd ! I don't think we've noticed this issue before. I'm not sure how soon we'll be able to look into it, but we'll give you an update once we have a fix.

@likangning93 this appears to only be for ground polylines

@carsnwd
Copy link
Author

carsnwd commented Mar 13, 2019

@hpinkos Thanks!

@OmarShehata
Copy link
Contributor

OmarShehata commented Apr 26, 2019

This seems to happen even for non clamped to ground polylines:

polyline

Although that might be a separate issue since this only happens when it's overlapping itself.

@nikitakogan
Copy link

nikitakogan commented Jun 16, 2022

2151m
13m
hi there .
is there any update regarding this issue? this mode is not clamped to ground its just 2D map.

@ggetz
Copy link
Contributor

ggetz commented Jun 16, 2022

@nikitakogan This may be a long shot, but you could try out #8793 as it changes the way the arrow material is rendered.

@nikitakogan
Copy link

@nikitakogan This may be a long shot, but you could try out #8793 as it changes the way the arrow material is rendered.
thanks but it didn't solve it . from what i saw its only affected 3D but not 2D.

@ggetz ggetz changed the title Polyline with Arrow Material clamped to ground, the arrow head is choppy/glitchy. Polyline rendering is choppy/glitchy at extreme camera angles and when clamped to ground Jan 13, 2025
@ggetz
Copy link
Contributor

ggetz commented Jan 13, 2025

Also reported in #12427:

When you create a polyline with a big number for the width, you can see that there is many polygon.
The problem is that at certain angle ( most of the time at the same angle of the line ), those polygon are making a mess, the rotation is not enough :

image

Sandcastle

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

No branches or pull requests

5 participants