]> git.mxchange.org Git - simgear.git/commitdiff
Reduce the number of Drawables generated by the random buildings by reducing the...
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Sat, 28 Apr 2012 19:02:42 +0000 (20:02 +0100)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Sat, 28 Apr 2012 19:02:42 +0000 (20:02 +0100)
fade-out distances generated.

simgear/scene/tgdb/SGBuildingBin.cxx

index 8c8d4bc5aeae47e94e4320e246743ef6a9c8527f..bcbffcce6f70d5776d080b4726f524d92fa750d1 100644 (file)
@@ -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;