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

Camera path workflow improvements #544

Merged
merged 27 commits into from
Oct 27, 2023

Conversation

andybak
Copy link
Contributor

@andybak andybak commented Oct 2, 2023

  1. Add a Android-only popup when clicking the record button on the camera path panel. The message explains that recording video is not supported and points users to the docs (docs page still to be written)
  2. Add a MacOS binary for ffmpeg
  3. Add an MacOS shell script for offline rendering
  4. Fix the internal code for calling ffmpeg to work on MacOS
  5. Add a simple API script to open a .tilt file and trigger the camera path rendering (for use in monoscopic mode mainly)

This PR warns Quest/standalone users that they can't record camera paths directly. The included script makes it possible to record without a headset and the MacOS changes enable feature parity (Linux users could potentially also be supported at a future date - probably by using a system-installed ffmpeg)

Note that you can't skip the "in app" recording as this is where the usd file for offline rendering is created. We can't create this directly on the Quest because the USD libraries don't run on Android. (I could generate the USD manually using the existing one as a template but I'll leave that for another PR)

The camera path panel currently only appears in experimental mode on the Quest. We could potentially move it to non-experimental mode if this PR proves itself in actual usage.

@andybak andybak marked this pull request as ready for review October 11, 2023 15:06
@andybak andybak marked this pull request as draft October 14, 2023 17:52
@andybak andybak marked this pull request as ready for review October 16, 2023 16:22
@andybak andybak requested review from mikeskydev and mikeage October 16, 2023 16:22
@mikeage mikeage added the enhancement Feature added label Oct 23, 2023
@mikeage
Copy link
Member

mikeage commented Oct 24, 2023

I just synced with the tip of main to make sure it looks good on the new unity (also I wanted to compare build times and this became my guinea pig)

Copy link
Member

@mikeage mikeage left a comment

Choose a reason for hiding this comment

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

two Qs

Assets/Scripts/GUI/RecordCameraPathButton.cs Outdated Show resolved Hide resolved
Support/ThirdParty/ffmpeg/bin/ffmpeg Outdated Show resolved Hide resolved
@andybak andybak merged commit afacd92 into main Oct 27, 2023
30 checks passed
andybak added a commit that referenced this pull request Oct 27, 2023
@mikeage mikeage deleted the feature/camera-path-workflow-improvements branch November 19, 2023 06:57
andybak added a commit that referenced this pull request Nov 20, 2023
* Allow distinct Quest vs Experimental panel config

* Add camera path button to Quest/Standalone Extra Tools panel

Now #544 is merged this makes sense.

* Repaint Selected was missing from mobile selection tray

* Use experimental brush panel instead of mobile panel for Quest/Standalone
andybak added a commit that referenced this pull request Nov 25, 2023
@andybak andybak mentioned this pull request Nov 25, 2023
mikeage pushed a commit that referenced this pull request Nov 25, 2023
* Scripts button was off center

* Camera paths panel should be valid on quest now

See #544
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants