X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Fbsp.c;fp=tools%2Fquake3%2Fq3map2%2Fbsp.c;h=b3c28002aaf5c91c4df3e6d41142d7a08d4a22ed;hb=a94ac2b91bb5be4efbd78a78fe007b8e37f0b118;hp=0c1a6bd44fe57208b01a6433e5f81ae4388a1fe1;hpb=1f4a99fd3634cd4e1a34cd6f953a0218aca57b8b;p=xonotic%2Fnetradiant.git diff --git a/tools/quake3/q3map2/bsp.c b/tools/quake3/q3map2/bsp.c index 0c1a6bd4..b3c28002 100644 --- a/tools/quake3/q3map2/bsp.c +++ b/tools/quake3/q3map2/bsp.c @@ -828,6 +828,14 @@ int BSPMain( int argc, char **argv ){ i++; Sys_Printf( "Distance epsilon set to %f\n", distanceEpsilon ); } + else if ( !strcmp( argv[ i ], "-fastmeta" ) ) { + maxLMSurfaceVerts = 64; + maxSurfaceVerts = 999; + maxSurfaceIndexes = 6000; + Sys_Printf( "Maximum per-surface vertex count set to %d\n", maxSurfaceVerts ); + Sys_Printf( "Maximum per-surface index count set to %d\n", maxSurfaceIndexes ); + Sys_Printf( "Maximum lightmapped surface vertex count set to %d\n", maxLMSurfaceVerts ); + } else if ( !strcmp( argv[ i ], "-maxsurfacevertices" ) ) { maxSurfaceVerts = atoi( argv[ i + 1 ] ); if ( maxSurfaceVerts < 3 ) {