📄 polygonmode.ps
字号:
9 s266 2360(D)N268(DE)X322(ES)X368(SC)X410(CR)X460(RI)X510(IP)X536(PT)X578(TI)X624(IO)X650(ON)X704(N)X3 f10 s554 2456(glPolygonMode)N1 f1116(controls)X1403(the)X1530(interpretation)X1991(of)X2087(polygons)X2409(for)X2532(rasterization.)X2 f2998(face)X1 f3162(describes)X3491(which)X3717(polygons)X2 f554 2552(mode)N1 f771(applies)X1041(to:)X1188(front-facing)X1614(polygons)X1949(\()X3 f1976(GL_FRONT)X1 f2411(\),)X2500(back-facing)X2922(polygons)X3257(\()X3 f3284(GL_BACK)X1 f3670(\),)X3759(or)X3868(both)X554 2648(\()N3 f581(GL_FRONT_AND_BACK)X1 f(\).)S1591(The)X1739(polygon)X2025(mode)X2227(affects)X2466(only)X2632(the)X2754(\256nal)X2920(rasterization)X3341(of)X3432(polygons.)X3789(In)X3880(par-)X554 2744(ticular,)N805(a)X867(polygon's)X1213(vertices)X1489(are)X1614(lit)X1706(and)X1848(the)X1972(polygon)X2260(is)X2339(clipped)X2601(and)X2743(possibly)X3035(culled)X3256(before)X3487(these)X3677(modes)X3911(are)X554 2840(applied.)N554 2974(Three)N762(modes)X991(are)X1110(de\256ned)X1366(and)X1502(can)X1634(be)X1730(speci\256ed)X2035(in)X2 f2117(mode)X1 f2291(:)X3 f554 3108(GL_POINT)N1 f1114(Polygon)X1411(vertices)X1692(that)X1843(are)X1974(marked)X2247(as)X2346(the)X2476(start)X2646(of)X2745(a)X2813(boundary)X3148(edge)X3332(are)X3463(drawn)X3696(as)X3795(points.)X1114 3204(Point)N1307(attributes)X1630(such)X1801(as)X3 f1892(GL_POINT_SIZE)X1 f2545(and)X3 f2685(GL_POINT_SMOOTH)X1 f3516(control)X3767(the)X3889(ras-)X1114 3300(terization)N1533(of)X1716(the)X1930(points.)X2281(Polygon)X2663(rasterization)X3176(attributes)X3590(other)X3872(than)X3 f1114 3396(GL_POLYGON_MODE)N1 f1982(have)X2154(no)X2254(effect.)X3 f554 3530(GL_LINE)N1 f1114(Boundary)X1462(edges)X1677(of)X1776(the)X1906(polygon)X2200(are)X2331(drawn)X2564(as)X2663(line)X2815(segments.)X3185(They)X3383(are)X3515(treated)X3767(as)X3867(con-)X1114 3626(nected)N1352(line)X1500(segments)X1826(for)X1948(line)X2096(stippling;)X2425(the)X2551(line)X2699(stipple)X2940(counter)X3209(and)X3353(pattern)X3603(are)X3729(not)X3858(reset)X1114 3722(between)N1407(segments)X1730(\(see)X3 f1885(glLineStipple)X1 f2341(\).)X2433(Line)X2605(attributes)X2928(such)X3101(as)X3 f3194(GL_LINE_WIDTH)X1 f3894(and)X3 f1114 3818(GL_LINE_SMOOTH)N1 f1891(control)X2146(the)X2272(rasterization)X2697(of)X2792(the)X2918(lines.)X3137(Polygon)X3430(rasterization)X3854(attri-)X1114 3914(butes)N1303(other)X1488(than)X3 f1646(GL_POLYGON_MODE)X1 f2514(have)X2686(no)X2786(effect.)X3 f554 4048(GL_FILL)N1 f1114(The)X1346(interior)X1689(of)X1863(the)X2068(polygon)X2437(is)X2597(\256lled.)X2908(Polygon)X3282(attributes)X3688(such)X3943(as)X3 f1114 4144(GL_POLYGON_STIPPLE)N1 f2079(and)X3 f2229(GL_POLYGON_SMOOTH)X1 f3221(control)X3482(the)X3613(rasterization)X1114 4240(of)N1201(the)X1319(polygon.)X9 s266 4374(E)N268(EX)X314(XA)X368(AM)X422(MP)X488(PL)X530(LE)X576(ES)X622(S)X10 s554 4470(To)N706(draw)X931(a)X1031(surface)X1328(with)X1534(\256lled)X1762(back-facing)X2206(polygons)X2563(and)X2743(outlined)X3069(front-facing)X3517(polygons,)X3894(call)X554 4566(glPolygonMode\()N3 f1096(GL_FRONT)X1 f1531(,)X3 f1571(GL_LINE)X1 f1921(\);)X9 s266 4700(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 4796(Vertices)N843(are)X963(marked)X1225(as)X1313(boundary)X1637(or)X1725(nonboundary)X2169(with)X2332(an)X2429(edge)X2603(\257ag.)X2785(Edge)X2972(\257ags)X3145(are)X3266(generated)X3601(internally)X3930(by)X554 4892(the)N672(GL)X799(when)X993(it)X1057(decomposes)X1469(polygons;)X1804(they)X1962(can)X2094(be)X2190(set)X2299(explicitly)X2621(using)X3 f2814(glEdgeFlag)X1 f3200(.)X9 s266 5026(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 5122(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X1836(either)X2 f2039(face)X1 f2193(or)X2 f2280(mode)X1 f2474(is)X2547(not)X2669(an)X2765(accepted)X3067(value.)X3 f554 5256(GL_INVALID_OPERATION)N1 f1600(is)X1673(generated)X2006(if)X3 f2075(glPolygonMode)X1 f2628(is)X2701(executed)X3007(between)X3295(the)X3413(execution)X3745(of)X3 f3832(glBe-)X554 5352(gin)N1 f680(and)X816(the)X934(corresponding)X1413(execution)X1745(of)X3 f1832(glEnd)X1 f2035(.)X9 s266 5486(A)N268(AS)X322(SS)X364(SO)X406(OC)X460(CI)X510(IA)X536(AT)X590(TE)X636(ED)X682(D)X766(G)X768(GE)X822(ET)X868(TS)X914(S)X3 f10 s554 5582(glGet)N1 f761(with)X923(argument)X3 f1246(GL_POLYGON_MODE)X1 f9 s266 5716(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5812(glBegin)N1 f811(,)X3 f851(glEdgeFlag)X1 f1237(,)X3 f1277(glLineStipple)X1 f1733(,)X3 f1773(glLineWidth)X1 f2207(,)X3 f2247(glPointSize)X1 f2629(,)X3 f2669(glPolygonStipple)X1 f266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X1 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -