A project that shows how to render high-quality "offline" videos with Godot.
Click for higher quality.
This demo currently requires Godot 3.1 or later.
- Clone this repository.
- Import this project in Godot.
When run outside of the editor, frames will be rendered and saved to
PNG images in the out/
directory located in the project data directory.
These can be combined into a video using FFmpeg
by running the following command while in the out/
directory:
ffmpeg -r 60 -f image2 -s 2560x1440 -i %d.png -vcodec libx264 -crf 15 video.mp4
ffmpeg -i %d.png video.mp4
npm install --global reg-cli
reg-cli.cmd .\out\ .\expected\ .\diff\ -R report.html -J report.json
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.
- https://hdrihaven.com/hdri/?c=studio&h=studio_small_03