VRAD: Difference between revisions
Jump to navigation
Jump to search
Cargo Cult (talk | contribs) m (Link, and rogue apostrophe deletion.) |
FWoodhouse (talk | contribs) (reworded a little, fixed rogue capital letter, fixed bullet points) |
||
Line 1: | Line 1: | ||
An optional compiling tool that calculates the lighting of a map, It gives parts of the level, called patches, a certain amount of brightness depending on how much light it would receive. This is the slowest of compile tools due to the many, many calculations it must do to acheive this. | An optional compiling tool that calculates the lighting of a map, It gives parts of the level, called patches, a certain amount of brightness depending on how much light it would receive. This is the slowest of compile tools due to the many, many calculations it must do to acheive this. | ||
'' | ''N.B. If you are watching the compile dialog and it looks like it has hung at'' <code>9...</code> ''this is because Vrad takes longer with each light bounce calculation. Be patient. Win NT/2k/XP/2k3 users can open "Windows Task Manager" (ctrl+shift+esc) and set the priority of "vrad.exe" higher. '''(Exercise extreme caution.)''' '' | ||
=Options= | =Options= | ||
Line 8: | Line 7: | ||
==Common options== | ==Common options== | ||
*-v (or -verbose): Turn on verbose output. | |||
*-bounce # : Set max number of bounces (default: 100). | |||
*-fast : Quick and dirty lighting. | |||
*-low : Run as an idle-priority process. | |||
*-mpi : Use VMPI to distribute computations. | |||
*-rederror : Show errors in red. | |||
*-vproject <directory> : Override the VPROJECT environment variable. | |||
*-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. | ||
*-dump : Write debugging .txt files. | *-dump : Write debugging .txt files. | ||
*-dumpnormals : Write normals to debug files. | *-dumpnormals : Write normals to debug files. | ||
*-threads : Control the number of threads vbsp uses (defaults to the | *-threads : Control the number of threads vbsp uses (defaults to the number of processors on your machine, doubled for CPUs with hyperthreading). | ||
*-lights <file> : Load a lights file in addition to lights.rad and the level lights file. | *-lights <file> : Load a lights file in addition to lights.rad and the level lights file. | ||
*-noextra : Disable supersampling. | *-noextra : Disable supersampling. | ||
*-debugextra : Places debugging data in lightmaps to visualize supersampling. | *-debugextra : Places debugging data in lightmaps to visualize supersampling. | ||
*-smooth # : Set the threshold for smoothing groups, in degrees (default 45). | *-smooth # : Set the threshold for smoothing groups, in degrees (default: 45). | ||
*-dlightmap : Force direct lighting into different lightmap than radiosity. | *-dlightmap : Force direct lighting into different lightmap than radiosity. | ||
*-stoponexit : Wait for a keypress on exit. | *-stoponexit : Wait for a keypress on exit. | ||
Line 33: | Line 30: | ||
*-nodetaillight : Don't light detail props. | *-nodetaillight : Don't light detail props. | ||
*-centersamples : Move sample centers. | *-centersamples : Move sample centers. | ||
*-luxeldensity # : Rescale all luxels by the specified amount (default: 1.0). | *-luxeldensity # : Rescale all luxels by the specified amount (default: 1.0). Must not exceed 1. | ||
*-loghash : Log the sample hash table to samplehash.txt. | *-loghash : Log the sample hash table to samplehash.txt. | ||
*-onlydetail : Only light detail props and per-leaf lighting. | *-onlydetail : Only light detail props and per-leaf lighting. | ||
*-maxdispsamplesize #: Set max displacement sample size (default: 512). | *-maxdispsamplesize #: Set max displacement sample size (default: 512). | ||
---- | ---- | ||
Revision as of 03:34, 5 July 2005
An optional compiling tool that calculates the lighting of a map, It gives parts of the level, called patches, a certain amount of brightness depending on how much light it would receive. This is the slowest of compile tools due to the many, many calculations it must do to acheive this.
N.B. If you are watching the compile dialog and it looks like it has hung at 9...
this is because Vrad takes longer with each light bounce calculation. Be patient. Win NT/2k/XP/2k3 users can open "Windows Task Manager" (ctrl+shift+esc) and set the priority of "vrad.exe" higher. (Exercise extreme caution.)
Options
Use these in combination with expert compile mode or a batch file:
Common options
- -v (or -verbose): Turn on verbose output.
- -bounce # : Set max number of bounces (default: 100).
- -fast : Quick and dirty lighting.
- -low : Run as an idle-priority process.
- -mpi : Use VMPI to distribute computations.
- -rederror : Show errors in red.
- -vproject <directory> : Override the VPROJECT environment variable.
- -game <directory> : Same as -vproject.
Other options
- -novconfig : Don't bring up graphical UI on vproject errors.
- -dump : Write debugging .txt files.
- -dumpnormals : Write normals to debug files.
- -threads : Control the number of threads vbsp uses (defaults to the number of processors on your machine, doubled for CPUs with hyperthreading).
- -lights <file> : Load a lights file in addition to lights.rad and the level lights file.
- -noextra : Disable supersampling.
- -debugextra : Places debugging data in lightmaps to visualize supersampling.
- -smooth # : Set the threshold for smoothing groups, in degrees (default: 45).
- -dlightmap : Force direct lighting into different lightmap than radiosity.
- -stoponexit : Wait for a keypress on exit.
- -mpi_pw <pw> : Use a password to choose a specific set of VMPI workers.
- -nodetaillight : Don't light detail props.
- -centersamples : Move sample centers.
- -luxeldensity # : Rescale all luxels by the specified amount (default: 1.0). Must not exceed 1.
- -loghash : Log the sample hash table to samplehash.txt.
- -onlydetail : Only light detail props and per-leaf lighting.
- -maxdispsamplesize #: Set max displacement sample size (default: 512).
See Also: