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

Questions about meshing #48

Open
hungdche opened this issue Oct 1, 2023 · 0 comments
Open

Questions about meshing #48

hungdche opened this issue Oct 1, 2023 · 0 comments

Comments

@hungdche
Copy link

hungdche commented Oct 1, 2023

Hi @heiwang1997, thanks for always getting back to me! I have a small questions regarding meshing: How to generate dmc_graph when given a dmc_vertices and dmc_values?

Say for example at the end of extract_dual_mesh, I save the dmc_vertices and dmc_values (without saving dmc_graph, and I want to generate a mesh. How should I do that? What I have tried:

  • Create a _CudaIndexGrid with voxel size equal to the voxel size at depth = 0
  • Populate the grid with the previously stored dmc_vertices
  • Create the new dmc_graph using meshing.dual_cube_graph

However, the size of the stored dmc_vertices and the new one (obtained from the _CudaIndexGrid) differ. Any help is much appreciated!

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