| 1 |
+ |
.\" RCSid $Id$ |
| 2 |
|
.EQ |
| 3 |
|
delim @@ |
| 4 |
|
.EN |
| 839 |
|
surface normal |
| 840 |
|
.RS 3 |
| 841 |
|
.RE |
| 842 |
< |
.LP |
| 843 |
< |
\f[C]Px, Py, Pz\f[R] :intersection point |
| 842 |
> |
.IP "\f[B]\f[CB]Px, Py, Pz\f[B]\f[R]" 3 |
| 843 |
> |
intersection point |
| 844 |
> |
.RS 3 |
| 845 |
> |
.RE |
| 846 |
|
.IP "\f[B]\f[CB]T\f[B]\f[R]" 3 |
| 847 |
|
distance from start |
| 848 |
|
.RS 3 |
| 1577 |
|
.LP |
| 1578 |
|
Similar to data files, font files are usually read and stored in a |
| 1579 |
|
lookup table. |
| 1580 |
< |
The data structures for fonts are in src/common/font.h, and the routines |
| 1581 |
< |
for reading and spacing them are in \f[C]src/common/font.c\f[R]. |
| 1580 |
> |
The data structures for fonts are in \f[C]src/common/font.h\f[R], and |
| 1581 |
> |
the routines for reading and spacing them are in |
| 1582 |
> |
\f[C]src/common/font.c\f[R]. |
| 1583 |
|
The main structure type is \f[C]FONT\f[R]. |
| 1584 |
|
The routine \f[C]getfont(fname)\f[R] loads a font file from the |
| 1585 |
|
\f[I]Radiance\f[R] library (set by the \f[C]RAYPATH\f[R] environment |
| 1925 |
|
\f[I]Radiance\f[R] scene description, some of the same library routines |
| 1926 |
|
are called indirectly. |
| 1927 |
|
The header file \f[C]src/common/octree.h\f[R] is needed in addition to |
| 1928 |
< |
the \f[C]src/common/object.\f[R]h file. |
| 1928 |
> |
the \f[C]src/common/object.h\f[R] file. |
| 1929 |
|
The module \f[C]src/ot/writeoct.c\f[R] contains the main routines for |
| 1930 |
|
writing an octree to stdout, while \f[C]src/common/readoct.c\f[R] |
| 1931 |
|
contains the corresponding routines for reading an octree from a file. |
| 2644 |
|
Macro** | puts real exposure value \f[C]ex\f[R] to stream \f[C]fp\f[R]. |
| 2645 |
|
.RS 3 |
| 2646 |
|
.RE |
| 2647 |
< |
.LP |
| 2648 |
< |
\f[C]iscolcor(s)\f[R] :Macro returns non-zero if the line \f[C]s\f[R] is |
| 2649 |
< |
a \f[C]COLORCORR\f[R] setting. |
| 2647 |
> |
.IP "\f[B]\f[CB]iscolcor(s)\f[B]\f[R]" 3 |
| 2648 |
> |
Macro returns non-zero if the line \f[C]s\f[R] is a \f[C]COLORCORR\f[R] |
| 2649 |
> |
setting. |
| 2650 |
> |
.RS 3 |
| 2651 |
> |
.RE |
| 2652 |
|
.IP "\f[B]\f[CB]colcorval(cc,s)\f[B]\f[R]" 3 |
| 2653 |
|
Macro assign color correction value from line \f[C]s\f[R] in the |
| 2654 |
|
\f[C]COLOR\f[R] variable \f[C]cc\f[R]. |