Commit 22e52221 authored by Dario Seyb's avatar Dario Seyb

basic display_file

parent 3b49882a
......@@ -14,3 +14,10 @@ def display_openmesh(mesh):
meshRenderer = Renderer(camera=cam, background='black', background_opacity=1, scene=meshScene, controls=[obc] )
display(meshRenderer)
def display_file(path):
m = om.TriMesh()
om.read_mesh(m, path)
display_openmesh(m)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment