ShijieZhou-UCLA / feature-3dgs

[CVPR 2024 Highlight] Feature 3DGS: Supercharging 3D Gaussian Splatting to Enable Distilled Feature Fields
Other
374 stars 23 forks source link

bgcolor in feature alpha blending #33

Closed BigCiLeng closed 3 months ago

BigCiLeng commented 3 months ago

would it cause an illegal memory access as NUM_SEMANTIC_CHANNELS is always bigger than CHANNELS

https://github.com/ShijieZhou-UCLA/feature-3dgs/blob/4e82ea88c117c880ee04e88ab6cd1a3f4745f847/submodules/diff-gaussian-rasterization/cuda_rasterizer/forward.cu#L394 for (int ch = 0; ch < NUM_SEMANTIC_CHANNELS; ch++) out_feature_map[ch * H * W + pix_id] = SF[ch] + T * bg_color[ch];

ShijieZhou-UCLA commented 3 months ago

Thanks! I think this might not be the reason.