📄 fglmap1.ps
字号:
3813(a)X3872(map)X554 1286(can)N699(be)X808(enabled)X1091(and)X1240(disabled)X1540(by)X1653(calling)X3 f1904(fglEnable)X1 f2265(and)X3 f2414(fglDisable)X1 f2789(with)X2964(the)X3095(map)X3266(name,)X3493(one)X3642(of)X3742(the)X3872(nine)X554 1382(prede\256ned)N914(values)X1140(for)X2 f1256(target)X1 f1469(described)X1799(below.)X3 f2057(fglEvalCoord1)X1 f2581(evaluates)X2902(the)X3022(one-dimensional)X3578(maps)X3769(that)X3911(are)X554 1478(enabled.)N864(When)X3 f554 1574(fglEvalCoord1)N1 f1076(presents)X1359(a)X1415(value)X1609($u$,)X1769(the)X1887(Bernstein)X2214(functions)X2532(are)X2651(evaluated)X2979(using)X3172($u)X3272(hat$,)X3450(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$.)N1762(Internal)X3 f2064(fglVertex3)X1 f2478(commands)X2877(are)X3028(generated)X3393(when)X3619(the)X3768(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)N1703($w$.)X1914(Internal)X3 f2197(fglVertex4)X1 f2592(commands)X2972(are)X3104(generated)X3450(when)X3657(the)X3787(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.)N1826(Internal)X3 f2130(fglIndex)X1 f2468(commands)X2869(are)X3022(generated)X3388(when)X3615(the)X3766(map)X3957(is)X1554 3070(evaluated)N1884(but)X2008(the)X2128(current)X2379(index)X2580(is)X2656(not)X2781(updated)X3058(with)X3223(the)X3344(value)X3541(of)X3631(these)X3 f3819(fglIn-)X1554 3166(dex)N1 f1694(commands.)X3 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)N1703(alpha.)X1950(Internal)X3 f2233(fglColor4)X1 f2591(commands)X2971(are)X3103(generated)X3449(when)X3656(the)X3787(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(fglColor4)N1 f1899(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)N1692($z$)X1830(components)X2239(of)X2328(a)X2386(normal)X2635(vector.)X2898(Internal)X3 f3170(fglNormal)X1 f3543(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(fglNormal)X1 f2672(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(fglTexCoord1)N1 f2055(commands)X2427(are)X2551(generated)X2889(when)X3088(the)X3211(map)X3374(is)X3452(evaluated)X3785(but)X3912(the)X1554 4528(current)N1809(texture)X2059(coordinates)X2456(are)X2581(not)X2709(updated)X2989(with)X3157(the)X3281(value)X3481(of)X3574(these)X3 f3765(fglTex-)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(fglTexCoord2)N1 f2055(commands)X2427(are)X2551(generated)X2889(when)X3088(the)X3211(map)X3374(is)X3452(evaluated)X3785(but)X3912(the)X1554 5142(current)N1809(texture)X2059(coordinates)X2456(are)X2581(not)X2709(updated)X2989(with)X3157(the)X3281(value)X3481(of)X3574(these)X3 f3765(fglTex-)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)N1706($r$)X1849(texture)X2108(coordinates.)X2554(Internal)X3 f2840(fglTexCoord3)X1 f3351(commands)X3733(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(fglTexCoord)X1 f3030(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(F)N268(FG)X310(GL)X364(LM)X410(MA)X476(AP)X530(P1)X572(1)X614(\()X616(\()X652(\))X654(\))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)X3598(F)X3600(FG)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(fglTexCoord4)N1 f2055(commands)X2427(are)X2551(generated)X2889(when)X3088(the)X3211(map)X3374(is)X3452(evaluated)X3785(but)X3912(the)X1554 1248(current)N1809(texture)X2059(coordinates)X2456(are)X2581(not)X2709(updated)X2989(with)X3157(the)X3281(value)X3481(of)X3574(these)X3 f3765(fglTex-)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)N808(by)X3 f927(fglMap1)X1 f1255(before)X3 f1500(fglMap1)X1 f1828(returns.)X2130(Changes)X2445(to)X2546(the)X2683(contents)X2989(of)X2 f3095(points)X1 f3329(have)X3520(no)X3639(effect)X3862(after)X3 f554 2188(fglMap1)N1 f863(is)X936(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 f1600(is)X1673(generated)X2006(if)X3 f2075(fglMap1)X1 f2384(is)X2457(executed)X2763(between)X3051(the)X3169(execution)X3501(of)X3 f3589(fglBegin)X1 f3894(and)X554 3146(the)N672(corresponding)X1151(execution)X1483(of)X3 f1570(fglEnd)X1 f1800(.)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(fglGetMap)N554 3472(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_MAX_EVAL_ORDER)X554 3568(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_VERTEX_3)X554 3664(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_VERTEX_4)X554 3760(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_INDEX)X554 3856(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_COLOR_4)X554 3952(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_NORMAL)X554 4048(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_TEXTURE_COORD_1)X554 4144(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_TEXTURE_COORD_2)X554 4240(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_MAP1_TEXTURE_COORD_3)X554 4336(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(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(fglBegin)N1 f838(,)X3 f912(fglColor)X1 f1197(,)X3 f1271(fglEnable)X1 f1599(,)X3 f1673(fglEvalCoord)X1 f2135(,)X3 f2209(fglEvalMesh)X1 f2640(,)X3 f2714(fglEvalPoint)X1 f3140(,)X3 f3214(fglMap2)X1 f3503(,)X3 f3577(fglMapGrid)X1 f3990(,)X3 f554 4662(fglNormal)N1 f906(,)X3 f946(fglTexCoord)X1 f1382(,)X3 f1422(fglVertex)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 + -