From 2daf895d002de0143d3afcd39b209b92fc1bb648 Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Sat, 28 Apr 2012 20:02:42 +0100 Subject: [PATCH] Reduce the number of Drawables generated by the random buildings by reducing the number of levels of the quad tree, and reducing the number of different fade-out distances generated. --- simgear/scene/tgdb/SGBuildingBin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/scene/tgdb/SGBuildingBin.cxx b/simgear/scene/tgdb/SGBuildingBin.cxx index 8c8d4bc5..bcbffcce 100644 --- a/simgear/scene/tgdb/SGBuildingBin.cxx +++ b/simgear/scene/tgdb/SGBuildingBin.cxx @@ -59,8 +59,8 @@ #include "ShaderGeometry.hxx" #include "SGBuildingBin.hxx" -#define SG_BUILDING_QUAD_TREE_DEPTH 3 -#define SG_BUILDING_FADE_OUT_LEVELS 10 +#define SG_BUILDING_QUAD_TREE_DEPTH 2 +#define SG_BUILDING_FADE_OUT_LEVELS 4 using namespace osg; -- 2.39.5