pierotofy / OpenSplat

Production-grade 3D gaussian splatting with CPU/GPU support for Windows, Mac and Linux 🚀
https://antimatter15.com/splat/?url=https://splat.uav4geo.com/banana.splat
GNU Affero General Public License v3.0
924 stars 87 forks source link

question about v_out_alpha #137

Closed ko-work closed 3 weeks ago

ko-work commented 3 weeks ago

Hi! Probably a stupid question... , but it looks like v_out_alpha is zero initialized https://github.com/pierotofy/OpenSplat/blob/eba9476394301fc44e56dcba4a77d4c9d23e9f41/rasterize_gaussians.cpp#L108

then later it is used in v_alpha += T_final * ra * v_out_alpha; which might then be v_alpha += 0; https://github.com/pierotofy/OpenSplat/blob/eba9476394301fc44e56dcba4a77d4c9d23e9f41/rasterizer/gsplat/backward.cu#L313

is this intentional ?