Text rendering example (that uses canvas as texture)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- typescript
- Domaine
- computer-graphics, web-dev
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 2.2k
- Forks
- 355
- Merge moyen
- 3 j 5 h
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de webgpu/webgpu-samples
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
webgpu/webgpu-samples#571 ·
-
uncaught exception - Canvas texture format `rgba16float` is not yet supportedPeut-être pris @lyonsno l’a pris il y a 137 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
webgpu/webgpu-samples#564 · 2 commentaires ·
-
Make an Export to X optionOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
webgpu/webgpu-samples#560 ·
-
Consider removing codemirrorOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
webgpu/webgpu-samples#559 · 3 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
webgpu/webgpu-samples#542 · 9 commentaires ·
Toutes les issues de webgpu/webgpu-samples
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
one-zero-eight/apply-bot#39 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
bigbluebutton/bbb-ui-components-react#108 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Les mainteneurs répondent en général sous 1 jour
-
high priority
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
CI-CMG/deep-sea-corals-exb#84 · 1 commentaire ·