NKSR icon indicating copy to clipboard operation
NKSR copied to clipboard

Questions about meshing

Open hungdche opened this issue 2 years ago • 0 comments

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!

hungdche avatar Oct 01 '23 17:10 hungdche