-
Notifications
You must be signed in to change notification settings - Fork 170
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
Native document format #389
Conversation
Any reason not to ZIP it? Otherwise, these things are gonna eat up quite a lot of disk space, right? |
Can the menu be:
I'm not 100% sure where to put Save Screenshot actually. But grouping Import and Export would be cool (the above is more similar to Blender). |
Yes. JSZip and the other libraries I looked at require a blob/array of all data before writing out the zip file. This would double the memory requirement during save. We're streaming the data out instead. |
I would recommend renaming the 'Scene' menu to 'File'. |
It's a big change, will do in a followup PR. |
Fixes: #236
Related tickets: #324
This PR implements support for a native SuperSplat document.
The Scene menu has been updated to reflect document vs import/export:
Document contents
The document is a simple uncompressed zip archive containing the following files:
document.json
Contains all editor state apart from the individual splats. This includes:
splat_n.ply
Each PLY present in the document is similar to its exported counterpart with the following differences:
Example
Here is a sample document.
example.super.zip
The file has been renamed to a .zip extension to allow attachment here.
Notes