Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fire/godot-preview
https://github.com/fire/godot-preview
godot godot-engine preview visualization
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/fire/godot-preview
- Owner: fire
- License: mit
- Created: 2019-05-19T23:18:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T23:37:19.000Z (over 5 years ago)
- Last Synced: 2024-12-21T13:12:04.591Z (about 2 months ago)
- Topics: godot, godot-engine, preview, visualization
- Language: GDScript
- Size: 8.51 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot Preview
**A project that shows how to render high-quality "offline" videos with Godot.**
## Example output
[![Preview](https://thumbs.gfycat.com/MemorableUncommonCrownofthornsstarfish-small.gif)](https://gfycat.com/memorableuncommoncrownofthornsstarfish)
*Click for higher quality.*
## Installation
**This demo currently requires
[Godot 3.1](https://godotengine.org/)
or later.**- Clone this repository.
- Import this project in Godot.## Usage
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](https://ffmpeg.org/)
by running the following command while in the `out/` directory:```bash
ffmpeg -r 60 -f image2 -s 2560x1440 -i %d.png -vcodec libx264 -crf 15 video.mp4
``````bash
ffmpeg -i %d.png video.mp4
```## Visual diff
```
npm install --global reg-cli
reg-cli.cmd .\out\ .\expected\ .\diff\ -R report.html -J report.json
```## License
Copyright © 2019 Hugo Locurcio and contributors
- Unless otherwise specified, files in this repository are licensed under
the MIT license; see [LICENSE.md](LICENSE.md) for more information.
- The Suzanne model was taken from the
[glTF samples repository](https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/Suzanne).
- https://hdrihaven.com/hdri/?c=studio&h=studio_small_03