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

question: how to generate the output mesh instead of point clouds #5

Open
codesavory opened this issue Jul 23, 2021 · 1 comment
Open

Comments

@codesavory
Copy link

Hi, Thank you for your amazing work. I have a couple of questions -

  1. when running python main.py --config configs/config_demo.yaml - generate a bunch of ply files which are point clouds, can any parameter be changed in the config file or in the code to get a bunch of mesh files?
  2. trying to generate mesh using - python render/o3d_render_pcl.py --model_name SCALE_demo_00000_simuskirt and modifying to mesh = o3d.io.read_triangle_mesh(fn) using an idea from this issue #4 generate a warning message - [Open3D WARNING] geometry::TriangleMesh appears to be a geometry::PointCloud (only contains vertices, but no triangles) and generates empty white images.

Can you kindly help generate meshes instead of point clouds from your pipeline.

@qianlim
Copy link
Owner

qianlim commented Jul 28, 2021

The SCALE model is a point-based model; the output from the code is always a point set. To get a mesh, you can run mesh reconstruction algorithms such as Poisson Surface Reconstruction, on the output point set. This can be done in e.g. Meshlab.

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