A project that shows how to render high-quality "offline" videos with Godot.
Click for higher quality.
This demo currently requires Godot 3.1 beta 8 or later.
- Clone this repository or download a ZIP archive.
- Import this project in Godot.
Make sure to run the project from the command line using the --fixed-fps 60
command line argument. Otherwise, frame timings won't be correct.
When run outside of the editor, frames will be rendered and saved to
PNG images in the render/
directory located in the project data directory.
These can be combined into a video using FFmpeg
by running the following command while in the render/
directory:
ffmpeg -r 60 -f image2 -s 2560x1440 -i %d.png -vcodec libx264 -crf 15 video.mp4
Copyright © 2019 Hugo Locurcio and contributors
- Unless otherwise specified, files in this repository are licensed under the MIT license; see LICENSE.md for more information.
- The Suzanne model was taken from the glTF samples repository.