Skip to content

Show inline mesh thumbnail after reconstruction in GUI #10

Description

@nikolareljin

ID: KF-010

After reconstruction completes, the only way to verify the mesh
looks correct is to open an external Open3D window via the View tab. There is
no quick visual confirmation in the GUI itself.

Fix: in the View tab (and Pipeline tab step 3), after a mesh file is available,
render a thumbnail using Open3D offscreen rendering:
renderer = o3d.visualization.rendering.OffscreenRenderer(400, 300)
renderer.scene.add_geometry("mesh", mesh, material)
img = renderer.render_to_image()
Save as PNG bytes, display in a ttk.Label via tk.PhotoImage. Call this
automatically when the output mesh path changes and the file exists.

Files: src/kinect_forge/gui.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions