VVIS: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 14: Line 14:
*-fast : Only do first quick pass on vis calculations.
*-fast : Only do first quick pass on vis calculations.
*-mpi : Use VMPI to distribute computations.
*-mpi : Use VMPI to distribute computations.
*-low : Run as an idle-priority process. env_fog_controller specifies one.
*-low : Run as an idle-priority process.
*-vproject <directory> : Override the VPROJECT environment variable.
*-vproject <directory> : Override the VPROJECT environment variable.
*-game <directory> : Same as -vproject.
*-game <directory> : Same as -vproject.
==Other options==
==Other options==
*-novconfig : Don't bring up graphical UI on vproject errors.
*-novconfig : Don't bring up graphical UI on vproject errors.
*-radius_override: Force a vis radius, regardless of whether an
*-radius_override: Force a vis radius, regardless of whether an env_fog_controller specifies one.
*-mpi_pw <pw> : Use a password to choose a specific set of VMPI workers.
*-mpi_pw <pw> : Use a password to choose a specific set of VMPI workers.
*-threads : Control the number of threads vbsp uses (defaults to the # of processors (times 2 for hyperthreading CPU's) on your machine).
*-threads : Control the number of threads vbsp uses (defaults to the # of processors (times 2 for hyperthreading CPU's) on your machine).

Revision as of 13:27, 23 September 2005

An optional compiling tool that sets the portals on your map. It determines what must be rendered in a certain area, allowing the game to ignore parts of the map, speeding up rendering. If this process is taking too long, be sure to read up on Controlling Geometry Visibility and Compile Times on how to reduce visleafs using func_details.


It is not recommended to leave out this process on any final maps, but it's okay to skip if you just want a quick look at how your level looks.

Options

Use these in combination with expert compile mode or a batch file:

Common options

  • -v (or -verbose): Turn on verbose output (also shows more command
  • -fast : Only do first quick pass on vis calculations.
  • -mpi : Use VMPI to distribute computations.
  • -low : Run as an idle-priority process.
  • -vproject <directory> : Override the VPROJECT environment variable.
  • -game <directory> : Same as -vproject.

Other options

  • -novconfig : Don't bring up graphical UI on vproject errors.
  • -radius_override: Force a vis radius, regardless of whether an env_fog_controller specifies one.
  • -mpi_pw <pw> : Use a password to choose a specific set of VMPI workers.
  • -threads : Control the number of threads vbsp uses (defaults to the # of processors (times 2 for hyperthreading CPU's) on your machine).
  • -nosort : Don't sort portals (sorting is an optimization).
  • -tmpin : Make portals come from \tmp\<mapname>.
  • -tmpout : Make portals come from \tmp\<mapname>.

See Also:

VBSP

VRAD