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

camera.json format #304

Closed
DavidCao1993 opened this issue Nov 29, 2024 · 9 comments · Fixed by #377
Closed

camera.json format #304

DavidCao1993 opened this issue Nov 29, 2024 · 9 comments · Fixed by #377

Comments

@DavidCao1993
Copy link

Thank you for your great jobs. I want to know the format of your camera.json so that i can create my own json file to import pose. and how to get the cameras.json? By the way, could you please add the function to export the pose
image
which I recorded by myself to the json file. thanks a lot.

@slimbuck
Copy link
Member

Hi @DavidCao1993 ,

The json format we currently support are the cameras.json generated by the original Inria trainer.

For example, the bicycle scene comes with this file:
cameras.json

You can drag and drop that onto SuperSplat and see the resulting poses in the panel.

We will soon add support for nerfstudio's cameras format (see #297) and we will also support exporting the cameras from the CAMERA POSES panel (probably also in nerfstudio format).

Does this all sound reasonable? Would you like any other particular format supported?

Thanks!

@DavidCao1993
Copy link
Author

thank you very much. Looking forward to your new features!!!

@kaikai23
Copy link

Hi, is this feature already supported in the https://playcanvas.com/supersplat/editor? When I drop my cameras.json file into it, there is an error:
image

@slimbuck
Copy link
Member

Hi @kaikai23 , can you provide the cameras.json so I can investigate? Thanks

@kaikai23
Copy link

Hi, I just used the cameras.json you provided above.
I am using Microsoft Edge Version 112.0.1722.58 (Official build) (arm64), and SUPERSPLAT v1.13.1

@slimbuck
Copy link
Member

Oh! I can repro, busy investigating. Thanks for report this!

@kaikai23
Copy link

Thanks for the quick reaction! However, after this fix is merged, I still got the same error.
Maybe the live editor hasn't been synchronized with the latest code? Could you confirm if you can drop cameras.json on the live editor now? Thanks!

@slimbuck
Copy link
Member

Oh sorry no it's not live yet, but we'll probably do a release later today.

The fix will likely go out in v1.13.2 or v1.14.0 (depending on the other features we release today).

@slimbuck
Copy link
Member

That's now live @kaikai23

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

Successfully merging a pull request may close this issue.

3 participants