Text rendering example (that uses canvas as texture)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- computer-graphics, web-dev
Direzione di ricerca
Start by reading the linked WebGL Fundamentals text-glyphs example and decide whether the deliverable is the basic canvas-to-texture sample or the more complex glyph-atlas string rendering. Done means a working WebGPU text-rendering example that clearly matches the selected scope.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This may be a bit much to ask (in which case no worries, I totally understand), but I figure I'll ask anyways; I think it would be quite useful to have an example of rendering text, specifically one that first renders the text to a canvas and then renders that with WebGPU via a texture.
A more complicated but also perhaps more useful example would render some chars to a canvas, create a texture from it, and then use that texture to construct various strings on-the-fly by sampling from different parts of the texture for each letter. (Note that a WebGL version of this is described in https://webglfundamentals.org/webgl/lessons/webgl-text-glyphs.html, which might be helpful.)
I'm happy to help with the implementation of this if wanted and as I'm able, but unfortunately I think my knowledge is too lacking in both WebGPU and graphics programming in general to do the full PR myself.
- Lingua principale
- TypeScript
- Stelle
- 2.2k
- Fork
- 357
- Merge medio
- 18h 40m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di webgpu/webgpu-samples
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
webgpu/webgpu-samples#571 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
webgpu/webgpu-samples#564 · 2 commenti ·
-
Make an Export to X option Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
webgpu/webgpu-samples#560 ·
-
Consider removing codemirror Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
webgpu/webgpu-samples#559 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
webgpu/webgpu-samples#542 · 9 commenti ·
Tutte le issue di webgpu/webgpu-samples
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100