From: Stuart Buchanan Date: Sat, 28 Apr 2012 19:02:42 +0000 (+0100) Subject: Reduce the number of Drawables generated by the random buildings by reducing the... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2daf895d002de0143d3afcd39b209b92fc1bb648;p=simgear.git 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. --- 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;