Created
June 4, 2018 21:55
-
-
Save Calinou/0cef6c1a3eb3957a625ade29c1a72f67 to your computer and use it in GitHub Desktop.
Render intro/outro images for use with the Blender Video Sequence Editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Renders video intro/outro images; targeted at Blender usage. | |
# Usage: ./render.sh | |
# | |
# Copyright © 2018 Hugo Locurcio | |
# Licensed under CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/ | |
set -euo pipefail | |
IFS=$'\n\t' | |
text_intro="Selection of games being developed\n with Godot in 2018" | |
text_outro="godotengine.org" | |
text_outro2="Music by Christian Fernando Perucchi\nhttps://christianperucchi.bandcamp.com/" | |
convert \ | |
-size "1920x1080" \ | |
xc:white \ | |
-draw "image src-over 360,130 0,0 logo.png" \ | |
-fill "hsl(0, 0%, 26%)" \ | |
-gravity "Center" \ | |
-font "Montserrat-SemiBold" \ | |
-pointsize "66" \ | |
-interword-spacing "16" \ | |
-interline-spacing "12" \ | |
-annotate +0+270 "$text_intro" \ | |
"intro.png" | |
convert \ | |
-size "1920x1080" \ | |
xc:white \ | |
-draw "image src-over 360,297 0,0 logo.png" \ | |
-fill "hsl(0, 0%, 26%)" \ | |
-gravity "Center" \ | |
-font "Montserrat-SemiBold" \ | |
-pointsize "64" \ | |
-interword-spacing "16" \ | |
-interline-spacing "12" \ | |
-annotate +0+380 "$text_outro" \ | |
"outro.png" | |
convert \ | |
-size "1920x1080" \ | |
xc:black \ | |
-gravity "Center" \ | |
-font "Montserrat-SemiBold" \ | |
-fill "hsl(0, 0, 75%)" \ | |
-pointsize "48" \ | |
-interword-spacing "16" \ | |
-interline-spacing "14" \ | |
-annotate +0+380 "$text_outro2" \ | |
"outro2.png" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment