Skip to content

Add SPZ v3, smallest 3 quaternion encoding support - #171

Merged
dmarcos merged 1 commit into
sparkjsdev:mainfrom
gwegash:george--spz-v3
Sep 22, 2025
Merged

Add SPZ v3, smallest 3 quaternion encoding support#171
dmarcos merged 1 commit into
sparkjsdev:mainfrom
gwegash:george--spz-v3

Conversation

@gwegash

@gwegash gwegash commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

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

dmarcos commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

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

gwegash commented Sep 22, 2025

Copy link
Copy Markdown
Contributor Author

@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

dmarcos commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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