From ef1cf647597cdb2879b5a14a80ccfbc8f4025c47 Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Tue, 2 May 2023 10:20:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(visplot=5Frender.py):=20ad?= =?UTF-8?q?d=20camera=20distance=20to=20improve=203D=20visualization=20The?= =?UTF-8?q?=20camera=20distance=20is=20set=20to=2010=20to=20improve=20the?= =?UTF-8?q?=203D=20visualization=20of=20the=20object.=20This=20change=20is?= =?UTF-8?q?=20purely=20cosmetic=20and=20does=20not=20affect=20the=20functi?= =?UTF-8?q?onality=20of=20the=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/graph3D/visplot_render.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/graph3D/visplot_render.py b/utils/graph3D/visplot_render.py index 72f8e1e..3575157 100644 --- a/utils/graph3D/visplot_render.py +++ b/utils/graph3D/visplot_render.py @@ -29,6 +29,7 @@ def render3D(obj:ScannedObject,show:bool=True)->scene.SceneCanvas|None: view = canvas.central_widget.add_view() view.camera = 'arcball' view.camera.depth_value = 1e3 + view.camera.distance = 10 color = (0.3, 0.5, 0.8) mesh = Mesh(vertices, faces, color=color) view.add(mesh)