gaussian-splatting icon indicating copy to clipboard operation
gaussian-splatting copied to clipboard

How does cuda code work when rasterization is performed ?

Open zcc00210 opened this issue 5 months ago • 2 comments

Hi, Thanks a lot for sharing your great work. I have some questions about the process of differentiable gaussian rasterization. 1. image What's the meaning of "from . import _C" ? Is "_C" refer to the gaussian rasterization folder containing cuda code? 2. image Which file in the above rasterize_gaussians folder containing cuda code should I look for the corresponding rasterize_gaussians function when I perform rasterization, running the code to the line num_rendered, color, objects, radii, geomBuffer, binningBuffer, imgBuffer = _C.rasterize_gaussians(*args)? 3. image There are too many code files in this folder, do they have any order of execution, I don't know where to start reading them. And how is this cuda code connected to the corresponding parts of python, is it by the way in question 1? 4. I am new in this field. I would like to add a new attribute to the Gaussian and modify the code in the rasterization section accordingly, which file in cuda would you recommend to start with?

Sorry for asking so many questions, looking forward to your reply! My best regards

zcc00210 avatar Sep 15 '24 08:09 zcc00210