From d8f475fb4f5abcb2ecf75cac77417ab0f2f7471b Mon Sep 17 00:00:00 2001 From: Dario Seyb Date: Wed, 31 Jan 2018 12:48:06 +0100 Subject: [PATCH] Update README.rst --- README.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 9f0fa69..add521f 100644 --- a/README.rst +++ b/README.rst @@ -8,4 +8,19 @@ ## Dependencies - [pythreejs](https://github.com/jovyan/pythreejs/) 0.4.x -- [openmesh-python] (https://graphics.rwth-aachen.de:9000/adielen/openmesh-python) \ No newline at end of file +- [openmesh-python] (https://graphics.rwth-aachen.de:9000/adielen/openmesh-python) + +## Example + +``` +import meshvis + +m = om.TriMesh() +om.read_mesh(m, '/home/dseyb/git/openmesh-python/tests/TestFiles/cube-minimal-normals.ply') + +meshvis.display_openmesh(m) + + +meshvis.display_file('/home/dseyb/git/openmesh-python/tests/TestFiles/square_material_texture.obj') + +``` \ No newline at end of file -- GitLab