NVIDIAGameWorks / kaolin-wisp

NVIDIA Kaolin Wisp is a PyTorch library powered by NVIDIA Kaolin Core to work with neural fields (including NeRFs, NGLOD, instant-ngp and VQAD).
Other
1.46k stars 132 forks source link

How to convert nerf model to mesh #17

Closed kevinhangoat closed 2 years ago

kevinhangoat commented 2 years ago

First, thank you so much for this library! I am wondering is there yet a function that can convert a trained nerf model to the mesh (like the one in instant-ngp)? I look into the code and could not find it.

tovacinni commented 2 years ago

Hi and thanks for your interest in our library!

We haven't implemented this but you should just be able to use a marching cubes implementation (like the one here: https://scikit-image.org/docs/stable/auto_examples/edges/plot_marching_cubes.html) to write a widget to export mesh by getting densities.

Caenorst commented 2 years ago

We currently have two solutions from Kaolin: