huggingface / huggingface/gsplat.js
Webgl for SplatData Transformations
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 109
- Avg merge
- 16m
- Merged PRs (30d)
- 1
Description
Update [SplatData](https://github.com/huggingface/gsplat.js/blob/4933ddfecf1a859da473013e63b9d883e298cd15/src/splats/SplatData.ts#L44-L94) to utilize fragment shader to calculate the matrix transforms, scales, and rotations. Currently CPU bound and slow :(
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in src/splats/SplatData.ts at lines 44-94 and inspect how matrix transforms, scales, and rotations are currently calculated on the CPU. Determine how the fragment-shader path should receive and process these values. Done means SplatData uses the shader for these transformations and no longer relies on the slow CPU-bound calculations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100