Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is possible to see only the preprocessed mesh? #25

Closed
fire opened this issue Sep 1, 2023 · 5 comments
Closed

Is possible to see only the preprocessed mesh? #25

fire opened this issue Sep 1, 2023 · 5 comments

Comments

@fire
Copy link
Contributor

fire commented Sep 1, 2023

Hi,

Do you know what settings allows me to see the preprocessed mesh without the CoACD algorithm generation?

Wanted to debug the preprocessor.

@fire fire changed the title Is possible to see only the processed mesh? Is possible to see only the preprocessed mesh? Sep 1, 2023
@SarahWeiii
Copy link
Owner

Currently the Python library does not have this feature. You can modify the C++ code (main.cpp) and save the mesh after preprocess.

@fire
Copy link
Contributor Author

fire commented Sep 30, 2023

Would you like any syntax for it in the command line?

@SarahWeiii
Copy link
Owner

Do you need it in Python package or in C++?

@fire
Copy link
Contributor Author

fire commented Oct 5, 2023

I would prefer c++ as I wanted to use it in a command line tool called by Godot Engine. Any python code would be removed.

Remember the problem space being very difficult.

  1. openvdb is used to force the geometric shape to be manifold
  2. CoACD's is then applied

@SarahWeiii
Copy link
Owner

SarahWeiii commented Oct 8, 2023

I added a command in C++ code (main.cpp) for saving preprocessed mesh, you can use -ro or --remesh-output to designate the output path. It saves the mesh after preprocessing and normalization to [-1,1] (if disabling the preprocess, it outputs the normalized mesh).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants