MichaelBluetooth / MichaelBluetooth/ifc-transparency-test
Transparency Oddities
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
After reducing the code to the smallest I could I'm seeing something a tad different.
On initial load:

When I toggle transparency, the elements in the `everything_else` subset get set to transparent, but the wireframed elements are not transparent and turn a different color.

If you look in `ifc.service.ts`, I'm trying to:
1. Get all the express ids in the model
2. Get all the ids of stuff I want to wireframe (declared in `wireframe-elements.ts`)
3. Create a subset of wireframe elements
4. Create a subset of everything else
I'm not sure if this is the underlying problem, but one thing I noticed when debugging using the `/src/app/assets/simple.ifc` file is that my `getIdsFromSubset()` seems to return a different set of IDs than `getWireframeElements()`. I'd expect that the ids in tue wireframe set would exist in the "all" ids collection, so maybe I'm not finding all ids correctly?

Contributor guide
No contributing guide indexed for this repository
Research direction
Start in ifc.service.ts and wireframe-elements.ts, using /src/app/assets/simple.ifc to compare the IDs returned by getIdsFromSubset() and getWireframeElements(). Trace how those IDs form the wireframe and everything_else subsets, then verify the transparency result against the two screenshots. Done means the intended wireframed elements and remaining elements receive the expected transparency behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100