Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't find 'f_rest' properties #73

Closed
Jing1Ling opened this issue Feb 29, 2024 · 2 comments
Closed

can't find 'f_rest' properties #73

Jing1Ling opened this issue Feb 29, 2024 · 2 comments

Comments

@Jing1Ling
Copy link

Jing1Ling commented Feb 29, 2024

Thanks for your great work.
I read the ply file's properties like this:

from plyfile import PlyData
plydata2 = PlyData.read('path/to/plyfile')
print(plydata1.elements[0])

I found that the ply file exported from super-splat only output the following information:

property float x
property float y
property float z
property float f_dc_0
property float f_dc_1
property float f_dc_2
property float opacity
property float scale_0
property float scale_1
property float scale_2
property float rot_0
property float rot_1
property float rot_2
property float rot_3

Compared with the format saved by 3DGS, there seem to be 45 properties starting with 'f_rest' missing. Is this caused by the way PlyData reads files? How should I find the 'f_rest' information?

@slimbuck
Copy link
Member

slimbuck commented Mar 5, 2024

Hi @Jing1Ling,

The f_rest properties contain the spherical harmonics data.

By default SuperSplat reads and writes this data. Can you explain what you're doing when the data goes missing?

Thanks!

@Jing1Ling
Copy link
Author

I guess it may be due to the super-splat version? I reprocessed and exported a version of the ply file, and this time I was able to find all the spherical harmonic coefficients. Before this I was using ply files that were processed through super-splat a long time ago.
No problem now, thanks for your reply.

@slimbuck slimbuck closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants