3D-Ansicht: neuer Darstellungsmodus "Schattiert mit Kanten" (BIM-Look)
Neuer RenderStyle::ShadedEdges in render3d: wie "shaded" (echte Bauteilfarben, beleuchtet), zusätzlich dunkle Modell-Kanten obenauf wie bei "hidden" — der typische Revit/ArchiCAD-Look, der bisher fehlte (nur reines Weiss+Kanten via "hidden" oder reine Bauteilfarben ohne Kanten via "shaded" waren möglich). Nutzt dieselbe tiefengebiaste Flächen-Pipeline wie "hidden", damit die Kanten sauber obenauf liegen (kein Z-Fighting). +6 Rust-Tests (--features render, 83/83 grün). Als neue Option "shaded-edges" in beiden Darstellungsart- Dropdowns der 3D-Oberleiste; Three.js-Fallback ignoriert den Wert graceful (fällt auf shaded zurück, bekommt bewusst keine neuen Features).
This commit is contained in:
@@ -84,6 +84,7 @@ export const de = {
|
||||
"display.style.color": "Farbig",
|
||||
"display.style.mono": "Schwarz-Weiss",
|
||||
"display.style.shaded": "Schattiert",
|
||||
"display.style.shadedEdges": "Schattiert mit Kanten",
|
||||
"display.style.white": "Weiss",
|
||||
"display.style.textured": "Texturiert",
|
||||
"display.style.wireframe": "Drahtgitter",
|
||||
|
||||
@@ -83,6 +83,7 @@ export const en: Record<TranslationKey, string> = {
|
||||
"display.style.color": "Color",
|
||||
"display.style.mono": "Black & white",
|
||||
"display.style.shaded": "Shaded",
|
||||
"display.style.shadedEdges": "Shaded with edges",
|
||||
"display.style.white": "White",
|
||||
"display.style.textured": "Textured",
|
||||
"display.style.wireframe": "Wireframe",
|
||||
|
||||
+7
-3
@@ -50,15 +50,17 @@ export type DetailLevel = "grob" | "mittel" | "fein";
|
||||
/**
|
||||
* Render-/Anzeigemodus der 3D-Ansicht: schattiert, einheitlich weiss (Clay-Look),
|
||||
* texturiert (echte PBR-Materialien je Bauteil), Drahtgitter, Verdeckte Kanten
|
||||
* (Hidden-Line). Wirkt nur in der Perspektive. Der Slot „section" (Schnitt-
|
||||
* schraffur, Welle B) ist bewusst freigelassen.
|
||||
* (Hidden-Line), Schattiert mit Kanten (typischer BIM-Look: Bauteilfarben +
|
||||
* Modell-Kanten obenauf). Wirkt nur in der Perspektive. Der Slot „section"
|
||||
* (Schnittschraffur, Welle B) ist bewusst freigelassen.
|
||||
*/
|
||||
export type RenderMode =
|
||||
| "shaded"
|
||||
| "white"
|
||||
| "textured"
|
||||
| "wireframe"
|
||||
| "hidden";
|
||||
| "hidden"
|
||||
| "shaded-edges";
|
||||
|
||||
/**
|
||||
* Kanonischer Blickwinkel der 3D-Ansicht (Vectorworks/DOSSIER-Stil). „front"/
|
||||
@@ -1591,6 +1593,7 @@ export function ViewRibbonTab({
|
||||
title={t("display.style.hint")}
|
||||
options={[
|
||||
{ value: "shaded", label: t("display.style.shaded") },
|
||||
{ value: "shaded-edges", label: t("display.style.shadedEdges") },
|
||||
{ value: "white", label: t("display.style.white") },
|
||||
{ value: "textured", label: t("display.style.textured") },
|
||||
{ value: "wireframe", label: t("display.style.wireframe") },
|
||||
@@ -1796,6 +1799,7 @@ export function Ribbon3dTab({
|
||||
title={t("display.style.hint")}
|
||||
options={[
|
||||
{ value: "shaded", label: t("display.style.shaded") },
|
||||
{ value: "shaded-edges", label: t("display.style.shadedEdges") },
|
||||
{ value: "white", label: t("display.style.white") },
|
||||
{ value: "textured", label: t("display.style.textured") },
|
||||
{ value: "wireframe", label: t("display.style.wireframe") },
|
||||
|
||||
Reference in New Issue
Block a user