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

"bounding_radius" and mesh_to_voxels()for an unit sphere normalized mesh #17

Open
anilesec opened this issue Sep 30, 2020 · 0 comments
Open

Comments

@anilesec
Copy link

anilesec commented Sep 30, 2020

Dear Authors,

I have few questions :

  1. I have a mesh which is already normalized to the unit sphere(mesh normalized by dividing the vertices with unit cube opposite corners diagonal distance, which is basically diameter(constant 50cm) of a circle). Now, I am trying to use

    • sample_sdf_near_surface(mesh). To get points and sdfs correctly, I have to comment out(disable) code mesh = scale_to_unit_sphere(mesh) because the input mesh is already normalized to unit sphere.
      Is my understanding correct? or is there any other things that I have to take care after commenting out mesh scaling line of code??
    • similarly, I run mesh_to_voxels(mesh, 64) to get voxels with sdf values by commenting out mesh = scale_to_unit_sphere(mesh) line of code.
      Could you please confirm if I am using this code right?
  2. while sampling points for creating voxels in function get_raster_points(), grid points are sampled between -1 and 1 range. This means that we are sampling points that lie outside the unit sphere, right?

  3. bounding_radius is this the radius of circle that encloses mesh(what is the purpose of this)?
    I am asking this question becuase, I used water tight mesh to generate voxels and then reconstruct mesh using mcubes(like in example script). But I observed unnecessary reconstructions.

Looking forward to hearing your opinion on this.

Thank you for nice library.

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

1 participant