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

📄 fgltexparameter.ps

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 PS
📖 第 1 页 / 共 3 页
字号:
310(GL)X364(LT)X410(TE)X456(EX)X502(XP)X556(PA)X598(AR)X652(RA)X702(AM)X756(ME)X822(ET)X868(TE)X914(ER)X960(R)X1014(\()X1016(\()X1052(\))X1054(\))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)X3198(F)X3200(FG)X3242(GL)X3296(LT)X3342(TE)X3388(EX)X3434(XP)X3488(PA)X3530(AR)X3584(RA)X3634(AM)X3688(ME)X3754(ET)X3800(TE)X3846(ER)X3892(R)X3946(\()X3948(\()X3984(\))X3986(\))X3 f10 s954 864(GL_NEAREST)N1 f1354 960(Returns)N1626(the)X1747(value)X1944(of)X2034(the)X2156(texture)X2403(element)X2681(that)X2825(is)X2902(nearest)X3154(\(in)X3267(Manhattan)X3634(distance\))X3948(to)X1354 1056(the)N1472(center)X1689(of)X1776(the)X1894(pixel)X2074(being)X2272(textured.)X3 f954 1190(GL_LINEAR)N1 f1354 1286(Returns)N1630(the)X1755(weighted)X2076(average)X2354(of)X2449(the)X2575(four)X2737(texture)X2988(elements)X3301(that)X3449(are)X3576(closest)X3822(to)X3912(the)X1354 1382(center)N1586(of)X1687(the)X1819(pixel)X2013(being)X2225(textured.)X2562(These)X2788(can)X2934(include)X3204(border)X3448(texture)X3705(elements,)X1354 1478(depending)N1829(on)X2050(the)X2289(values)X2635(of)X3 f2843(GL_TEXTURE_WRAP_S)X1 f3894(and)X3 f1354 1574(GL_TEXTURE_WRAP_T)N1 f2273(,)X2313(and)X2449(on)X2549(the)X2667(exact)X2857(mapping.)X3 f554 1708(GL_TEXTURE_WRAP_S)N1 f954 1804(Sets)N1119(the)X1250(wrap)X1444(parameter)X1799(for)X1926(texture)X2182(coordinate)X2 f2554(s)X1 f2618(to)X2713(either)X3 f2929(GL_CLAMP)X1 f3411(or)X3 f3511(GL_REPEAT)X1 f3990(.)X3 f954 1900(GL_CLAMP)N1 f1443(causes)X1693($s$)X1844(coordinates)X2254(to)X2356(be)X2472(clamped)X2784(to)X2886(the)X3023(range)X3241([0,1])X3434(and)X3589(is)X3681(useful)X3916(for)X954 1996(preventing)N1329(wrapping)X1664(artifacts)X1956(when)X2163(mapping)X2476(a)X2545(single)X2769(image)X2998(onto)X3173(an)X3282(object.)X3 f3531(GL_REPEAT)X1 f954 2092(causes)N1185(the)X1304(integer)X1548(part)X1694(of)X1781(the)X1899($s$)X2030(coordinate)X2389(to)X2471(be)X2567(ignored;)X2854(the)X2972(GL)X3099(uses)X3257(only)X3419(the)X3537(fractional)X3865(part,)X954 2188(thereby)N1219(creating)X1502(a)X1562(repeating)X1885(pattern.)X2152(Border)X2399(texture)X2647(elements)X2957(are)X3081(accessed)X3388(only)X3555(if)X3629(wrapping)X3957(is)X954 2284(set)N1063(to)X3 f1145(GL_CLAMP)X1 f1594(.)X1654(Initially,)X3 f1947(GL_TEXTURE_WRAP_S)X1 f2877(is)X2950(set)X3059(to)X3 f3141(GL_REPEAT)X1 f3620(.)X3 f554 2418(GL_TEXTURE_WRAP_T)N1 f954 2514(Sets)N1107(the)X1225(wrap)X1406(parameter)X1748(for)X1862(texture)X2106(coordinate)X2 f2466(t)X1 f2509(to)X2592(either)X3 f2796(GL_CLAMP)X1 f3266(or)X3 f3354(GL_REPEAT)X1 f3833(.)X3894(See)X954 2610(the)N1078(discussion)X1437(under)X3 f1646(GL_TEXTURE_WRAP_S)X1 f2556(.)X2601(Initially,)X3 f2899(GL_TEXTURE_WRAP_T)X1 f3843(is)X3921(set)X954 2706(to)N3 f1036(GL_REPEAT)X1 f1515(.)X3 f554 2840(GL_TEXTURE_BORDER_COLOR)N1 f954 2936(Sets)N1109(a)X1167(border)X1399(color.)X2 f1626(params)X1 f1888(contains)X2177(four)X2334(values)X2562(that)X2705(comprise)X3022(the)X3143(RGBA)X3388(color)X3576(of)X3666(the)X3787(texture)X954 3032(border.)N1214(Integer)X1472(color)X1667(components)X2084(are)X2213(interpreted)X2591(linearly)X2866(such)X3043(that)X3193(the)X3321(most)X3505(positive)X3787(integer)X954 3128(maps)N1146(to)X1231(1.0,)X1374(and)X1513(the)X1634(most)X1813(negative)X2109(integer)X2356(maps)X2549(to)X2635(-1.0.)X2826(The)X2975(values)X3204(are)X3327(clamped)X3623(to)X3709(the)X3831(range)X954 3224([0,1])N1128(when)X1322(they)X1480(are)X1599(speci\256ed.)X1944(Initially,)X2237(the)X2355(border)X2585(color)X2770(is)X2843(\(0,)X2950(0,)X3030(0,)X3110(0\).)X3 f554 3358(GL_TEXTURE_PRIORITY)N1 f954 3454(Speci\256es)N1268(the)X1391(texture)X1639(residence)X1968(priority)X2233(of)X2326(the)X2450(currently)X2766(bound)X2992(texture.)X3281(Permissible)X3680(values)X3911(are)X954 3550(in)N1036(the)X1154(range)X1353([0,)X1460(1].)X1587(See)X3 f1723(fglPrioritizeTextures)X1 f2461(and)X3 f2597(fglBindTexture)X1 f3141(for)X3255(more)X3440(information.)X9 s266 3684(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 3780(Suppose)N845(that)X985(a)X1041(program)X1333(has)X1460(enabled)X1730(texturing)X2040(\(by)X2168(calling)X3 f2407(fglEnable)X1 f2756(with)X2919(argument)X3 f3243(GL_TEXTURE_1D)X1 f3943(or)X3 f554 3876(GL_TEXTURE_2D)N1 f1233(\))X1285(and)X1426(has)X1558(set)X3 f1672(GL_TEXTURE_MIN_FILTER)X1 f2780(to)X2867(one)X3008(of)X3100(the)X3223(functions)X3546(that)X3691(requires)X3974(a)X554 3972(mipmap.)N903(If)X1004(either)X1234(the)X1379(dimensions)X1790(of)X1904(the)X2049(texture)X2319(images)X2593(currently)X2930(de\256ned)X3213(\(with)X3429(previous)X3753(calls)X3948(to)X3 f554 4068(fglTexImage1D)N1 f1084(,)X3 f1146(fglTexImage2D)X1 f1676(,)X3 f1737(fglCopyTexImage1D)X1 f2449(,)X2510(or)X3 f2618(fglCopyTexImage2D)X1 f3330(\))X3398(do)X3519(not)X3662(follow)X3912(the)X554 4164(proper)N784(sequence)X1099(for)X1213(mipmaps)X1526(\(described)X1881(above\),)X2140(or)X2227(there)X2409(are)X2529(fewer)X2734(texture)X2978(images)X3226(de\256ned)X3483(than)X3642(are)X3762(needed,)X554 4260(or)N645(the)X767(set)X880(of)X971(texture)X1218(images)X1469(have)X1645(differing)X1950(numbers)X2250(of)X2341(texture)X2588(components,)X3018(then)X3179(it)X3246(is)X3322(as)X3412(if)X3484(texture)X3730(mapping)X554 4356(were)N731(disabled.)X554 4490(Linear)N786(\256ltering)X1061(accesses)X1356(the)X1476(four)X1632(nearest)X1882(texture)X2127(elements)X2434(only)X2598(in)X2682(2D)X2802(textures.)X3118(In)X3208(1D)X3329(textures,)X3626(linear)X3832(\256lter-)X554 4586(ing)N676(accesses)X969(the)X1087(two)X1227(nearest)X1475(texture)X1718(elements.)X9 s266 4720(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4816(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(target)X1 f2047(or)X2 f2134(pname)X1 f2368(is)X2441(not)X2563(one)X2699(of)X2786(the)X2904(accepted)X3206(de\256ned)X3462(values.)X3 f554 4950(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(params)X1 f2096(should)X2329(have)X2501(a)X2557(de\256ned)X2814(constant)X3102(value)X3297(\(based)X3528(on)X3629(the)X3748(value)X3943(of)X2 f554 5046(pname)N1 f768(\))X815(and)X951(does)X1118(not.)X3 f554 5180(GL_INVALID_OPERATION)N1 f1614(is)X1701(generated)X2048(if)X3 f2131 0.2232(fglTexParameter)AX1 f2751(is)X2839(executed)X3160(between)X3463(the)X3596(execution)X3943(of)X3 f554 5276(fglBegin)N1 f858(and)X994(the)X1112(corresponding)X1591(execution)X1923(of)X3 f2010(fglEnd)X1 f2240(.)X9 s266 5410(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 5506 0.2206(fglGetTexParameter)AN554 5602 0.1875(fglGetTexLevelParameter)AN1 f9 s266 5736(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5832(fglBindTexture)N1 f1078(,)X3 f1121(fglCopyPixels)X1 f1592(,)X3 f1635(fglCopyTexImage1D)X1 f2347(,)X3 f2390(fglCopyTexImage2D)X1 f3102(,)X3 f3146(fglCopyTexSubImage1D)X1 f3990(,)X266 6144(Page)N442(3)X3577(July)X3730(22,)X3850(1997)X4 p%%Page: 4 410 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(LT)X410(TE)X456(EX)X502(XP)X556(PA)X598(AR)X652(RA)X702(AM)X756(ME)X822(ET)X868(TE)X914(ER)X960(R)X1014(\()X1016(\()X1052(\))X1054(\))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)X3198(F)X3200(FG)X3242(GL)X3296(LT)X3342(TE)X3388(EX)X3434(XP)X3488(PA)X3530(AR)X3584(RA)X3634(AM)X3688(ME)X3754(ET)X3800(TE)X3846(ER)X3892(R)X3946(\()X3948(\()X3984(\))X3986(\))X3 f10 s554 864(fglCopyTexSubImage2D)N1 f1398(,)X3 f1496(fglDrawPixels)X1 f1977(,)X3 f2075(fglPixelStore)X1 f2516(,)X3 f2614(fglPixelTransfer)X1 f3175(,)X3 f3272(fglPrioritizeTextures)X1 f3990(,)X3 f554 960(fglTexEnv)N1 f909(,)X3 f949(fglTexGen)X1 f(,)S3 f1349(fglTexImage1D)X1 f1879(,)X3 f1919(fglTexImage2D)X1 f2449(,)X3 f2489(fglTexSubImage1D)X1 f3151(,)X3 f3191(fglTexSubImage2D)X1 f266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(4)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X4 p%%Trailerxtxs

⌨️ 快捷键说明

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