From ba12cdf12e60b54afcc922a9f2b1ea1b8a09d31c Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 3 Feb 2012 20:39:04 -0500 Subject: [PATCH] added some built-in rendermodes to rendermodes.py --- overviewer_core/rendermodes.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/overviewer_core/rendermodes.py b/overviewer_core/rendermodes.py index ffa2e43..687f4cd 100644 --- a/overviewer_core/rendermodes.py +++ b/overviewer_core/rendermodes.py @@ -138,3 +138,14 @@ class Lighting(RenderPrimitive): class SmoothLighting(Lighting): name = "smooth-lighting" + +# Built-in rendermodes for your convenience! +normal = [Base(), EdgeLines()] +lighting = [Base(), EdgeLines(), Lighting()] +smooth_lighting = [Base(), EdgeLines(), SmoothLighting()] +night = [Base(), EdgeLines(), Lighting(night=True)] +smooth_night = [Base(), EdgeLines(), SmoothLighting(night=True)] +nether = [Base(), EdgeLines(), Nether()] +nether_lighting = [Base(), EdgeLines(), Nether(), Lighting()] +nether_smooth_lighting = [Base(), EdgeLines(), Nether(), SmoothLighting()] +