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

replaced splat api with class based library #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lpalombo
Copy link
Collaborator

This is the implementation I've been working on. It's a little closer to something the Three.js implementers would accept.

  • It uses a FileLoader as opposed to fetch to integrate with the LoadingManager class for more easily keeping track of assets that are loaded
  • All methods related the splat object are kept in the GaussianSplatObject class. It could probably also extend an Object3D/Mesh to avoid the object.mesh stuff in the <Splat> component. The end user also doesn't need to keep track of any methods in a frameloop either.
  • cloning is currently broken. You can only show one url at a time, but we could probably extend the .clone method and use the drei component, similar to GLTFs
  • added a sample TaaPass component if you want to play with it.

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.

1 participant