]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bsp.c
q3map2/bsp: introduce -fastmeta option
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bsp.c
index 0c1a6bd44fe57208b01a6433e5f81ae4388a1fe1..b3c28002aaf5c91c4df3e6d41142d7a08d4a22ed 100644 (file)
@@ -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 ) {