From ac813207904254e2b84ebecabeb5a3ba7df4ca46 Mon Sep 17 00:00:00 2001 From: paireks Date: Thu, 16 Jul 2026 15:47:38 +0200 Subject: [PATCH] XCD-505 Add example of manipulating canvas.resolutionScale --- viewer/canvasResolution.html | 64 ++++++++++++++++++++++++++++++++++++ viewer/index.html | 5 +++ 2 files changed, 69 insertions(+) create mode 100644 viewer/canvasResolution.html diff --git a/viewer/canvasResolution.html b/viewer/canvasResolution.html new file mode 100644 index 0000000..ed0e352 --- /dev/null +++ b/viewer/canvasResolution.html @@ -0,0 +1,64 @@ + + + + + + + xeokit Example + + + + + +
+

Sliders

+ +
+ + + diff --git a/viewer/index.html b/viewer/index.html index 5956cdd..28c0627 100644 --- a/viewer/index.html +++ b/viewer/index.html @@ -264,6 +264,11 @@ ["sao_ConferenceCenter", "Scalable Ambient Obscurrence - open right panel to play with parameters"] ], + "Canvas": [ + "#Canvas settings", + ["canvasResolution", "Control the canvas resolution scale to see the effect"] + ], + "Localization": [ "#Localizing xeokit components for different languages", ["localization_NavCubePlugin", "NavCubePlugin Localization"],