city-super / Scaffold-GS

[CVPR 2024 Highlight] Scaffold-GS: Structured 3D Gaussians for View-Adaptive Rendering
https://city-super.github.io/scaffold-gs
Other
787 stars 70 forks source link

Keys Comparison with Vanilla GS #18

Open umarkhalidAI opened 10 months ago

umarkhalidAI commented 10 months ago

I am trying to render on a webbased tool which expect the following keys from the original GS .ply file.

color = np.array( [ 0.5 + SH_C0 * v["f_dc_0"], 0.5 + SH_C0 * v["f_dc_1"], 0.5 + SH_C0 * v["f_dc_2"], 1 / (1 + np.exp(-v["opacity"])), ] ) Can you please comment what are the alternative keys in the .ply file saved by your method as I couldn't find the following (property float f_dc_0 property float f_dc_1 property float f_dc_2 )keys in your method's .ply file?

inspirelt commented 10 months ago

Hi, our method generates the RGB format color using MLP according to the feature and observation view. So, the .ply file does not store the f_dc_*. You can refer to Ours and 3DGS.

umarkhalidAI commented 10 months ago

Can you suggest what changes do I need to make in the following code (line 32-38) https://github.com/antimatter15/splat/blob/main/convert.py