Skip to content

Instantly share code, notes, and snippets.

@lolmaus
Created May 24, 2013 11:49
Show Gist options
  • Save lolmaus/5642970 to your computer and use it in GitHub Desktop.
Save lolmaus/5642970 to your computer and use it in GitHub Desktop.
# coding=utf-8
texturepath = "/opt/minecraft/overviewer"
outputdir = "/opt/minecraft/overviewer/render"
worlds["world"] = "/opt/minecraft/server/worlds/world"
def signFilter(poi):
"All signs"
return poi["id"] == "Sign"
renders["surface_day"] = {
"world": "world",
"title": "Поверхность (день)",
"rendermode": "smooth_lighting",
'markers': [dict(name="All signs", filterFunction=signFilter)],
}
renders["surface_night"] = {
"world": "world",
"title": "Поверхность (ночь)",
"rendermode": "smooth_night",
'markers': [dict(name="All signs", filterFunction=signFilter)],
}
renders["surface_biomes"] = {
"world": "world",
"title": "Поверхность (биомы)",
'rendermode': [ClearBase(), BiomeOverlay()],
'overlay': ['surface_day'],
}
renders["caves"] = {
"world": "world",
"title": "Пещеры",
"rendermode": "cave",
'markers': [dict(name="All signs", filterFunction=signFilter)],
}
renders["caves_lit"] = {
"world": "world",
"title": "Пещеры (только подсвеченные)",
"rendermode": [Base(), EdgeLines(), Cave(only_lit=True), DepthTinting()],
'markers': [dict(name="All signs", filterFunction=signFilter)],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment