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

Editing: merge, move splats, bake transform when exporting #51

Merged
merged 27 commits into from
Nov 9, 2023

Conversation

aras-p
Copy link
Owner

@aras-p aras-p commented Oct 20, 2023

A bunch of changes and additions to splat editing and export tools:

  • The splat editing is now a Unity "tool context", enter by clicking button atop of the view/move/rotate/scale toolbar, or via "edit" in the splat inspector. When that is active, the usual Move tool allows doing the regular splat selection for deletion, but you can also move the individual selected splats (part of Tools: more splat editing tools (clone, move etc.) #50).
  • When exporting PLY, the Transform (position/rotation/scale) can be "baked" into the splat via "Export in world space" option (Tools: Merging splats and applying transformations on export #39).
  • When multiple splats are selected, they can be merged into one via the "Merge" button in inspector. The result can be exported to PLY of course (Tools: Merging splats and applying transformations on export #39).
  • Added a "Reset" button to reset any edits back to what is in the asset.
  • Add option "SH Only" to display only the spherical harmonics contribution on a gray color.

NOTE: the splat asset format has changed, you'll need to recreate your splat assets.

Selected part of the splat and moved it somewhere else:
image

Will make it easier to buid more editing tools soon(ish)
Based on https://github.com/andrewwillmott/sh-lib but does not seem to quite work correctly yet
Allow exporting even when no edits are done (e.g. when we only want to bake in new transform)
… as in the asset (for duplication/clone tools etc.)

While at it:
- make fewer things public in the asset
- serialize fewer color texture data related things (format change!)
@aras-p aras-p changed the title Editing: move/scale tools, bake transform when exporting Editing: merge, move splats, bake transform when exporting Nov 9, 2023
@aras-p aras-p merged commit 8291bd9 into main Nov 9, 2023
HIHHIYAYAYOO pushed a commit to HIHHIYAYAYOO/UnityGaussianSplatting that referenced this pull request Nov 30, 2023
Editing: merge, move splats, bake transform when exporting
@aras-p aras-p deleted the more-edit-tools branch February 19, 2024 08:47
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