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 with arrow material is blurry #3491

Open
hpinkos opened this issue Jan 29, 2016 · 6 comments
Open

Polyline with arrow material is blurry #3491

hpinkos opened this issue Jan 29, 2016 · 6 comments

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Jan 29, 2016

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/sFOMs4XMJQk

It's particularly noticeable when the polyline has a large width:
image

var viewer = new Cesium.Viewer('cesiumContainer');

var purpleArrow = viewer.entities.add({
    name : 'Purple straight arrow at height',
    polyline : {
        positions : Cesium.Cartesian3.fromDegreesArrayHeights([-75, 43, 500000,
                                                               -125, 43, 500000]),
        width : 100,
        arcType : Cesium.ArcType.NONE,
        material : new Cesium.PolylineArrowMaterialProperty(Cesium.Color.PURPLE)
    }
});
@mramato
Copy link
Contributor

mramato commented Jan 29, 2016

This also has major issues at horoizon views. Look at it from the front and you'll see crazy zig-zagging and jumping around the atmosphere overlap.

@hpinkos
Copy link
Contributor Author

hpinkos commented Jan 29, 2016

BONUS: It'd be nice of the width parameter was used for the width of the polyline, not the width of the arrow head. And the arrow head should maintain a nice proportion. It doesn't look good all stretched out like this for a polyline with a large width.

Requested here: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/9rOaI3JGTAM

@klingerj
Copy link

klingerj commented Jun 9, 2017

Came across the issue that @mramato described by chance today, @emackey thought it was worth uploading a screenshot demonstrating the issue:
polylinebug
and here it is at a higher width:
polylinebugthick

@mccoy1
Copy link

mccoy1 commented Apr 22, 2020

This is an old issue, any traction on this?

@mramato
Copy link
Contributor

mramato commented Apr 23, 2020

@mccoy1 Good news/bad news.

Good: The artifacts/twistyness/jumping are all fixed by #8706 and #8727 which are in master now and will go out with the May 1st release. (Thanks again @kring!)

Bad: The blurriness on wide lines is still a problem for the arrow material.

@emackey Any idea on the blurriness? Since it's specific to the arrow material I'm assuming it's something specific to its shader?

@emackey
Copy link
Contributor

emackey commented Apr 23, 2020

Ah nerd-sniping me on this one eh? Back at ya: #8791 😄

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

Successfully merging a pull request may close this issue.

6 participants