{
.padding = 128.f,
.resolution = 1024,
+ .min_z = -INFINITY,
+ .max_z = INFINITY,
.write_txt = 1,
.api_version = csr_api_version,
.sampling_mode = k_EMSAA_RGSS
{
extension = arg;
}
+
+ if( (arg = csr_long_opt_arg( "min" )) )
+ api.min_z = atof( arg );
+ if( (arg = csr_long_opt_arg( "max" )) )
+ api.max_z = atof( arg );
if( csr_opt( 'v' ) || csr_long_opt( "version" ) )
{
" --no-txt Don't create matching radar txt\n"
" --multi-sample=RGSS [ none, 2x, rgss, 8r ]\n"
" --extension=TAR Use an extension binary instead\n"
+ " --min=z Miniumum height to render\n"
+ " --max=z Maxiumum height to render\n"
"\n"
" -v --version Display program version\n"
" -h --help Display this help text\n"
}
if( !extension )
- extension = "csRadarFree";
+ extension = "csr_substance";
csr_so ext = csr_libopen( extension );