metafizzy / metafizzy/zdog

Unexpected Shape Transparency

Open
#82 1 comment 0 reactions 0 assignees View on GitHub

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,
});
```

zdog-map

Any ideas why this may be happening?

Thanks!

Contributor guide

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.