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

📄 map1.ps

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 PS
📖 第 1 页 / 共 2 页
字号:
703(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 1382(prede\256ned)N917(values)X1146(for)X2 f1264(target)X1 f1479(described)X1811(below.)X3 f2071(glEvalCoord1)X1 f2570(evaluates)X2893(the)X3015(one-dimensional)X3573(maps)X3766(that)X3911(are)X554 1478(enabled.)N864(When)X3 f554 1574(glEvalCoord1)N1 f1049(presents)X1332(a)X1388(value)X1582($u$,)X1742(the)X1860(Bernstein)X2187(functions)X2505(are)X2624(evaluated)X2952(using)X3145($u)X3245(hat$,)X3423(where)X1539 1766($u)N1639(hat)X1757(\304\304=\304\304)X1930({u)X2028(\304-\304)X2129("u1"})X2333(over)X2496({"u2")X2700(\304-\304)X2801("u1"}$)X2 f554 1996(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 2092(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 2226(GL_MAP1_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 2322($z$.)N1765(Internal)X3 f2070(glVertex3)X1 f2460(commands)X2862(are)X3016(generated)X3384(when)X3613(the)X3765(map)X3957(is)X1554 2418(evaluated.)N3 f554 2552(GL_MAP1_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 2648(and)N1706($w$.)X1920(Internal)X3 f2206(glVertex4)X1 f2577(commands)X2960(are)X3094(generated)X3442(when)X3651(the)X3784(map)X3957(is)X1554 2744(evaluated.)N3 f554 2878(GL_MAP1_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 2974(index.)N1793(Internal)X3 f2063(glIndex)X1 f2340(commands)X2707(are)X2826(generated)X3159(when)X3353(the)X3471(map)X3629(is)X3702(evaluated)X1554 3070(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 3166(mands.)N3 f554 3300(GL_MAP1_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 3396(and)N1706(alpha.)X1956(Internal)X3 f2242(glColor4)X1 f2576(commands)X2959(are)X3094(generated)X3442(when)X3651(the)X3784(map)X3957(is)X1554 3492(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 3588(glColor4)N1 f1872(commands.)X3 f554 3722(GL_MAP1_NORMAL)N1 f1554(Each)X1742(control)X1996(point)X2187(is)X2267(three)X2455(\257oating-point)X2918(values)X3151(representing)X3576(the)X3702($x$,)X3870($y$,)X1554 3818(and)N1695($z$)X1836(components)X2248(of)X2340(a)X2401(normal)X2652(vector.)X2917(Internal)X3 f3191(glNormal)X1 f3540(commands)X3911(are)X1554 3914(generated)N1892(when)X2091(the)X2214(map)X2377(is)X2456(evaluated)X2790(but)X2918(the)X3042(current)X3296(normal)X3549(is)X3628(not)X3756(updated)X1554 4010(with)N1716(the)X1834(value)X2028(of)X2115(these)X3 f2300(glNormal)X1 f2645(commands.)X3 f554 4144(GL_MAP1_TEXTURE_COORD_1)N1 f1554 4240(Each)N1740(control)X1992(point)X2182(is)X2261(a)X2323(single)X2540(\257oating-point)X3001(value)X3201(representing)X3624(the)X3748($s$)X3885(tex-)X1554 4336(ture)N1699(coordinate.)X2098(Internal)X3 f1554 4432(glTexCoord1)N1 f2030(commands)X2404(are)X2530(generated)X2871(when)X3073(the)X3199(map)X3365(is)X3446(evaluated)X3782(but)X3912(the)X1554 4528(current)N1811(texture)X2063(coordinates)X2462(are)X2590(not)X2721(updated)X3004(with)X3175(the)X3302(value)X3504(of)X3599(these)X3 f3792(glTex-)X1554 4624(Coord)N1 f1792(commands.)X3 f554 4758(GL_MAP1_TEXTURE_COORD_2)N1 f1554 4854(Each)N1739(control)X1990(point)X2178(is)X2255(two)X2399(\257oating-point)X2858(values)X3087(representing)X3508(the)X3631($s$)X3767(and)X3908($t$)X1554 4950(texture)N1797(coordinates.)X2227(Internal)X3 f1554 5046(glTexCoord2)N1 f2030(commands)X2404(are)X2530(generated)X2871(when)X3073(the)X3199(map)X3365(is)X3446(evaluated)X3782(but)X3912(the)X1554 5142(current)N1811(texture)X2063(coordinates)X2462(are)X2590(not)X2721(updated)X3004(with)X3175(the)X3302(value)X3504(of)X3599(these)X3 f3792(glTex-)X1554 5238(Coord)N1 f1792(commands.)X3 f554 5372(GL_MAP1_TEXTURE_COORD_3)N1 f1554 5468(Each)N1745(control)X2002(point)X2196(is)X2279(three)X2470(\257oating-point)X2935(values)X3170(representing)X3597(the)X3726($s$,)X3888($t$,)X1554 5564(and)N1709($r$)X1855(texture)X2117(coordinates.)X2566(Internal)X3 f2855(glTexCoord3)X1 f3343(commands)X3729(are)X3867(gen-)X1554 5660(erated)N1773(when)X1969(the)X2089(map)X2249(is)X2324(evaluated)X2654(but)X2778(the)X2898(current)X3148(texture)X3393(coordinates)X3786(are)X3908(not)X1554 5756(updated)N1828(with)X1990(the)X2108(value)X2302(of)X2389(these)X3 f2574(glTexCoord)X1 f3003(commands.)X266 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(P1)X530(1)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(P1)X3904(1)X3946(\()X3948(\()X3984(\))X3986(\))X3 f10 s554 864(GL_MAP1_TEXTURE_COORD_4)N1 f1554 960(Each)N1747(control)X2007(point)X2204(is)X2290(four)X2457(\257oating-point)X2925(values)X3163(representing)X3593(the)X3724($s$,)X3888($t$,)X1554 1056($r$,)N1701(and)X1837($q$)X1977(texture)X2220(coordinates.)X2650(Internal)X3 f1554 1152(glTexCoord4)N1 f2030(commands)X2404(are)X2530(generated)X2871(when)X3073(the)X3199(map)X3365(is)X3446(evaluated)X3782(but)X3912(the)X1554 1248(current)N1811(texture)X2063(coordinates)X2462(are)X2590(not)X2721(updated)X3004(with)X3175(the)X3302(value)X3504(of)X3599(these)X3 f3792(glTex-)X1554 1344(Coord)N1 f1792(commands.)X2 f554 1478(stride)N1 f736(,)X2 f779(order)X1 f957(,)X1000(and)X2 f1139(points)X1 f1357(de\256ne)X1576(the)X1697(array)X1886(addressing)X2252(for)X2370(accessing)X2702(the)X2824(control)X3075(points.)X2 f3334(points)X1 f3553(is)X3630(the)X3752(location)X554 1574(of)N645(the)X767(\256rst)X915(control)X1166(point,)X1374(which)X1594(occupies)X1899(one,)X2059(two,)X2223(three,)X2428(or)X2519(four)X2677(contiguous)X3052(memory)X3343(locations,)X3676(depending)X554 1670(on)N662(which)X886(map)X1052(is)X1133(being)X1339(de\256ned.)X2 f1643(order)X1 f1849(is)X1930(the)X2056(number)X2329(of)X2424(control)X2679(points)X2903(in)X2994(the)X3121(array.)X2 f3356(stride)X1 f3567(speci\256es)X3872(how)X554 1766(many)N752(\257oat)X914(or)X1001(double)X1239(locations)X1548(to)X1630(advance)X1914(the)X2032(internal)X2297(memory)X2584(pointer)X2831(to)X2913(reach)X3108(the)X3226(next)X3384(control)X3631(point.)X9 s266 1900(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 1996(As)N671(is)X752(the)X878(case)X1045(with)X1215(all)X1324(GL)X1460(commands)X1836(that)X1985(accept)X2220(pointers)X2507(to)X2598(data,)X2781(it)X2854(is)X2936(as)X3032(if)X3110(the)X3237(contents)X3533(of)X2 f3629(points)X1 f3853(were)X554 2092(copied)N792(by)X3 f896(glMap1)X1 f1182(before)X3 f1412(glMap1)X1 f1698(returns.)X1985(Changes)X2285(to)X2371(the)X2493(contents)X2784(of)X2 f2874(points)X1 f3092(have)X3267(no)X3370(effect)X3577(after)X3 f3748(glMap1)X1 f554 2188(is)N627(called.)X9 s266 2322(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 2418(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(target)X1 f2047(is)X2120(not)X2242(an)X2338(accepted)X2640(value.)X3 f554 2552(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(u1)X1 f1971(is)X2044(equal)X2238(to)X2 f2320(u2)X1 f(.)S3 f554 2686(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(stride)X1 f2073(is)X2146(less)X2286(than)X2444(the)X2562(number)X2827(of)X2914(values)X3139(in)X3221(a)X3277(control)X3524(point.)X3 f554 2820(GL_INVALID_VALUE)N1 f1424(is)X1525(generated)X1886(if)X2 f1983(order)X1 f2209(is)X2311(less)X2480(than)X2667(1)X2756(or)X2872(greater)X3145(than)X3332(the)X3479(return)X3720(value)X3943(of)X3 f554 2916(GL_MAX_EVAL_ORDER)N1 f1492(.)X3 f554 3050(GL_INVALID_OPERATION)N1 f1604(is)X1681(generated)X2018(if)X3 f2091(glMap1)X1 f2378(is)X2456(executed)X2767(between)X3060(the)X3183(execution)X3520(of)X3 f3612(glBegin)X1 f3894(and)X554 3146(the)N672(corresponding)X1151(execution)X1483(of)X3 f1570(glEnd)X1 f1773(.)X9 s266 3280(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 3376(glGetMap)N554 3472(glGet)N1 f761(with)X923(argument)X3 f1246(GL_MAX_EVAL_ORDER)X554 3568(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_VERTEX_3)X554 3664(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_VERTEX_4)X554 3760(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_INDEX)X554 3856(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_COLOR_4)X554 3952(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_NORMAL)X554 4048(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_TEXTURE_COORD_1)X554 4144(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_TEXTURE_COORD_2)X554 4240(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_TEXTURE_COORD_3)X554 4336(glIsEnabled)N1 f981(with)X1143(argument)X3 f1466(GL_MAP1_TEXTURE_COORD_4)X1 f9 s266 4470(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 4566(glBegin)N1 f811(,)X3 f862(glColor)X1 f1120(,)X3 f1171(glEnable)X1 f1472(,)X3 f1523(glEvalCoord)X1 f1958(,)X3 f2009(glEvalMesh)X1 f2413(,)X3 f2464(glEvalPoint)X1 f2863(,)X3 f2914(glMap2)X1 f3176(,)X3 f3227(glMapGrid)X1 f3613(,)X3 f3665(glNormal)X1 f3990(,)X3 f554 4662(glTexCoord)N1 f963(,)X3 f1003(glVertex)X1 f266 6144(Page)N442(3)X3577(July)X3730(22,)X3850(1997)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X3 p%%Trailerxtxs

⌨️ 快捷键说明

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