[Bug] Render issue when translucent "IconLayer" is billboarded
Open
Nobody has claimed this yet.
FAQ
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
Expected Behavior
Transparency should be mixed when viewed from all angles.
Steps to Reproduce
image :
iconAtlas: icon_atlas,
iconMapping: icon_mapping,
getIcon: (d) => {
let size = d.properties.cluster ? d.properties.point_count : 1
if (!visible || size < 2) {
return d.properties.iconType ? d.properties.iconType : 'disable'
}
switch (true) {
case size < 10:
return `marker-${size}`
case size < 100:
return `marker-${Math.floor(size / 10)}0`
case size < 1000:
return `marker-${Math.floor(size / 100)}00`
case size < 10000:
return `marker-${Math.floor(size / 1000)}000`
default:
return `marker-10000`
}
},
Environment
- Framework version: deckgl 8.8
- Browser: chrome
- OS: mac m1
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the billboarded translucent IconLayer case in deck.gl 8.8 using the supplied iconAtlas, iconMapping, and getIcon example. Inspect the IconLayer rendering path for transparency behavior and verify the result in Chrome on macOS; done means transparency is mixed consistently from all viewing angles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100