ashawkey / stable-dreamfusion

Text-to-3D & Image-to-3D & Mesh Exportation with NeRF + Diffusion.
Apache License 2.0
8k stars 710 forks source link

A question about "NeRF to 3D Model" #129

Open QWTforGithub opened 1 year ago

QWTforGithub commented 1 year ago

Thank you very much for your the implementation of DreamFusion. I just started to learn NeRF. I have a question about "NeRF to 3D Model ". What is the principle of NeRF to 3D Model? Thanks, I have been very confused. I am a beginner of NeRF.

ashawkey commented 1 year ago

@QWTforGithub Hi, do you mean exporting nerf to 3D meshes? In that case we simply use marching cubes to extract the surface and bake the colors.

QWTforGithub commented 1 year ago

@QWTforGithub Hi, do you mean exporting nerf to 3D meshes? In that case we simply use marching cubes to extract the surface and bake the colors.

Thank you for your reply. I use NeRF to get the RGBs and Depths. How do I use them to create the 3D Mesh by marchimg cubes(which code in the case)? Sorry, I am not familiar with marching cubes.

ashawkey commented 1 year ago

You could simply use the --save_mesh option to export the mesh, but it usually looks worse then the nerf renderings.