You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When enabling scalar coloring on 3DGS, which can be useful for debugging, spherical harmonics affect the coloring. It shouldn't.
To Reproduce
Steps to reproduce the behavior:
Run f3d -osb --coloring-array=scale --point-sprites-type=gaussian --point-sprites-size=1 --no-config hornedlizard_small_d3.spz (file can be found in the testing/data folder)
Rotate the camera
Observe some gaussians change color
20250707-1951-23.4597438.mp4
Expected behavior
When scalar coloring is enabled, spherical harmonics must be ignored
Additional context
Gaussians rendering is handled in vtkext\private\module\vtkF3DPointSplatMapper.cxx file.
Specifically, spherical harmonics shader is handled in vtkF3DSplatMapperHelper::ReplaceShaderColor.
We need to check if scalar coloring is enabled there to skip the shader modification.
VTK 9.5 is needed for spherical harmonics support.
Describe the bug
When enabling scalar coloring on 3DGS, which can be useful for debugging, spherical harmonics affect the coloring. It shouldn't.
To Reproduce
Steps to reproduce the behavior:
f3d -osb --coloring-array=scale --point-sprites-type=gaussian --point-sprites-size=1 --no-config hornedlizard_small_d3.spz(file can be found in thetesting/datafolder)20250707-1951-23.4597438.mp4
Expected behavior
When scalar coloring is enabled, spherical harmonics must be ignored
Additional context
Gaussians rendering is handled in
vtkext\private\module\vtkF3DPointSplatMapper.cxxfile.Specifically, spherical harmonics shader is handled in
vtkF3DSplatMapperHelper::ReplaceShaderColor.We need to check if scalar coloring is enabled there to skip the shader modification.
VTK 9.5 is needed for spherical harmonics support.