ashawkey / diff-gaussian-rasterization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG in depth backward, block the gradient from depth to mean3D

slothfulxtx opened this issue · comments

Hi, authors,
Nice to see your work! I've also implement a modified version of gaussian splatting to support the depth map output. When i compare my code with your implementation, I find that we both use the center of 3D Gaussian Splatting to represent the depth of covered pixels. However, when you predict the depth map, the gradient will propagate to 3D gaussian splatting from both the weighted sum of depth value of 3D GSs and the depth values themselves. In short, you also need to take care of the projection process (with view matrixes) from means3D to depth value. I'll release my impl and paste it url as follow, which only supports depth map output now.

Here's my implementation, hope it can be helpful!

https://github.com/slothfulxtx/diff-gaussian-rasterization

We also support both alpha map and depth map now! (^_^)

commented

@slothfulxtx Thanks! I have fixed it according to your wonderful implementation!