Unexpected Shape Transparency
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 407
- PR merge metrics
- No merged PRs in 30d
Description
Great work! Exploring the potential to use zdog for data visualization applications. But experiencing an unexpected effect of transparency with the shapes rendered as shown in the screenshot.
```
let box = new Zdog.Box({
addTo: pointGrp,
translate: { x: long, y: lat, z: size },
rotate: { z: Math.PI / 8 },
width: 15,
height: 15,
depth: size*3,
stroke: false,
color: '#C25',
leftFace: color_left,
rightFace: color_left,
rearFace: '#ED0',
topFace: color_left,
bottomFace: color,
});
```

Any ideas why this may be happening?
Thanks!
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 screenshot using the provided Zdog.Box configuration, especially its face colors, dimensions, rotation, and depth. Trace how Zdog.Box renders those faces and compare the result with the expected opaque shapes. Done means the cause of the unexpected transparency is identified and the rendering behaves as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100