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
I made some minor modifications to your code so that it can be used with the viewer provided by 3DGS. Here's my approach:
change the codes in function construct_list_of_attributes from scene/gaussian_model.py like this:
l = ['x', 'y', 'z', 'nx', 'ny', 'nz']
# All channels except the 3 DC
for i in range(self._features_dc.shape[1]*self._features_dc.shape[2]):
l.append('f_dc_{}'.format(i))
for i in range(self._features_rest.shape[1]*self._features_rest.shape[2]):
l.append('f_rest_{}'.format(i))
l.append('opacity')
for i in range(self._scaling.shape[1] + 1):
l.append('scale_{}'.format(i))
......
By this way, the scales can have 3 dim, the same as 3dgs.
2. change the codes in fuction save_ply from scene/gaussian_model.py like this:
Yes, have you observed severe perspective-distortion artifacts? Can you post some results here? By the way, we have made progress in creating a viewer.
Thank you for reporting the results! As I mentioned in the README, this is a possible but not perfect solution. Also, the additional scale will cause ambiguities. Therefore, I think it is better to keep the current Gaussian Model. Let's keep the issue open for who would like a quick visualizer. Or let me refer people to your fork if you have.
I made some minor modifications to your code so that it can be used with the viewer provided by 3DGS. Here's my approach:
By this way, the scales can have 3 dim, the same as 3dgs.
2. change the codes in fuction save_ply from scene/gaussian_model.py like this:
By this way, the 2D gaussian is changed into 3D gaussian with a zeros_like dimension.
The text was updated successfully, but these errors were encountered: