NKSR
NKSR copied to clipboard
Questions about meshing
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
_CudaIndexGridwith voxel size equal to the voxel size atdepth = 0 - Populate the grid with the previously stored
dmc_vertices - Create the new
dmc_graphusingmeshing.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!