vis: change the default testlevel to 4

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-03-14 11:36:03 +10:30
parent cc8477c6d9
commit 34401e91ee
3 changed files with 8 additions and 5 deletions

View File

@ -5,6 +5,7 @@ Unreleased
* light: removed the "-nominlimit" option (now the default behaviour)
* light: remove support for negative color components (never worked properly)
* light: implemented the "-soft" command line option
* vis: changed the default testlevel to 4
2013-03-07 TyrUtils v0.6

View File

@ -26,9 +26,11 @@ OPTIONS
-fast Skip detailed calculations and calculate a very loose
set of PVS data. Useful for testing.
-level n Select a test level from 1 to 4. Increasing test levels
require more calculations, but compute a tighter PVS.
Finished maps should be compiled with -level 4.
-level n Select a test level from 0 to 4 for detailed visibility
calculations. Lower levels are not necessarily faster in
in all cases. It is not recommended that you change
the default level unless you are experiencing problems.
Default 4.
-v Verbose output

View File

@ -40,7 +40,7 @@ int leafbytes_real; // (portalleafs_real+63)>>3
qboolean fastvis;
static int verbose = 0;
int testlevel = 2;
int testlevel = 4;
#if 0
void
@ -1171,7 +1171,6 @@ main(int argc, char **argv)
fastvis = true;
} else if (!strcmp(argv[i], "-level")) {
testlevel = atoi(argv[i + 1]);
logprint("testlevel = %i\n", testlevel);
i++;
} else if (!strcmp(argv[i], "-v")) {
logprint("verbose = true\n");
@ -1192,6 +1191,7 @@ main(int argc, char **argv)
}
logprint("running with %d threads\n", numthreads);
logprint("testlevel = %i\n", testlevel);
stateinterval = 300; /* 5 minutes */
starttime = statetime = I_FloatTime();