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

Support loading compressed ply format #5831

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

slimbuck
Copy link
Member

@slimbuck slimbuck commented Nov 17, 2023

This PR adds support for loading a (still in flux) compressed GS PLY format.

A description of the format will be provided in a followup PR on https://github.com/playcanvas/super-splat.

A quick size comparison follows:

Scene PLY size Compressed PLY size
Screenshot 2023-11-17 at 16 28 39 30MB 8.7MB
Screenshot 2023-11-17 at 16 30 36 56MB 16.2MB
Screenshot 2023-11-17 at 16 34 21 245MB 71MB

@slimbuck slimbuck added the area: graphics Graphics related issue label Nov 17, 2023
@slimbuck slimbuck requested a review from a team November 17, 2023 16:36
@slimbuck slimbuck self-assigned this Nov 17, 2023
Copy link
Contributor

@mvaligursky mvaligursky left a comment

Choose a reason for hiding this comment

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

Nice!

@mvaligursky
Copy link
Contributor

Does it contain chunks as discussion? Or just a linear data arrays.

@slimbuck
Copy link
Member Author

Yes the min/max x,y,z values store the chunk info. Vertex data references that to calculate position and scale.

@slimbuck slimbuck merged commit 38a4550 into playcanvas:main Nov 20, 2023
@slimbuck slimbuck deleted the compressed-ply branch November 20, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants