maptalks / maptalks/maptalks.biglayer

PointLayer渲染叠加的点时, 视觉上连成一团了, 与VectorLayer渲染结果相差太大

Open
#20 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
30
Forks
13
PR merge metrics
No merged PRs in 30d

Description

## Vector渲染结果:
![image](https://user-images.githubusercontent.com/4977975/28161039-946d778c-67f4-11e7-8adf-f307278d1440.png)

## Point渲染结果:
![image](https://user-images.githubusercontent.com/4977975/28161118-dadb5bf8-67f4-11e7-9894-3e194972c1df.png)

## Point渲染结果(改变blendFunc后)
![image](https://user-images.githubusercontent.com/4977975/28161244-59195a42-67f5-11e7-9701-ab3373dcab08.png)

`gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)`
与Vector仍然有差距, 不过已经有层次感了.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the PointLayer and VectorLayer rendering paths, focusing on how overlapping points are composited. Reproduce the visual difference shown in the issue, then compare it with the reported gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA) result. Done means PointLayer overlaps have visual layering comparable to VectorLayer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.