summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p348
blob: beca5a21ada1e5817d15e8fe9776b859b09ecedd (plain)
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
.\"##
.\" $XConsortium: p348,v 5.1 91/02/16 09:43:48 rws Exp $
.\"##
.\"## 
$XMCOPY
.\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. 
.\"## 
.\"##                         All Rights Reserved
.\"## 
.\"## Permission to use, copy, modify, and distribute this software and its 
.\"## documentation for any purpose and without fee is hereby granted, 
.\"## provided that the above copyright notice appear in all copies and that
.\"## both that copyright notice and this permission notice appear in 
.\"## supporting documentation, and that the name of Sun Microsystems,
.\"## not be used in advertising or publicity 
.\"## pertaining to distribution of the software without specific, written 
.\"## prior permission.  
.\"## 
.\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
.\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\"## PERFORMANCE OF THIS SOFTWARE.
.\" 1. Substitute PHIGS+ function name (in CAPS) for "PNAME" in line below:
.ds pN SET OF FILL AREA SET 3 WITH DATA
.TH "\*(pN" 3P+ "29 February 1991"
.SH NAME
\*(pN \-
create a \s-23D\s+2 set of fill area set 3 with data structure element
that includes colour and shading data
.IX "PHIGS Extension Functions" "\*(pN"
.IX "Filled Area Primitives" "SET OF FILL AREA SET 3 WITH DATA"
.IX "Primitives, Filled Area Primitives" "SET OF FILL AREA SET 3 WITH DATA"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
.\" 6. Insert C syntax below
void
pset_of_fill_area_set3_data ( fflag, eflag, vflag, colour_model, num_sets, fdata, edata, vlist, vdata )
Pint	fflag;	\fIdata per facet  flag\fP
Pint	eflag;	\fIdata per edge flag\fP
Pint	vflag;	\fIdata per vertex flag\fP
Pint	colour_model;	\fIcolour model\fP
Pint	num_sets;	\fInumber of facets (fill area sets)\fP
Pfacet_data_arr3	*fdata;	\fIarray of L({COLRV}{,NORM}) facet data\fP
Pedge_data_list_list	*edata;	\fIarray of L(L(E)) edge data\fP
Pint_list_list	*vlist;	\fIarray of L(L(I)) vertex indices\fP
Pfacet_vdata_list3	*vdata;	\fIarray of L(P3,{COLRV}{,NORM}) facet vertex data\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, STOP, *)
.SH DESCRIPTION
.SS Purpose
\s-2SET OF FILL AREA SET 3 WITH DATA\s+2 creates a set of 
fill area set 3 primitive with colour and shading data.  
.LP
It generates a group of fill area sets (or facets) whose
vertices are selected by indexing into a single list of vertices.  If
the facets share common vertices, the primitive can require less
data than the corresponding collection of \s-2FILL AREA SET 3 WITH DATA\s+2
primitives.
.\" .LP
.\" This is a \s-2PHIGS\s0 Extension function based on 
.\" \s-2PHIGS PLUS\s+2 and is not part of the 
.\" \s-2PHIGS\s+2 standard.
.SS C Input Parameters
All of the following data types are predefined in phigs.h.
.IP \fIfflag\fR
The data per facet flag specifies the available data for each facet
in the set of fill area set 3.
.sp
.nf
.ta .5i +\w'0     'u +\w'PFACET_COLOUR_NORMAL    'u
0	PFACET_NONE	\fINo Facet Data Specified\fP
1	PFACET_COLOUR	\fIFacet Colours Specified\fP
2	PFACET_NORMAL	\fIFacet Normals Specified\fP
3	PFACET_COLOUR_NORMAL	\fIFacet Normals and Colours Specified\fP
.sp
.fi
.IP \fIeflag\fR
The data per edge flag specifies the available information for
each edge of each facet
in the set of fill area set 3.
.sp
.nf
.ta .5i +\w'0     'u +\w'PEDGE_VISIBILITY     'u
0	PEDGE_NONE	\fINo Edge Data Specified\fP
1	PEDGE_VISIBILITY	\fIEdge Visibility Flags Specified\fP
.sp
.fi
.IP \fIvflag\fR
The data per vertex flag specifies the available data for
each vertex of the primitive.
.sp
.nf
.ta .5i +\w'0     'u +\w'PVERT_COORD_COLOUR_NORMAL     'u 
0	PVERT_COORD	\fICoordinates Specified\fP
1	PVERT_COORD_COLOUR	\fICoordinates and Vertex Colours Specified\fP
2	PVERT_COORD_NORMAL	\fICoordinates and Vertex Normals Specified\fP
3	PVERT_COORD_COLOUR_NORMAL	\fICoordinates, Vertex Colours, and Vertex Normals Specified\fP
.sp
.fi
.IP \fIcolour_model\fR
The colour model for specified vertex colours.
.nf
.ta .5i +\w'0     'u +\w'PINDIRECT     'u
0	PINDIRECT	\fIColour Index Specified\fP
1	PMODEL_RGB	\fIRed, Green, and Blue\fP
2	PMODEL_CIELUV	\fICIE Colour Model\fP
3	PMODEL_HSV	\fIHue, Saturation, and Value\fP
4	PMODEL_HLS	\fIHue, Lightness, and Saturation\fP
.sp
.fi
.IP \fInum_sets\fR
The number of facets.  Each facet is one fill area set.
.IP \fIfdata\fR
A pointer to a Pfacet_data_arr3 structure
that specifies the colour and/or norm information for each facet.
Pfacet_data_arr3 is defined as: 
.sp .2
.nf
.ta .5i +\w'Pconorm3     'u +\w'*conorms;     'u
.sp .2
typedef union {	
.sp .2	
	Pcoval	*colrs;	/* array (num_sets) of colours */
	Pvec3	*norms;	/* array (num_sets) of unit normals */
	Pconorm3	*conorms;	/* array (num_sets) of colours and normals */
	/* implementation-dependent types can go here */
.sp .2
} Pfacet_data_arr3;
.IP
.fi	
Pcoval is defined as: 
.sp .2
.nf
.ta .5i +\w'Pcobundl     'u +\w'direct;     'u
.sp .2
typedef union {	
.sp .2
	Pint	ind;	/* index in workstation colour bundle table */
	Pcolr_rep	direct;	/* direct colour components */
.sp .2
} Pcoval;
.IP
.fi
When colour model is \s-2PINDIRECT\s+2, index is used; otherwise
direct is used.
.IP
.fi
Pcolr_rep is defined in phigs.h as follows:
.sp .2
.ta .5i +1i +1i
.nf
.sp .2
typedef union {
.sp .2
	Prgb	rgb;	/* Red Green Blue colour specification */
	Pcieluv	cieluv;	/* CIE L*U*V* colour specification */
	Phls	hls;	/* Hue Lightness Saturation colour specification */
	Phsv	hsv;	/* Hue Saturation Value colour specification */
	Pdata	unsupp;	/* Colour in unsupported colour model */
.sp .2
} Pcolr_rep
.fi
.IP
Prgb is defined in phigs.h as follows:
.nf
.ta .5i +1i +1i
.sp .2
typedef struct {
.sp .2
	Pfloat	red;	/* red, hue, etc */
	Pfloat	green;	/* green, saturation, lightness, etc */
	Pfloat	blue;	/* blue, value, saturation, etc */
.sp .2
} Prgb;
.fi
.IP
Pcieluv is defined in phigs.h as follows:
.nf
.ta .5i +1i +1i
.sp .2
typedef struct {
.sp .2
	Pfloat	cieluv_x;	/* x coefficient */
	Pfloat	cieluv_y;	/* y coefficient */
	Pfloat	cieluv_y_lum;	/* y luminance */
.sp .2
} Pcieluv;
.fi
.IP
Phls is defined in phigs.h as follows:
.nf
.ta .5i +1i +1i
.sp .2
typedef struct {
.yp .2
	Pfloat	hue;	/* hue */
	Pfloat	lightness;	/* lightness */
	Pfloat	satur;	/* saturation */
.sp .2
} Phls;
.fi
.IP
Phsv is defined in phigs.h as follows:
.nf
.ta .5i +1i +1i
.sp .2
typedef struct {
.sp .2
	Pfloat	hue;	/* hue */
	Pfloat	satur;	/* saturation */
	Pfloat	value;	/* value */
.sp .2
} Phsv;
.fi
.IP
Pdata is defined in phigs.h as follows:
.nf
.ta .5i +1i +1i
.sp .2
typedef struct {
.sp .2
	size_t	size;	/* size of data */
	char	*data	/* pointer to data */
.sp .2
} Pdata;
.fi
.IP
Pconorm3 is defined as:
.sp .2
.nf
.ta .5i +\w'Pvec3     'u +\w'norm;     'u
.sp .2
typedef struct {
.sp .2
	Pcoval	colr;	/* colour */
	Pvec3	norm;	/* unit normal */
.sp .2
} Pconorm3;
.IP
.fi
Pcoval is defined above.
Pvec3 is defined as:
.sp .2
.nf
.ta .5i +\w'Pfloat     'u +\w'delta_y;     'u
.sp .2
typedef struct {
.sp .2
	Pfloat	delta_x;	/* x magnitude */
	Pfloat	delta_y;	/* y magnitude */
	Pfloat	delta_z;	/* z magnitude */
.sp .2
} Pvec3;
.fi
.IP \fIedata\fR
A pointer to an array (num_sets) of Pedge_data_list_list structures.  Each 
Pedge_data_list_list structure specifies the edge data list for
the corresponding facet
(fill area set).  Each Pedge_data_list structure contains a list of edge
flags for a single bound in a facet.
The first element of the Pedge_data_arr edge data array contains the
information pertaining to the edge that falls between the first 
and second vertex index.  The number of edges will be the same as the number
of vertices in the vlist data structure.  Pedge_data_list_list (edge data
for a single fill area set) is defined as:
.sp .4
.nf
.ta .5i +\w'Pedge_data_list     'u +\w'num_lists;     'u
typedef struct {
.sp .2
	Pint	num_lists;	/* number of Pedge_data_lists (bounds) in list */
	Pedge_data_list	*edgelist;	/* list of edge data list */
.sp .2
} Pedge_data_list_list;             		
.IP
.fi
Pedge_data_list (list of edges for one bound) is defined as:
.sp .2
.nf
.ta .5i +\w'Pedge_data_arr     'u +\w'num_edges;     'u
.sp .2
typedef struct {
.sp .2
	Pint	num_edges;	/* number of edges */
	Pedge_data_arr	edgedata;	/* edge data */
.sp .2
} Pedge_data_list;
.IP
.fi
Pedge_data_arr is defined as:
.ta .5i +\w'Pedge_flag     'u +\w'edges;     'u
.sp .4
typedef union {
.sp .2
	Pedge_flag	*edges;	/* array of edge flags */
.fi
	/* implementation-dependent data */  	
.sp .2
} Pedge_data_arr;
.IP
.fi
Pedge_flag is defined as:
.sp .2
.nf
.ta .5i +\w'PEDGE_OFF,     'u
.sp .2
typedef enum {
.sp .2
	PEDGE_OFF,
	PEDGE_ON
.sp .2
} Pedge_flag;
.fi
.IP \fIvlist\fR
A pointer to an array (num_sets) of Pint_list_list structures.  Each Pint_list_list
structure specifies the integer list for the corresponding
facet (fill area set).
Each Pint_list structure contains the indices into the 
vertex data that specify a single bound of each facet.  Pint_list_list
(bounds for a single fill area set) is defined as:
.sp .4
.nf
.ta .5i +\w'Pint_list     'u +\w'num_lists;     'u
typedef struct {
.sp .2
	Pint	num_lists;	/* number of Pint_lists in list */
	Pint_list	*lists;	/* list of integer lists */
.sp .2
} Pint_list_list;
.IP
.fi
Pint_list (vertex indices for all vertices in a single bound) is defined as:
.sp .2
.nf
.ta .5i +\w'Pint     'u +\w'num_ints;     'u
.sp .2
typedef struct {
.sp .2
	Pint	num_ints;	/* number of Pints in list */
	Pint	*ints;	/* list of integers */
.fi
.sp .2
} Pint_list;
.IP \fIvdata\fR
A pointer to a Pfacet_vdata_list3 structure
that specifies the set of fill area set 3 vertices and 
optionally associated colour and norm information.
Pfacet_vdata_list3 is defined as: 
.nf
.ta .5i +\w'Pfacet_vdata_arr3     'u +\w'num_vertices;     'u
.sp .2
typedef struct {
.sp .2
	Pint	num_vertices;	/* number of vertices */
	Pfacet_vdata_arr3	vertex_data;	/* facet vertex data */
.sp .2
} Pfacet_vdata_list3;
.IP
.fi
Pfacet_vdata_arr3 is defined as:
.sp .2
.nf
.ta .5i +\w'Pptconorm3     'u +\w'*ptconorms;     'u
.sp .2
typedef union {	
.sp .2			
	Ppoint3	*points;	/* array of points */
	Pptco3	*ptcolrs;	/* array of points and colours */
	Pptnorm3	*ptnorms;	/* array of points and normals */
	Pptconorm3	*ptconorms;	/* array of points, colours, and normals */
	/* implementation-dependent data pointer */
.sp .2
} Pfacet_vdata_arr3;
.IP
.fi
Ppoint3 is defined as: 
.sp .2
.nf
.ta .5i +\w'Pfloat     'u +\w'x;     'u
.sp .2
typedef struct {
.sp .2
	Pfloat	x;	/* x coordinate */
	Pfloat	y;	/* y coordinate */
	Pfloat	z;	/* z coordinate */
.sp .2
} Ppoint3;
.IP
.fi
Pptco3 is defined as:
.sp .2
.nf
.ta .5i +\w'Ppoint3     'u +\w'colour;     'u
.sp .2
typedef struct {	
.sp .2
	Ppoint3	point;	/* point coordinates */
	Pcoval	colr;	/* colour */
.sp .2
} Pptco3;
.IP
.fi
Ppoint3 and Pcoval are defined above.
.\" Pcoval is defined as:	 
.\" .sp .2
.\" .nf
.\" .ta .5i +\w'Pcolr_rep     'u +\w'direct;     'u
.\" .sp .2
.\" typedef union {	
.\" .sp .2
.\" 	Pint	ind;	/* index in workstation colour bundle table */
.\" 	Pcolr_rep	direct;	/* direct colour components */
.\" .sp .2
.\" } Pcoval;
.\" .IP
.\" .fi
.\" When colour model is \s-2PINDIRECT\s+2, index is used; otherwise
.\" direct is used.
.\" .IP
.\" .fi
.\" Pcolr_rep is defined as:
.\" .ta .5i +1i +1i
.\" .nf
.\" .sp .2
.\" typedef union {
.\" .sp .2
.\" 	Prgb	rgb;	/* Red Green Blue colour specification */
.\" 	Pcieluv	cieluv;	/* CIE L*U*V* colour specification */
.\" 	Phls	hls;	/* Hue Lightness Saturation colour specification */
.\" 	Phsv	hsv;	/* Hue Saturation Value colour specification */
.\" 	Pdata	unsupp;	/* Colour in unsupported colour model */
.\" .sp .2
.\" } Pcolr_rep
.\" .fi
.\" .IP
.\" Prgb is defined in phigs.h as follows:
.\" .nf
.\" .ta .5i +1i +1i
.\" .sp .2
.\" typedef struct {
.\" .sp .2
.\" 	Pfloat	red;	/* red, hue, etc */
.\" 	Pfloat	green;	/* green, saturation, lightness, etc */
.\" 	Pfloat	blue;	/* blue, value, saturation, etc */
.\" .sp .2
.\" } Prgb;
.\" .fi
.\" .IP
.\" Pcieluv is defined in phigs.h as follows:
.\" .nf
.\" .ta .5i +1i +1i
.\" .sp .2
.\" typedef struct {
.\" .sp .2
.\" 	Pfloat	cieluv_x;	/* x coefficient */
.\" 	Pfloat	cieluv_y;	/* y coefficient */
.\" 	Pfloat	cieluv_y_lum;	/* y luminance */
.\" .sp .2
.\" } Pcieluv;
.\" .fi
.\" .IP
.\" Phls is defined in phigs.h as follows:
.\" .nf
.\" .ta .5i +1i +1i
.\" .sp .2
.\" typedef struct {
.\" .sp .2
.\" 	Pfloat	hue;	/* hue */
.\" 	Pfloat	lightness;	/* lightness */
.\" 	Pfloat	satur;	/* saturation */
.\" .sp .2
.\" } Phls;
.\" .fi
.\" .IP
.\" Phsv is defined in phigs.h as follows:
.\" .nf
.\" .ta .5i +1i +1i
.\" .sp .2
.\" typedef struct {
.\" .sp .2
.\" 	Pfloat	hue;	/* hue */
.\" 	Pfloat	satur;	/* saturation */
.\" 	Pfloat	value;	/* value */
.\" .sp .2
.\" } Phsv;
.\" .fi
.\" .IP
.\" Pdata is defined in phigs.h as follows:
.\" .nf
.\" .ta .5i +1i +1i
.\" .sp .2
.\" typedef struct {
.\" .sp .2
.\" 	size_t	size;	/* size of data */
.\" 	char	*data	/* pointer to data */
.\" .sp .2
.\" } Pdata;
.\" .fi
.IP
Pptnorm3 is defined as:
.sp .2
.nf
.ta .5i +\w'Ppoint3     'u +\w'norm;     'u
.sp .2
typedef struct {	
.sp .2
	Ppoint3	point;	/* point coordinates */
	Pvec3	norm;	/* unit normal */
.sp .2
} Pptnorm3;
.IP
.fi
Ppoint3 and Pvec3 are defined above.
.\" .sp .2
.\" .nf
.\" .ta .5i +\w'Pfloat     'u +\w'delta_y;     'u
.\" .sp .2
.\" typedef struct {
.\" .sp .2
.\" 	Pfloat	delta_x;	/* x magnitude */
.\" 	Pfloat	delta_y;	/* y magnitude */
.\" 	Pfloat	delta_z;	/* z magnitude */
.\" .sp .2
.\" } Pvec3;
.IP
.fi
Pptconorm3 is defined as: 
.sp .2
.nf
.ta .5i +\w'Ppoint3     'u +\w'norm;     'u
.sp .2
typedef struct {	
.sp .2
	Ppoint3	point;	/* point coordinates */
	Pcoval	colr;	/* colour */
	Pvec3	norm;	/* unit normal */
.sp .2
} Pptconorm3;
.IP
.fi
Ppoint3, Pcoval, and Pvec3 are defined above.
.SS Execution
Depending on the edit mode, a \s-2SET OF FILL AREA SET 3 WITH DATA\s+2
element is inserted into the open structure after the element 
pointer, or it replaces the element pointed to by the element pointer. 
In either case, the element pointer is updated to point to the 
newly created \s-2SET OF FILL AREA SET 3 WITH DATA\s+2 element.
.LP
When the structure is traversed, \s-2SET OF FILL AREA SET 3 WITH DATA\s+2
generates a group of implicitly closed 
facets. Each facet is rendered as a fill area set. The collection 
of facets need not be coplanar and need not necessarily form
a closed surface. Vertices that
define the facet contours are selected through an array of 
indices. Each array references specific coordinates from the
vertex list. The odd winding rule defines the facet interior. 
The application should insure that each facet's points are coplanar.
Non-coplanar facet display is device-dependent. Facets containing
fewer than three vertices can be created, but are ignored during 
structure traversal.
.LP    
\s-2SET OF FILL AREA SET 3 WITH DATA\s+2 uses the same attributes as the
\s-2FILL AREA SET 3 WITH DATA\s+2 structure element. 
.LP
Vertex and facet colours and normals are used to calculate the set 
colour and shading. The \s-2SET OF FILL AREA SET 3 WITH DATA\s+2
element can specify the colour and normal vector of each facet,
as well as colour and normal vectors for each vertex. Note that unexpected 
lighting effects will result if the supplied normals are not of unit length. 
.LP
Each edge has an optional visibility
flag to determine if that edge is
rendered. There must be as many lists of edge-visibility flags
as there are lists of vertex indices, and corresponding lists
must be the same length. The first edge-visibility array entry
controls edge visibility between the first two corresponding 
contour vertices. The last edge-visibility array entry controls 
edge visibility between the last and the first vertices of the
corresponding
contour. If edge visibility flags are specified, an edge 
is displayed only when the \s-2EDGE FLAG\s+2 attribute and
the edge visibility flag are both \s-2ON\s+2. If edge visibility
flags are not specified, no edges are displayed. 
.SS Attributes Applied
The attributes listed below are used to display the
\s-2SET OF FILL AREA SET 3 WITH DATA\s+2 primitive when the structure is traversed. The Aspect Source 
Flags (\s-2ASF\s+2s) tell where to access the output display attributes. 
These attributes can come directly from the traversal state list,
or they can be accessed indirectly, using the appropriate index 
in the traversal state list and the corresponding bundled 
representation in the workstation state list.
.sp 
.RS
.nf
.ta .5i +\w'back interior reflectance equation   'u 
.sp
interior colour			interior colour index \s-2ASF\s+2
back interior colour		back interior colour \s-2ASF\s+2
interior style			interior style \s-2ASF\s+2
back interior style		back interior style \s-2ASF\s+2
interior style index		interior style index \s-2ASF\s+2
back interior style index	back interior style index \s-2ASF\s+2
interior shading method		interior shading method \s-2ASF\s+2
back interior shading method	back interior shading method \s-2ASF\s+2
interior reflectance equation 	interior reflectance equation \s-2ASF\s+2
back interior reflectance equation	back interior reflectance equation \s-2ASF\s+2
area properties			area properties \s-2ASF\s+2
back area properties		back area properties \s-2ASF\s+2
interior index
edge colour			edge colour \s-2ASF\s+2
edge flag			edge flag \s-2ASF\s+2
edgetype			edgetype \s-2ASF\s+2
edgewidth scale factor		edgewidth scale factor \s-2ASF\s+2
edge index
face distinguishing mode
face culling mode
depth cue index
light source state
name set
.fi
.RE
.sp .2
.SH ERRORS
.IP 005
Ignoring function, function requires state 
(\s-2PHOP\s+2, \s-2*\s+2, \s-2STOP\s+2, \s-2*\s+2)
.IP 504
Ignoring function, one or more of the vertex indices is out
of range
.IP 513
Ignoring function, inconsistent edge flag specification.
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "FILL AREA SET 3 WITH DATA (3P+)"
.SM "INTRO PHIGS PLUS (3P+)"
.fi