Text rendering example (that uses canvas as texture)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- computer-graphics, web-dev
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.2k
- Forks
- 357
- Merge medio
- 18 h 40 min
- PR fusionados (30 d)
- 1
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de webgpu/webgpu-samples
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
webgpu/webgpu-samples#571 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
webgpu/webgpu-samples#564 · 2 comentarios ·
-
Make an Export to X option Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
webgpu/webgpu-samples#560 ·
-
Consider removing codemirror Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
webgpu/webgpu-samples#559 · 3 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
webgpu/webgpu-samples#542 · 9 comentarios ·
Todos los issues de webgpu/webgpu-samples
Issues similares
-
blocklist removal
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
pastelsky/bundlephobia#1122 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100