4.2.2.3 Value Commands
A value command has some value associated with it. Typing the command without
arguments will show the current value. Just type the value after the command
to change it. Using a `++' or `--' operator before the value will
increase or decrease the value with the given amount. Example:
-
`gamma': show current gamma value
-
`gamma 1.5': set gamma to 1.5
-
`gamma ++0.05': increase gamma with 0.05
-
`gamma --0.05': decrease gamma with 0.05
The following value commands are available:
db_maxpol
- Set/get the maximum number of polygons that is drawn every frame. Normally
this is set to a very high number so that this maximum is never reached
(2000000000 polygons every frame should suit everones need for the near
future :-) You can reduce this number for debugging purposes. In
combination with `fclear' and binding keys to `db_maxpol ++1' and
`db_maxpol --1' you can get the effect of drawing one polygon at a time.
db_procpol
- Set/get the maximum number of polygons that is considered by the culling
routines every frame. Normally this is set to a very high number so that
this maximum is never reached (2000000000 polygons every frame should suit
everones need for the near future :-) You can reduce this number for
debugging purposes.
db_octree
- Set/get the level of the octree to show on screen. This is useful to see
where octree nodes are. If 0 then nothing will be shown (default). If
1 then the root level will be shown. And so on. If -1 is given then all
leaves will be shown.
gamma
- Control the gamma value of the display. A gamma of 1.00 is neutral. 2.00
(for example) is lighter and 0.5 is darker. Press g or SHF-g to
experiment with this value at render time. This command corresponds with
the
-gamma
commandline option and with the GAMMA configuration
option.
fov
- Control the FOV (Field Of Vision) of the display. By default this is equal
to the height (in pixels) of the current display. Press f or
SHF-f to experiment with this value at render time. This command
corresponds with the
-fov
commandline option and with the FOV
configuration option.
fovangle
- Control the FOV (Field Of Vision) of the display in angles (degrees).
cosfact
- Control the cosinus factor (default 0) used for lighting. For details,
See section 3.2.3 Engine Configuration.
p_alpha
- Change the alpha transparency for a selected portal. You can select a
portal by clicking on it (only if it already has alpha transparency) or
else by using the `hi' command. Legal values for p_alpha are between 0
and 100.
snd_volume
- Change the master volume. Value between 0 and 1.
lod
- Change the global LOD setting for sprite. 1 is full detail, 0 is no detail
at all (i.e. you will not see the sprite). -1 is disabled. Any value
between 0 and 1 is legal. Default is 1.
This document was generated
using texi2html