NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.81k stars 1.9k forks source link

Is mesh only way to save output of a NeRF? #1431

Open smandava98 opened 1 year ago

smandava98 commented 1 year ago

Hi. I am doing some research in 3D graphics and I am attempting to somehow save the output of a NeRF model as a point cloud or voxel grid. Is the .ply file the only possible output I can get from this? Is there a way to convert the .ply file?

Ideally, I have an output that is a colored point cloud of the 3D scene.

maomaocun commented 12 months ago

~/instant-ngp/scripts# python run.py --mode nerf --scene ../data/nerf/m --save_mesh ./saved/fox.ply --n_steps 100000 like this?

moonagic commented 2 weeks ago

~/instant-ngp/scripts# python run.py --mode nerf --scene ../data/nerf/m --save_mesh ./saved/fox.ply --n_steps 100000 like this?

However, the exported .ply file encounters errors when imported into Unreal Engine or PlayCanvas SuperSplat. I'm not sure if it's an issue with the compatibility of the .ply file structure or if the exported file is just ended with the .ply extension while actually containing different data.