0

Added a good sample config that actually works

This commit is contained in:
Andrew Brown
2012-02-15 22:41:22 -05:00
parent 6c22e306ba
commit 1457bf1564
2 changed files with 32 additions and 184 deletions

32
sample_config.py Normal file
View File

@@ -0,0 +1,32 @@
# This is a sample config file, meant to give you an idea of how to format your
# config file and what's possible.
# Define the path to your world here
worlds['My World'] = "/path/to/your/world"
# Define where to put the output here
outputdir = "/tmp/test_render"
# This is an item usually specified in a renders dictionary below, but if you
# set it here like this, it becomes the default for all renders that don't
# define it.
rendermode = "lighting"
renders["render1"] = {
'world': 'My World',
'title': 'A regular render',
}
renders["render2"] = {
'world': 'My World',
'northdirection': 'upper-right',
'title': 'Upper-right north direction',
}
renders["render3"] = {
'world': 'My World',
'title': 'Nighttime',
# Notice how this overrides the rendermode default specified above
'rendermode': 'night',
}