Debian Codegraph @

doc/geomview.html/ND_002dcolor.html

raw symbols SCIP
1 <html lang="en">
2 <head>
3 <title>ND-color - Geomview Manual</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Geomview Manual">
6 <meta name="generator" content="makeinfo 4.13">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="up" href="GCL-Reference.html#GCL-Reference" title="GCL Reference">
9 <link rel="prev" href="ND_002daxes.html#ND_002daxes" title="ND-axes">
10 <link rel="next" href="ND_002dxform.html#ND_002dxform" title="ND-xform">
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12 <meta http-equiv="Content-Style-Type" content="text/css">
13 <style type="text/css"><!--
14 pre.display { font-family:inherit }
15 pre.format { font-family:inherit }
16 pre.smalldisplay { font-family:inherit; font-size:smaller }
17 pre.smallformat { font-family:inherit; font-size:smaller }
18 pre.smallexample { font-size:smaller }
19 pre.smalllisp { font-size:smaller }
20 span.sc { font-variant:small-caps }
21 span.roman { font-family:serif; font-weight:normal; }
22 span.sansserif { font-family:sans-serif; font-weight:normal; }
23 --></style>
24 </head>
25 <body>
26 <div class="node">
27 <a name="ND-color"></a>
28 <a name="ND_002dcolor"></a>
29 <p>
30 Next:&nbsp;<a rel="next" accesskey="n" href="ND_002dxform.html#ND_002dxform">ND-xform</a>,
31 Previous:&nbsp;<a rel="previous" accesskey="p" href="ND_002daxes.html#ND_002daxes">ND-axes</a>,
32 Up:&nbsp;<a rel="up" accesskey="u" href="GCL-Reference.html#GCL-Reference">GCL Reference</a>
33 <hr>
34 </div>
35
36 <h4 class="subsection">7.2.86 ND-color</h4>
37
38 <p><a name="index-ND_002dcolor-93"></a>
39 <dl>
40 <dt><code>(ND-color CAMID</code><dd> [ (( [ID] (x1 x2 <small class="dots">...</small> xN) v r g b a v r g b a <small class="dots">...</small> )
41 ((x1 <small class="dots">...</small> xN) v r g b a v r g b a <small class="dots">...</small>) <small class="dots">...</small>)] )
42 Specifies a function, applied to each N-D vertex, which determines the
43 colors of N-dimensional objects as shown in camera CAMID.
44 Each coloring function is defined by a vector (in ID's coordinate system)
45 [x1 <small class="dots">...</small> xN] and by a sequence of value (v)/color(r g b a) tuples,
46 ordered by increasing v. The inner product v = P.[x] is linearly
47 interpolated in this table to give a color.
48 If ID is omitted, the (xi) vector is assumed in universe coordinates.
49 The ND-color command specifies a list of such functions; each vertex
50 is colored by their sum (so e.g. green intensity could indicate
51 projection along one axis while red indicated another.
52 An empty list, as in (ND-color CAMID ()), suppresses coloring.
53 With no second argument, (ND-color CAMID) returns that camera's
54 color-function list.
55 Even when coloring is enabled, objects tagged with the <code>keepcolor</code>
56 appearance attribute are shown in their natural colors.
57 </dl>
58
59 </body></html>
60