patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

How to save mesh as ply file? #320

Closed leiBill closed 3 years ago

leiBill commented 3 years ago

image As you can see from above pcitures..... How to change it to a .ply file ?I want save the created face model in my local computer! Thank you!

patrikhuber commented 3 years ago

You can use eos.core.write_obj(...). If you want a .ply, you can convert it using MeshLab or Blender, or better, use trimesh/pymesh to save the contents of mesh directly in the format that you want.

If you need further help, such questions are best posted on the StackExchange network, as these are not "issues" with eos.

leiBill commented 3 years ago

You are really a nice man! Thank you for your help very much.