⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 map2.ps

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 PS
📖 第 1 页 / 共 3 页
字号:
816 5642(locations.)N1145(The)X1290(initial)X1496(value)X1690(of)X2 f1777(vstride)X1 f2015(is)X2088(0.)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(LM)X368(MA)X434(AP)X488(P2)X530(2)X572(\()X574(\()X610(\))X612(\))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)X3640(G)X3642(GL)X3696(LM)X3742(MA)X3808(AP)X3862(P2)X3904(2)X3946(\()X3948(\()X3984(\))X3986(\))X2 f10 s554 864(vorder)N1 f816(Speci\256es)X1134(the)X1262(dimension)X1625(of)X1722(the)X1850(control)X2107(point)X2301(array)X2497(in)X2589(the)X2717($v$)X2867(axis.)X3066(Must)X3260(be)X3366(positive.)X3669(The)X3824(initial)X816 960(value)N1010(is)X1083(1.)X2 f554 1094(points)N1 f816(Speci\256es)X1125(a)X1181(pointer)X1428(to)X1510(the)X1628(array)X1814(of)X1901(control)X2148(points.)X9 s266 1228(D)N268(DE)X322(ES)X368(SC)X410(CR)X460(RI)X510(IP)X536(PT)X578(TI)X624(IO)X650(ON)X704(N)X10 s554 1324(Evaluators)N921(provide)X1190(a)X1250(way)X1408(to)X1494(use)X1625(polynomial)X2013(or)X2104(rational)X2373(polynomial)X2761(mapping)X3066(to)X3153(produce)X3437(vertices,)X3732(normals,)X554 1420(texture)N804(coordinates,)X1221(and)X1364(colors.)X1627(The)X1779(values)X2011(produced)X2336(by)X2442(an)X2544(evaluator)X2869(are)X2994(sent)X3149(on)X3255(to)X3343(further)X3588(stages)X3810(of)X3903(GL)X554 1516(processing)N923(just)X1064(as)X1157(if)X1232(they)X1396(had)X1538(been)X1716(presented)X2050(using)X3 f2249(glVertex)X1 f2544(,)X3 f2590(glNormal)X1 f2915(,)X3 f2961(glTexCoord)X1 f3370(,)X3417(and)X3 f3560(glColor)X1 f3845(com-)X554 1612(mands,)N803(except)X1033(that)X1173(the)X1291(generated)X1624(values)X1849(do)X1949(not)X2071(update)X2305(the)X2423(current)X2671(normal,)X2938(texture)X3181(coordinates,)X3591(or)X3678(color.)X554 1746(All)N680(polynomial)X1068(or)X1159(rational)X1428(polynomial)X1816(splines)X2062(of)X2154(any)X2295(degree)X2535(\(up)X2667(to)X2754(the)X2877(maximum)X3226(degree)X3466(supported)X3807(by)X3912(the)X554 1842(GL)N682(implementation\))X1232(can)X1365(be)X1462(described)X1790(using)X1983(evaluators.)X2373(These)X2585(include)X2841(almost)X3074(all)X3174(surfaces)X3458(used)X3625(in)X3707(computer)X554 1938(graphics,)N866(including)X1188(B-spline)X1479(surfaces,)X1783(NURBS)X2069(surfaces,)X2373(Bezier)X2603(surfaces,)X2907(and)X3043(so)X3134(on.)X554 2072(Evaluators)N917(de\256ne)X1133(surfaces)X1417(based)X1620(on)X1720(bivariate)X2021(Bernstein)X2348(polynomials.)X2803(De\256ne)X3037($p)X3137(\()X3184(u)X3244(hat)X3362(,)X3402(v)X3462(hat)X3580(\))X3627($)X3687(as)X554 2264(p)N614(\()X661(u)X721(hat)X839(,)X879(v)X939(hat)X1057(\303\))X1131(\304\304=\304\304)X1304(up)X1404(10)X1504({sum)X1695(from)X1871(i=0)X1998(to)X2080(n)X2140(sum)X2293(from)X2469(j=0)X2596(to)X2678(m})X2798(B)X2871(sub)X3002(i)X3044(sup)X3175(n)X3235(\()X3282(u)X3342(hat)X3460(\303\))X3534(B)X3607(sub)X3738(j)X3780(sup)X3911(m)X3993(\()X4040(v)X4100(hat)X4218(\303\))X4292(R)X4365(sub)X4496(ij)X554 2494(where)N771($R)X884(sub)X1015(ij$)X1119(is)X1192(a)X1248(control)X1495(point,)X1699($B)X1812(sub)X1943(i)X1985(sup)X2116(n)X2176(\()X2223(u)X2283(hat)X2401(\303\)$)X2515(is)X2588(the)X2706($i$th)X2890(Bernstein)X3217(polynomial)X3601(of)X3688(degree)X554 2590($n$)N694(\()X2 f721(uorder)X1 f959(=)X1024($n)X1124(+)X1189(1$\))X554 2782(B)N627(sub)X758(i)X800(sup)X931(n)X991(\()X1038(u)X1098(hat)X1216(\303\))X1290(\304\304=\304\304)X1463(left)X1590(\()X1637(down)X1835(20)X1935({cpile)X2149({)X2207(n)X2267(above)X2479(i)X2521(}})X2617(\304\304)X2691(right)X2862(\))X2909(u)X2969(hat)X3087(sup)X3218(i)X3260(\()X3307(1)X3367(-)X3414(u)X3474(hat)X3592(\303\))X3666(sup)X3797({)X3855(n)X3915(-)X3962(i)X4004(})X554 2974(and)N690($B)X803(sub)X934(j)X976(sup)X1107(m)X1189(\()X1236(v)X1296(hat)X1414(\303\)$)X1528(is)X1601(the)X1719($j$th)X1903(Bernstein)X2230(polynomial)X2614(of)X2701(degree)X2936($m$)X3098(\()X2 f3125(vorder)X1 f3359(=)X3424($m)X3546(+)X3611(1$\))X554 3166(B)N627(sub)X758(j)X800(sup)X931(m)X1013(\()X1060(v)X1120(hat)X1238(\303\))X1312(\304\304=\304\304)X1485(left)X1612(\()X1659(down)X1857(20)X1957({cpile)X2171({)X2229(m)X2311(above)X2523(j)X2565(}})X2661(\304\304)X2735(right)X2906(\))X2953(v)X3013(hat)X3131(sup)X3262(j)X3304(\()X3351(1)X3411(-)X3458(v)X3518(hat)X3636(\303\))X3710(sup)X3841({)X3899(m)X3981(-)X4028(j)X4070(})X554 3358(Recall)N779(that)X992 3454($0)N1092(sup)X1223(0)X1283(\304==\304)X1447(1)X1507($)X1567(and)X1703($)X1763(left)X1890(\()X1937(down)X2135(20)X2235({cpile)X2449({)X2507(n)X2567(above)X2779(\3040)X2866(}})X2962(\304\304)X3036(right)X3207(\))X3254(\304\304==\304\304)X3472(1)X3532($)X3 f554 3646(glMap2)N1 f840(is)X917(used)X1088(to)X1174(de\256ne)X1394(the)X1516(basis)X1700(and)X1840(to)X1926(specify)X2182(what)X2362(kind)X2528(of)X2619(values)X2848(are)X2971(produced.)X3335(Once)X3530(de\256ned,)X3811(a)X3872(map)X554 3742(can)N703(be)X816(enabled)X1102(and)X1254(disabled)X1557(by)X1673(calling)X3 f1927(glEnable)X1 f2264(and)X3 f2416(glDisable)X1 f2767(with)X2945(the)X3079(map)X3253(name,)X3483(one)X3635(of)X3738(the)X3872(nine)X554 3838(prede\256ned)N927(values)X1167(for)X2 f1296(target)X1 f1487(,)X1542(described)X1885(below.)X2156(When)X3 f2383(glEvalCoord2)X1 f2893(presents)X3191(values)X3431($u$)X3586(and)X3737($v$,)X3912(the)X554 3934(bivariate)N855(Bernstein)X1182(polynomials)X1597(are)X1716(evaluated)X2044(using)X2237($u)X2337(hat$)X2495(and)X2631($v)X2731(hat$,)X2909(where)X1539 4126($u)N1639(hat)X1757(\304\304=\304\304)X1930({u)X2028(\304-\304)X2129("u1"})X2333(over)X2496({"u2")X2700(\304-\304)X2801("u1"}$)X1539 4318($v)N1639(hat)X1757(\304\304=\304\304)X1930({v)X2028(\304-\304)X2129("v1"})X2333(over)X2496({"v2")X2700(\304-\304)X2801("v1"}$)X2 f554 4510(target)N1 f765(is)X838(a)X894(symbolic)X1207(constant)X1494(that)X1634(indicates)X1939(what)X2115(kind)X2277(of)X2364(control)X2611(points)X2826(are)X2945(provided)X3250(in)X2 f3332(points)X1 f3527(,)X3567(and)X3704(what)X3881(out-)X554 4606(put)N676(is)X749(generated)X1082(when)X1276(the)X1394(map)X1552(is)X1625(evaluated.)X1993(It)X2062(can)X2194(assume)X2450(one)X2586(of)X2673(nine)X2831(prede\256ned)X3190(values:)X3 f554 4740(GL_MAP2_VERTEX_3)N1 f1554(Each)X1740(control)X1992(point)X2181(is)X2260(three)X2447(\257oating-point)X2908(values)X3139(representing)X3562($x$,)X3728($y$,)X3894(and)X1554 4836($z$.)N1765(Internal)X3 f2070(glVertex3)X1 f2460(commands)X2862(are)X3016(generated)X3384(when)X3613(the)X3765(map)X3957(is)X1554 4932(evaluated.)N3 f554 5066(GL_MAP2_VERTEX_4)N1 f1554(Each)X1741(control)X1994(point)X2184(is)X2263(four)X2423(\257oating-point)X2884(values)X3116(representing)X3540($x$,)X3707($y$,)X3874($z$,)X1554 5162(and)N1706($w$.)X1920(Internal)X3 f2206(glVertex4)X1 f2577(commands)X2960(are)X3094(generated)X3442(when)X3651(the)X3784(map)X3957(is)X1554 5258(evaluated.)N3 f554 5392(GL_MAP2_INDEX)N1 f1554(Each)X1756(control)X2024(point)X2229(is)X2324(a)X2402(single)X2635(\257oating-point)X3112(value)X3328(representing)X3767(a)X3845(color)X1554 5488(index.)N1793(Internal)X3 f2063(glIndex)X1 f2340(commands)X2707(are)X2826(generated)X3159(when)X3353(the)X3471(map)X3629(is)X3702(evaluated)X1554 5584(but)N1684(the)X1810(current)X2066(index)X2272(is)X2354(not)X2485(updated)X2768(with)X2939(the)X3066(value)X3269(of)X3365(these)X3 f3559(glIndex)X1 f3845(com-)X1554 5680(mands.)N266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(2)X3 p%%Page: 3 310 s 0 xH 0 xS 1 f10 f0 96(h)N24(hhh)X4176(h)X4200(hhh)X9 s1 f266 480(G)N268(GL)X322(LM)X368(MA)X434(AP)X488(P2)X530(2)X572(\()X574(\()X610(\))X612(\))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)X3640(G)X3642(GL)X3696(LM)X3742(MA)X3808(AP)X3862(P2)X3904(2)X3946(\()X3948(\()X3984(\))X3986(\))X3 f10 s554 864(GL_MAP2_COLOR_4)N1 f1554(Each)X1735(control)X1982(point)X2166(is)X2239(four)X2393(\257oating-point)X2848(values)X3073(representing)X3490(red,)X3633(green,)X3852(blue,)X1554 960(and)N1706(alpha.)X1956(Internal)X3 f2242(glColor4)X1 f2576(commands)X2959(are)X3094(generated)X3442(when)X3651(the)X3784(map)X3957(is)X1554 1056(evaluated)N1903(but)X2046(the)X2185(current)X2454(color)X2661(is)X2756(not)X2900(updated)X3196(with)X3380(the)X3520(value)X3736(of)X3845(these)X3 f1554 1152(glColor4)N1 f1872(commands.)X3 f554 1286(GL_MAP2_NORMAL)N1 f1554(Each)X1742(control)X1996(point)X2187(is)X2267(three)X2455(\257oating-point)X2918(values)X

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -