wjakob / instant-meshes

Interactive field-aligned mesh generator
Other
5.15k stars 590 forks source link

Calling your remesher from an external program and relevant APIs #111

Open lukkio88 opened 4 years ago

lukkio88 commented 4 years ago

Hi, I need to use your remesher from an external program. I have two questions:

  1. What are the relevant APIs to the remeshing? (i.e. how do I structure a basic C++ program to do remeshing given an obj).
  2. Is it possible to call you remesher without the GUI?

Answer to both questions would be great.

huxingyi commented 4 years ago

Please check batch_process, it's the example to run without GUI, you can check which APIs are been called inside that function, https://github.com/wjakob/instant-meshes/blob/7b3160864a2e1025af498c84cfed91cbfb613698/src/batch.cpp#L25