From Valve Developer Community
VVIS is the command-line tool that takes a compiled BSP map and embeds visibility data into it. VVIS tests which visleaves can see each other, and which cannot. See Visibility optimization for a more detailed explanation.
- Test visibility between visleaves by clipping their view planes.
- Enforce a maximum visibility distance, if configured to.
vvis [options...] <bsp file>
"%sourcesdk%\bin\orangebox\bin\vvis" -tmpout sdk_trainstation_01
This will generate and embed a visibility chart, writing portal data out to
Use these in combination with expert compile mode or a batch file:
- Only do a quick first pass. Does not actually test visibility.
- Force a maximum vis radius, in units, regardless of whether an env_fog_controller specifies one.
- Don't sort (an optimization) portals.
- Read portals from
- Write portals to
- Run as an idle-priority process.
- Control the number of threads used. Defaults to the # of processors (times 2 for Hypertreading/SMT CPU's) on your machine.
- Turn on verbose output
- Don't bring up graphical UI on vproject errors.
- Use VMPI to distribute computations.
- Use a password to choose a specific set of VMPI workers.
- Override the VPROJECT environment variable.