Skip to content

Reduce transform precision to get smaller files and improve loading speed#236

Merged
carmichaelong merged 1 commit intodevfrom
precision_transforms
Mar 11, 2025
Merged

Reduce transform precision to get smaller files and improve loading speed#236
carmichaelong merged 1 commit intodevfrom
precision_transforms

Conversation

@antoinefalisse
Copy link
Collaborator

To reduce the size of the files that need to be loaded on the frontend for animating the skeleton, we can decrease the precision of the transform values. This is what this PR is doing. It is only for visualization purposes and it is not "seeable" I don't think, but it decreases file size by a lot which speeds up loading (especially on slow wifi).

Copy link
Contributor

@carmichaelong carmichaelong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and seems reasonable and safe. Thanks @antoinefalisse

@carmichaelong carmichaelong merged commit bd8d497 into dev Mar 11, 2025
@carmichaelong carmichaelong deleted the precision_transforms branch March 11, 2025 17:42
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.

2 participants

Comments