autonomousvision / gaussian-opacity-fields

[SIGGRAPH Asia'24 & TOG] Gaussian Opacity Fields: Efficient Adaptive Surface Reconstruction in Unbounded Scenes
https://niujinshuchong.github.io/gaussian-opacity-fields/
Other
683 stars 34 forks source link

How to render normals and depths #62

Closed xiaobiaodu closed 3 months ago

xiaobiaodu commented 3 months ago

Hi

Thanks for your excellent work! I am interested in how to render normals and depths. When I run 'python render.py', it does not output normal and depth maps. Could you please share how to do that?

houchenfeng commented 3 months ago

So how should they be rendered? Can you give me some hints?

houchenfeng commented 3 months ago

So how should they be rendered? Can you give me some hints? I understand. Like the 169 or so lines of code in train.py, it gets depth and normal directly from rendering

niujinshuchong commented 2 months ago

Hi, the depth and normal is rendered by defaults. You can refer to here https://github.com/autonomousvision/gaussian-opacity-fields/blob/main/train.py#L193-L235 for how to visualize it.