SuGaR icon indicating copy to clipboard operation
SuGaR copied to clipboard

To our great author(s): about refine-mesh speed up

Open yuedajiong opened this issue 2 years ago • 2 comments

I found that the 'SHAPE' quality by coarse-train is very good (good-enough), I guess we can do 'TEXTURE' optimization by 'mesh fit by diff-rast-render'. (It is very fast), like this: https://pytorch3d.org/tutorials/fit_textured_mesh I conduct many experiments in this direction, with a bit of intuition, although I haven't actually conducted experiments.

train: 00000 ~ 07000: GS(l=L1+ssim) (by GS, fast) for ... prune_points_by_opacity reset_neighbors 07000 ~ 09000: entropy-loss: binary-opacity (slow, but faster step #3) 09000 ~ 15000: opacity<0.5, then SuGaR-regularization: flatten-gauss-point and align gauss-points to surface (very slow)

coarse: image

refine: image

yuedajiong avatar Dec 22 '23 14:12 yuedajiong

Hello @yuedajiong,

Sure, there are certainly other good ways to refine a traditional UV texture of the mesh! With SuGaR, the goal of the refinement is not only to smooth the mesh/provide a texture but also to build a hybrid representation Mesh+3D Gaussians.

Concerning the refinement time, the default setting in our code is "long" (15k iterations), which takes up to a full hour: it produces the best metrics, but makes the optimization much longer. However, selecting the "short" refinement setting (2k iterations) already provides very good-looking hybrid representations, and only lasts a few minutes! So currently, I think the most straightforward way to speed up refinement is to reduce the number of iterations, as it still provides a good performance/rendering quality.

Anttwo avatar Dec 26 '23 13:12 Anttwo

got it, thanks.

yuedajiong avatar Jan 01 '24 07:01 yuedajiong