1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: Console Value</TITLE>
<META NAME="description" CONTENT="Crystal Space: Console Value">
<META NAME="keywords" CONTENT="Crystal Space: Console Value">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">
</HEAD>
<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<A NAME="SEC141"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_59.html#SEC140"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_61.html#SEC142"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_56.html#SEC137"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_57.html#SEC138"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_62.html#SEC143"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H4> 4.2.2.3 Value Commands </H4>
<!--docid::SEC141::-->
<P>
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 `<SAMP>++</SAMP>' or `<SAMP>--</SAMP>' operator before the value will
increase or decrease the value with the given amount. Example:
</P><P>
<UL>
<LI>
`<SAMP>gamma</SAMP>': show current gamma value
<P>
<LI>
`<SAMP>gamma 1.5</SAMP>': set gamma to 1.5
<P>
<LI>
`<SAMP>gamma ++0.05</SAMP>': increase gamma with 0.05
<P>
<LI>
`<SAMP>gamma --0.05</SAMP>': decrease gamma with 0.05
</UL>
<P>
The following value commands are available:
</P><P>
<DL COMPACT>
<DT><CODE>db_maxpol</CODE>
<DD>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 `<SAMP>fclear</SAMP>' and binding keys to `<SAMP>db_maxpol ++1</SAMP>' and
`<SAMP>db_maxpol --1</SAMP>' you can get the effect of drawing one polygon at a time.
<P>
<DT><CODE>db_procpol</CODE>
<DD>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.
<P>
<DT><CODE>db_octree</CODE>
<DD>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.
<P>
<DT><CODE>gamma</CODE>
<DD>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 <KBD>g</KBD> or <KBD>SHF-g</KBD> to
experiment with this value at render time. This command corresponds with
the <CODE>-gamma</CODE> commandline option and with the GAMMA configuration
option.
<P>
<DT><CODE>fov</CODE>
<DD>Control the FOV (Field Of Vision) of the display. By default this is equal
to the height (in pixels) of the current display. Press <KBD>f</KBD> or
<KBD>SHF-f</KBD> to experiment with this value at render time. This command
corresponds with the <CODE>-fov</CODE> commandline option and with the FOV
configuration option.
<P>
<DT><CODE>fovangle</CODE>
<DD>Control the FOV (Field Of Vision) of the display in angles (degrees).
<P>
<DT><CODE>cosfact</CODE>
<DD>Control the cosinus factor (default 0) used for lighting. For details,
See section <A HREF="cs_50.html#SEC126">3.2.3 Engine Configuration</A>.
<P>
<DT><CODE>p_alpha</CODE>
<DD>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 `<SAMP>hi</SAMP>' command. Legal values for p_alpha are between 0
and 100.
<P>
<DT><CODE>snd_volume</CODE>
<DD>Change the master volume. Value between 0 and 1.
<P>
<DT><CODE>lod</CODE>
<DD>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.
</DL>
<A NAME="Console Multi-Choice"></A>
<HR SIZE=1>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_59.html#SEC140"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_61.html#SEC142"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_56.html#SEC137"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_57.html#SEC138"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_62.html#SEC143"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<BR>
<FONT SIZE="-1">
This document was generated
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>
|