Skip to content

Conversation

gwegash
Copy link
Contributor

@gwegash gwegash commented Sep 17, 2025

This addresses #151

SPZ v3 has been released with support for smallest 3 quaternion encoding and decoding. The relevant changes are here

This implements support for the latest version of SPZ, and maintains backwards compatibility for reading v2 spz files.

A visual comparison for the mipnerf360 bicycle scene between v2 and v3 is below.

image image

@gwegash gwegash changed the title Add SPZ v3, largest 3 quaternion encoding/decoding support Add SPZ v3, smallest 3 quaternion encoding/decoding support Sep 17, 2025
@dmarcos
Copy link
Contributor

dmarcos commented Sep 22, 2025

Awesome. Thanks for the patience. I was working on the same code to load spz v3 that I just merged but haven't done the export part yet. Do you want to rebase this PR to add it?

Also if you are interested on supporting new formats we don't have yet support for the new version of sogs. Is it something you would be interested in contributing? Thanks!

@gwegash
Copy link
Contributor Author

gwegash commented Sep 22, 2025

@dmarcos Thanks for adding the reader support. I've rebased and included only the writer changes.
I've not got the capacity for the new version of SOGS at the moment, apologies.

@gwegash gwegash changed the title Add SPZ v3, smallest 3 quaternion encoding/decoding support Add SPZ v3, smallest 3 quaternion encoding support Sep 22, 2025
@dmarcos
Copy link
Contributor

dmarcos commented Sep 22, 2025

Thank you!

@dmarcos dmarcos merged commit ccd2dd1 into sparkjsdev:main Sep 22, 2025
2 checks passed
@dmarcos dmarcos mentioned this pull request Sep 22, 2025
@jo-chemla
Copy link

Just stumbled here and did open a dedicated issue thread for SOG v2/v1 support over here #177
Impressive how these rotation bits improves visual fidelity

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 this pull request may close these issues.

3 participants