From 1cb6a18df3f5789b0e4436876bba4430fd0b0f46 Mon Sep 17 00:00:00 2001 From: rondlh <77279634+rondlh@users.noreply.github.com> Date: Tue, 17 Feb 2026 09:07:40 +0800 Subject: [PATCH] Adjust farClipping to prevent clipping Adjust farClipping to prevent clipping --- .../bowlerstudio/threed/VirtualCameraMobileBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/threed/VirtualCameraMobileBase.java b/src/main/java/com/neuronrobotics/bowlerstudio/threed/VirtualCameraMobileBase.java index 7b698ff94..47a022769 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/threed/VirtualCameraMobileBase.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/threed/VirtualCameraMobileBase.java @@ -215,7 +215,7 @@ public void setZoomDepth(double zoomDepth) { this.zoomDepth = zoomDepth; // Dynamically adjust setFarClip to reduce Z-fighting - camera.setFarClip(Math.max(1500, -zoomDepth * 2)); + camera.setFarClip(Math.max(6000, -zoomDepth * 2)); zoomAffine.setTz(zoomDepth);