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

Animation preview #364

Merged
merged 3 commits into from
Jan 3, 2025
Merged

Animation preview #364

merged 3 commits into from
Jan 3, 2025

Conversation

slimbuck
Copy link
Member

@slimbuck slimbuck commented Jan 3, 2025

Add the ability to view a set of PLY files as an animation.

Screenshot 2025-01-03 at 13 52 25

In this PR:

  • animation mode is enabled if user loads a set of files that are detected to form an animation sequence
    • user can either drag in multiple files or a folder containing multiple files
  • upon detection the timeline panel is shown
  • then the user can:
    • scrub the timeline
    • play and stop the animation
    • advance one frame forward and backward
    • set playback speed

This is very much work in progress and meant only for viewing animation sets. Don't attempt to load animations and non-animations and edit a scene at the same time.

Current issues:

  • Each frame of the PLY animation is loaded as usual. This means you can't do anything about badly oriented scenes.

@slimbuck slimbuck added the enhancement New feature label Jan 3, 2025
@slimbuck slimbuck requested a review from a team January 3, 2025 13:58
@slimbuck slimbuck self-assigned this Jan 3, 2025
src/ui/scrubber.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@willeastcott willeastcott left a comment

Choose a reason for hiding this comment

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

So coooooool!

@willeastcott
Copy link
Contributor

Ideally, please update the Wiki with a section on animations.

@slimbuck slimbuck merged commit fb04918 into playcanvas:main Jan 3, 2025
2 checks passed
@slimbuck slimbuck deleted the anim-dev branch January 3, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants