Skip to content

Vertical lines disappear at certain camera angles #2493

Open
@joric

Description

@joric

maptalks's version and what browser you use?

maptalks-gl v0.105.4
chrome

Issue description

Vertical lines in GL are flat rectangles, that disappear at certain camera angles (sloped/horizontal lines affected too).
It looks especially bad when there are many lines, the whole map sections disappear.
They should be either line primitives (GL_LINES/GL_LINE_STRIP) or decals facing camera (billboards).

out.mp4

Please provide a reproduction URL (on any jsfiddle like site)

https://joric.github.io/stalker/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions