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

📄 material.ps

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 PS
📖 第 1 页 / 共 2 页
字号:
1343(or)X1454(both)X3 f1640(GL_FRONT_AND_BACK)X1 f2604(materials)X2942(will)X3110(be)X3230(modi\256ed.)X3598(The)X3767(second,)X2 f554 5084(pname)N1 f768(,)X820(speci\256es)X1128(which)X1356(of)X1455(several)X1715(parameters)X2100(in)X2194(one)X2342(or)X2441(both)X2615(sets)X2767(will)X2923(be)X3031(modi\256ed.)X3388(The)X3546(third,)X2 f3750(params)X1 f(,)S554 5180(speci\256es)N850(what)X1026(value)X1220(or)X1307(values)X1532(will)X1676(be)X1772(assigned)X2068(to)X2150(the)X2268(speci\256ed)X2573(parameter.)X554 5314(Material)N851(parameters)X1229(are)X1353(used)X1526(in)X1614(the)X1738(lighting)X2012(equation)X2314(that)X2460(is)X2539(optionally)X2889(applied)X3151(to)X3239(each)X3413(vertex.)X3680(The)X3831(equa-)X554 5410(tion)N705(is)X785(discussed)X1119(in)X1208(the)X3 f1333(glLightModel)X1 f1826 0.4531(reference)AX2154(page.)X2373(The)X2525(parameters)X2905(that)X3052(can)X3191(be)X3294(speci\256ed)X3606(using)X3 f3805(glMa-)X554 5506(terial)N1 f737(,)X777(and)X913(their)X1080(interpretations)X1563(by)X1663(the)X1781(lighting)X2049(equation,)X2365(are)X2484(as)X2571(follows:)X3 f554 5640(GL_AMBIENT)N2 f1354(params)X1 f1631(contains)X1935(four)X2106(integer)X2367(or)X2472(\257oating-point)X2945(values)X3188(that)X3346(specify)X3616(the)X3752(ambient)X1354 5736(RGBA)N1605(re\257ectance)X1983(of)X2079(the)X2206(material.)X2538(Integer)X2795(values)X3029(are)X3157(mapped)X3440(linearly)X3714(such)X3890(that)X1354 5832(the)N1502(most)X1707(positive)X2010(representable)X2489(value)X2713(maps)X2932(to)X3045(1.0,)X3216(and)X3383(the)X3532(most)X3738(negative)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(AT)X488(TE)X534(ER)X580(RI)X630(IA)X656(AL)X710(L)X760(\()X762(\()X798(\))X800(\))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)X3452(G)X3454(GL)X3508(LM)X3554(MA)X3620(AT)X3674(TE)X3720(ER)X3766(RI)X3816(IA)X3842(AL)X3896(L)X3946(\()X3948(\()X3984(\))X3986(\))X10 s1354 864(representable)N1823(value)X2037(maps)X2246(to)X9 f2348(-)X1 f2392(1.0.)X2572(Floating-point)X3069(values)X3314(are)X3452(mapped)X3745(directly.)X1354 960(Neither)N1646(integer)X1920(nor)X2078(\257oating-point)X2565(values)X2822(are)X2973(clamped.)X3337(The)X3514(initial)X3752(ambient)X1354 1056(re\257ectance)N1723(for)X1837(both)X1999(front-)X2202(and)X2338(back-facing)X2738(materials)X3052(is)X3125(\(0.2,)X3292(0.2,)X3432(0.2,)X3572(1.0\).)X3 f554 1190(GL_DIFFUSE)N2 f1354(params)X1 f1635(contains)X1943(four)X2118(integer)X2382(or)X2490(\257oating-point)X2966(values)X3212(that)X3373(specify)X3647(the)X3787(diffuse)X1354 1286(RGBA)N1605(re\257ectance)X1983(of)X2079(the)X2206(material.)X2538(Integer)X2795(values)X3029(are)X3157(mapped)X3440(linearly)X3714(such)X3890(that)X1354 1382(the)N1502(most)X1707(positive)X2010(representable)X2489(value)X2713(maps)X2932(to)X3045(1.0,)X3216(and)X3383(the)X3532(most)X3738(negative)X1354 1478(representable)N1823(value)X2037(maps)X2246(to)X9 f2348(-)X1 f2392(1.0.)X2572(Floating-point)X3069(values)X3314(are)X3452(mapped)X3745(directly.)X1354 1574(Neither)N1650(integer)X1928(nor)X2090(\257oating-point)X2580(values)X2841(are)X2996(clamped.)X3364(The)X3545(initial)X3787(diffuse)X1354 1670(re\257ectance)N1723(for)X1837(both)X1999(front-)X2202(and)X2338(back-facing)X2738(materials)X3052(is)X3125(\(0.8,)X3292(0.8,)X3432(0.8,)X3572(1.0\).)X3 f554 1804(GL_SPECULAR)N2 f1354(params)X1 f1630(contains)X1933(four)X2103(integer)X2363(or)X2467(\257oating-point)X2939(values)X3181(that)X3338(specify)X3607(the)X3742(specular)X1354 1900(RGBA)N1605(re\257ectance)X1983(of)X2079(the)X2206(material.)X2538(Integer)X2795(values)X3029(are)X3157(mapped)X3440(linearly)X3714(such)X3890(that)X1354 1996(the)N1502(most)X1707(positive)X2010(representable)X2489(value)X2713(maps)X2932(to)X3045(1.0,)X3216(and)X3383(the)X3532(most)X3738(negative)X1354 2092(representable)N1823(value)X2037(maps)X2246(to)X9 f2348(-)X1 f2392(1.0.)X2572(Floating-point)X3069(values)X3314(are)X3452(mapped)X3745(directly.)X1354 2188(Neither)N1645(integer)X1918(nor)X2075(\257oating-point)X2560(values)X2816(are)X2966(clamped.)X3329(The)X3505(initial)X3742(specular)X1354 2284(re\257ectance)N1723(for)X1837(both)X1999(front-)X2202(and)X2338(back-facing)X2738(materials)X3052(is)X3125(\(0,)X3232(0,)X3312(0,)X3392(1\).)X3 f554 2418(GL_EMISSION)N2 f1354(params)X1 f1616(contains)X1905(four)X2061(integer)X2306(or)X2395(\257oating-point)X2852(values)X3079(that)X3221(specify)X3475(the)X3596(RGBA)X3841(emit-)X1354 2514(ted)N1473(light)X1640(intensity)X1936(of)X2024(the)X2143(material.)X2467(Integer)X2716(values)X2942(are)X3062(mapped)X3337(linearly)X3603(such)X3771(that)X3912(the)X1354 2610(most)N1529(positive)X1802(representable)X2251(value)X2445(maps)X2634(to)X2716(1.0,)X2856(and)X2993(the)X3112(most)X3288(negative)X3581(representable)X1354 2706(value)N1559(maps)X1759(to)X9 f1852(-)X1 f1896(1.0.)X2066(Floating-point)X2553(values)X2788(are)X2917(mapped)X3201(directly.)X3516(Neither)X3787(integer)X1354 2802(nor)N1500(\257oating-point)X1974(values)X2218(are)X2356(clamped.)X2707(The)X2871(initial)X3096(emission)X3419(intensity)X3734(for)X3868(both)X1354 2898(front-)N1557(and)X1693(back-facing)X2093(materials)X2407(is)X2480(\(0,)X2587(0,)X2667(0,)X2747(1\).)X3 f554 3032(GL_SHININESS)N2 f1354(params)X1 f1615(is)X1689(a)X1746(single)X1958(integer)X2202(or)X2290(\257oating-point)X2746(value)X2941(that)X3082(speci\256es)X3379(the)X3498(RGBA)X3742(specular)X1354 3128(exponent)N1678(of)X1775(the)X1902(material.)X2234(Integer)X2491(and)X2636(\257oating-point)X3100(values)X3334(are)X3462(mapped)X3745(directly.)X1354 3224(Only)N1541(values)X1773(in)X1862(the)X1987(range)X2193([0,128])X2454(are)X2581(accepted.)X2931(The)X3084(initial)X3298(specular)X3594(exponent)X3916(for)X1354 3320(both)N1516(front-)X1719(and)X1855(back-facing)X2255(materials)X2569(is)X2642(0.)X3 f554 3454(GL_AMBIENT_AND_DIFFUSE)N1 f1354 3550(Equivalent)N1723(to)X1807(calling)X3 f2047(glMaterial)X1 f2430(twice)X2626(with)X2791(the)X2912(same)X3100(parameter)X3445(values,)X3693(once)X3868(with)X3 f1354 3646(GL_AMBIENT)N1 f1911(and)X2047(once)X2219(with)X3 f2381(GL_DIFFUSE)X1 f2878(.)X3 f554 3780(GL_COLOR_INDEXES)N2 f1354 3876(params)N1 f1617(contains)X1907(three)X2091(integer)X2337(or)X2427(\257oating-point)X2885(values)X3114(specifying)X3472(the)X3594(color)X3783(indices)X1354 3972(for)N1523(ambient,)X1876(diffuse,)X2194(and)X2385(specular)X2728(lighting.)X3091(These)X3358(three)X3594(values,)X3894(and)X3 f1354 4068(GL_SHININESS)N1 f1934(,)X1990(are)X2125(the)X2259(only)X2437(material)X2737(values)X2979(used)X3163(by)X3280(the)X3415(color)X3617(index)X3832(mode)X1354 4164(lighting)N1630(equation.)X1974(Refer)X2181(to)X2271(the)X3 f2397(glLightModel)X1 f2891 0.4531(reference)AX3220(page)X3399(for)X3520(a)X3583(discussion)X3943(of)X1354 4260(color)N1539(index)X1737(lighting.)X9 s266 4394(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 4490(The)N700(material)X984(parameters)X1358(can)X1491(be)X1588(updated)X1863(at)X1942(any)X2079(time.)X2282(In)X2370(particular,)X3 f2719(glMaterial)X1 f3101(can)X3234(be)X3332(called)X3546(between)X3836(a)X3894(call)X554 4586(to)N3 f643(glBegin)X1 f927(and)X1070(the)X1195(corresponding)X1681(call)X1823(to)X3 f1911(glEnd)X1 f2114(.)X2180(If)X2260(only)X2428(a)X2490(single)X2707(material)X2996(parameter)X3344(is)X3423(to)X3511(be)X3613(changed)X3907(per)X554 4682(vertex,)N795(however,)X3 f1112(glColorMaterial)X1 f1689(is)X1762(preferred)X2078(over)X3 f2241(glMaterial)X1 f2622(\(see)X3 f2772(glColorMaterial)X1 f3329(\).)X9 s266 4816(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4912(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X1836(either)X2 f2039(face)X1 f2193(or)X2 f2280(pname)X1 f2514(is)X2587(not)X2709(an)X2805(accepted)X3107(value.)X3 f554 5046(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X1871(a)X1927(specular)X2215(exponent)X2529(outside)X2780(the)X2898(range)X3097([0,128])X3351(is)X3424(speci\256ed.)X9 s266 5180(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 5276(glGetMaterial)N1 f9 s266 5410(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5506(glColorMaterial)N1 f1111(,)X3 f1151(glLight)X1 f1399(,)X3 f1439(glLightModel)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 + -