Resource Manager: Materialien-Tab mit PBR-Kugel-Vorschau, Suche und Kategorie-Chips

Geteilter Offscreen-three.js-Renderer (ein Kontext, serielle Queue, Cache
per Map-Signatur) rendert 128px-Kugeln lazy via IntersectionObserver.
Kategorie-Chips aus der Bibliothek abgeleitet, uneinheitliche Manifest-
Schreibweisen normalisiert; Suche und Kategorie kombinierbar. Kachel-Klick
markiert aktiv (gleiche Sprache wie MaterialPicker). Puppeteer-Probe
scripts/probe-material-tiles.mjs prüft Grid, Lazy-Render und Filter.
This commit is contained in:
2026-07-03 02:04:33 +02:00
parent a010584d9b
commit 7ca5197b6b
6 changed files with 597 additions and 1 deletions
+10
View File
@@ -430,6 +430,16 @@ export const en: Record<TranslationKey, string> = {
"resources.tab.components": "Components",
"resources.tab.hatches": "Hatches",
"resources.tab.lines": "Lines",
"resources.tab.materials": "Materials",
"resources.materials.hint":
"Sphere preview of the built-in PBR material library — browse and compare. Assign to a component still via its “Material …” column.",
"resources.materials.searchPlaceholder": "Search materials …",
"resources.materials.categoryLabel": "Category",
"resources.materials.categoryAll": "All",
"resources.materials.selected": "Selected: {name} ({category})",
"resources.materials.empty": "No materials found.",
"resources.materials.count": "{shown} of {total} materials",
"resources.add": "New",
"resources.import.lin": "⤓ Import .lin",
"resources.import.pat": "⤓ Import .pat",