threestudio-project / threestudio

A unified framework for 3D content generation.
Apache License 2.0
6.32k stars 480 forks source link

How to get finer implicit sdf? #286

Open Gaodzlearn opened 1 year ago

Gaodzlearn commented 1 year ago

I want to initialize the implicit SDF from an obj file, when the obj has rich details, the implicit SDF can't restore these details well, what adjustments do I need to make the SDF finer?

bennyguo commented 1 year ago

Hi! You can increase number of the optimization steps here: https://github.com/threestudio-project/threestudio/blob/8a51c37317b6f7cd74bb3cb24c975b56d0a96703/threestudio/models/geometry/implicit_sdf.py#L205-L218

and also increase the resolution of DMTet by setting system.geometry.isosurface_resolution. Note that you may need to install quartet and follow https://github.com/threestudio-project/threestudio/blob/main/load/tets/generate_tets.py to get tet grid with resolutions higher than 128.