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

Converted SPZ from ply output quality's so poor #12

Open
EJShim opened this issue Dec 5, 2024 · 2 comments
Open

Converted SPZ from ply output quality's so poor #12

EJShim opened this issue Dec 5, 2024 · 2 comments

Comments

@EJShim
Copy link

EJShim commented Dec 5, 2024

Hello.

I have tested ply to spz conversion using below code :

#include <iostream>
#include <load-spz.h>

int main(int argc, char *argv[]){

    if(argc < 3){        
        return 1;
    }

    // Load PLY File
    spz::GaussianCloud splat =  spz::loadSplatFromPly(argv[1]);

   // Save SPZ File
    spz::saveSpz(splat, argv[2]);

    return 0;
}

Below's the output quality (rendered using babylon.js, left : ply, right : spz)
image

Seems like the spz file has wrong splat rotations, and the colors are somehow faded.

I used original_lego.ply file from here

Do you think such decline in a quality is unavoidable? Maybe because of quantization and rotation normalization?

@Vilour
Copy link

Vilour commented Dec 8, 2024

Maybe you could try render with Niantic Studio? babylon.js currently not supports SH which may lead to degeneration.

@pedrocruzio
Copy link

@Vilour is there an open source web viewer for spz? I haven't seen an official one from Niantic.

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

3 participants