Skip to content

Support runtime loading of ply splat format? #157

@tufeixp

Description

@tufeixp

It'd be nice if this repo can support runtime loading of ply splat format, like this repo have done:
https://github.com/clarte53/GaussianSplattingVRViewerUnity

Also, I find the ply models generated by using:
https://github.com/alvinliu0/HumanGaussian/tree/main?tab=readme-ov-file#pretrained-models
and
https://github.com/Microsoft/TRELLIS
will both report vertex size mismatch issue while importing in editor Gaussian splat creator.
Please look into it.

Here the header:
ply
format binary_little_endian 1.0
element vertex 675392
property float x
property float y
property float z
property float nx
property float ny
property float nz
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
end_header

and I tried to modify the InputSplatData to this:
public struct InputSplatDataS
{
public Vector3 pos;
public Vector3 nor;
public Vector3 dc0;
public float opacity;
public Vector3 scale;
public Quaternion rot;
}
However, the error 's gone and loaded without correct rendering, the points will show with the debug points option choosen in the render mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions