📄 tessvertex.ps
字号:
266 2398(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 2494(gluTessVertex)N1 f1069(describes)X1393(a)X1454(vertex)X1680(on)X1785(a)X1846(polygon)X2133(that)X2278(the)X2401(program)X2698(de\256nes.)X2970(Successive)X3 f3347(gluTessVertex)X1 f3863(calls)X554 2590(describe)N851(a)X916(closed)X1150(contour.)X1444(For)X1584(example,)X1905(to)X1996(describe)X2293(a)X2358(quadrilateral)X3 f2793(gluTessVertex)X1 f3311(should)X3552(be)X3656(called)X3876(four)X554 2686(times.)N3 f787(gluTessVertex)X1 f1297(can)X1429(only)X1591(be)X1687(called)X1899(between)X3 f2187(gluTessBeginContour)X1 f2948(and)X3 f3084(gluTessEndContour)X1 f3771(.)X2 f554 2820(data)N1 f716(normally)X1025(points)X1240(to)X1322(a)X1378(structure)X1679(containing)X2037(the)X2155(vertex)X2376(location,)X2674(as)X2761(well)X2919(as)X3006(other)X3192(per-vertex)X3544(attributes)X3863(such)X554 2916(as)N659(color)X862(and)X1016(normal.)X1321(This)X1501(pointer)X1766(is)X1857(passed)X2109(back)X2299(to)X2399(the)X2534(user)X2705(through)X2991(the)X3 f3126(GLU_TESS_VERTEX)X1 f3943(or)X3 f554 3012(GLU_TESS_VERTEX_DATA)N1 f1621(callback)X1909(after)X2077(tessellation)X2457(\(see)X2607(the)X3 f2725(gluTessCallback)X1 f3308 0.4531(reference)AX3629(page\).)X9 s266 3146(E)N268(EX)X314(XA)X368(AM)X422(MP)X488(PL)X530(LE)X576(E)X10 s554 3242(A)N632(quadrilateral)X1058(with)X1220(a)X1276(triangular)X1608(hole)X1766(in)X1848(it)X1912(can)X2044(be)X2140(described)X2468(as)X2555(follows:)X554 3434(gluTessBeginPolygon\(tobj,)N1451(NULL\);)X576 3530(gluTessBeginContour\(tobj\);)N620 3626(gluTessVertex\(tobj,)N1279(v1,)X1399(v1\);)X620 3722(gluTessVertex\(tobj,)N1279(v2,)X1399(v2\);)X620 3818(gluTessVertex\(tobj,)N1279(v3,)X1399(v3\);)X620 3914(gluTessVertex\(tobj,)N1279(v4,)X1399(v4\);)X576 4010(gluTessEndContour\(tobj\);)N576 4106(gluTessBeginContour\(tobj\);)N620 4202(gluTessVertex\(tobj,)N1279(v5,)X1399(v5\);)X620 4298(gluTessVertex\(tobj,)N1279(v6,)X1399(v6\);)X620 4394(gluTessVertex\(tobj,)N1279(v7,)X1399(v7\);)X576 4490(gluTessEndContour\(tobj\);)N1436(gluTessEndPolygon\(tobj\);)X9 s266 4720(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 4816(It)N628(is)X706(a)X767(common)X1072(error)X1255(to)X1343(use)X1476(a)X1538(local)X1720(variable)X2005(for)X2 f2125(location)X1 f2413(or)X2 f2506(data)X1 f2674(and)X2816(store)X2998(values)X3229(into)X3379(it)X3449(as)X3542(part)X3693(of)X3786(a)X3848(loop.)X554 4912(For)N685(example:)X1019(for)X1133(\(i)X1202(=)X1267(0;)X1349(i)X1391(<)X1456(NVERTICES;)X1938(++i\))X2097({)X594 5008(GLdouble)N939(data[3];)X594 5104(data[0])N842(=)X907(vertex[i][0];)X594 5200(data[1])N842(=)X907(vertex[i][1];)X594 5296(data[2])N842(=)X907(vertex[i][2];)X594 5392(gluTessVertex\(tobj,)N1253(data,)X1427(data\);)X594 5488(})N554 5622(This)N725(doesn't)X990(work.)X1224(Because)X1521(the)X1648(pointers)X1935(speci\256ed)X2249(by)X2 f2358(location)X1 f2649(and)X2 f2794(data)X1 f2965(might)X3180(not)X3311(be)X3417 0.3750(dereferenced)AX3864(until)X3 f554 5718(gluTessEndPolygon)N1 f1248(is)X1322(executed,)X1648(all)X1748(the)X1866(vertex)X2087(coordinates)X2477(but)X2599(the)X2717(very)X2880(last)X3011(set)X3120(could)X3318(be)X3414(overwritten)X3804(before)X554 5814(tessellation)N934(begins.)X266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X2 p%%Page: 2 210 s 0 xH 0 xS 1 f10 f0 96(h)N24(hhh)X4176(h)X4200(hhh)X9 s1 f266 480(G)N268(GL)X322(LU)X368(UT)X422(TE)X468(ES)X514(SS)X556(SV)X598(VE)X652(ER)X698(RT)X748(TE)X794(EX)X840(X)X898(\()X900(\()X936(\))X938(\))X1885(U)X1887(UN)X1941(NI)X1995(IX)X2021(X)X2093(S)X2095(Sy)X2137(ys)X2175(st)X2205(te)X2227(em)X2261(m)X2337(V)X2339(V)X3314(G)X3316(GL)X3370(LU)X3416(UT)X3470(TE)X3516(ES)X3562(SS)X3604(SV)X3646(VE)X3700(ER)X3746(RT)X3796(TE)X3842(EX)X3888(X)X3946(\()X3948(\()X3984(\))X3986(\))X10 s554 864(Two)N728(common)X1035(symptoms)X1390(of)X1484(this)X1626(problem)X1920(are)X2046(consists)X2326(of)X2421(a)X2485(single)X2704(point)X2896(\(when)X3125(a)X3189(local)X3373(variable)X3660(is)X3741(used)X3916(for)X2 f554 960(data)N1 f696(\))X746(and)X885(a)X3 f944(GLU_TESS_NEED_COMBINE_CALLBACK)X1 f2560(error)X2740(\(when)X2964(a)X3023(local)X3202(variable)X3484(is)X3560(used)X3729(for)X2 f3845(loca-)X554 1056(tion)N1 f678(\).)X9 s266 1190(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 1286(gluTessBeginPolygon)N1 f1281(,)X3 f1344(gluNewTess)X1 f1753(,)X3 f1816(gluTessBeginContour)X1 f2557(,)X3 f2621(gluTessCallback)X1 f3184(,)X3 f3248(gluTessProperty)X1 f3813(,)X3 f3877(glu-)X554 1382(TessNormal)N1 f968(,)X3 f1008(gluTessEndPolygon)X1 f266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(2)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X2 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -