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

Video work #1688

Merged
merged 41 commits into from
Nov 30, 2021
Merged

Video work #1688

merged 41 commits into from
Nov 30, 2021

Conversation

3b1b
Copy link
Owner

@3b1b 3b1b commented Nov 30, 2021

Various updates and fixes made to the core library while working on 3b1b videos.

Larger changes include:

  • Adding an extra parameter for shading in 3d
  • Adding a global progress bar to show full render time of scenes being written to file
  • Add "-e" flag to be able to embed at a particular line number.

When a scene is written to file, it will now do a preliminary run of a copy of the scene with skip_animations turned on to count the total frames, which has the added benefit of catching runtime errors early, and allowing an quicker preview of the last frame to be sure everything will render as expected.

The Progress display bars for individual animations are replaced with a more global progress display bar showing the full render time for the scene.

This has the downside that all the non-rendering computations in a scene are run twice, so any scene with slow computations unrelated to rendering will take longer. But those are rarer, so the benefits seem worth it.
@3b1b 3b1b merged commit b4ce0b9 into master Nov 30, 2021
TonyCrane added a commit that referenced this pull request Dec 14, 2021
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