Skip to content

Instantly share code, notes, and snippets.

@agrif
Created June 15, 2011 01:15
Show Gist options
  • Save agrif/1026296 to your computer and use it in GitHub Desktop.
Save agrif/1026296 to your computer and use it in GitHub Desktop.
Example rendermode-options settings.py
rendermode = ['lighting', 'subway-cave', 'subway-overlay']
custom_rendermodes = {
'subway-cave' : {'parent' : 'cave',
'description' : 'a subway map, based on the cave rendermode',
'options' : {
'depth_tinting' : False,
'lighting' : True,
'only_lit' : True,
'min_depth' : 40,
'max_depth' : 55,
}
},
'subway-overlay' : {'parent' : 'mineral',
'description' : 'an overlay showing the location of minecart tracks',
'options' : {'minerals' : [
(27, (255, 234, 0)),
(28, (255, 234, 0)),
(66, (255, 234, 0)),
]}
},
}
rendermode_options = {
'lighting' : {'edge_opacity' : 0.5},
# 'night' : {'shade_strength' : 0.5},
# 'cave' : {'only_lit' : True, 'lighting' : True, 'depth_tinting' : False},
}
@pironic
Copy link

pironic commented Jun 15, 2011

2011-06-14 21:57:12,362 [INFO] 192000/786432 tiles complete on level 1/9
Fatal Python error: GC object already tracked

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
2011-06-14 22:00:45,301 [WARNING] Automatic settings.py loading is DEPRECATED, a
nd may be removed in the future. Please use --settings instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment