📄 getmaterial.ps
字号:
3285(to)X3393(the)X3537(most)X3738(negative)X1434 3492(representable)N1883(integer)X2126(value.)X2360(If)X2434(the)X2552(internal)X2817(value)X3011(is)X3084(outside)X3335(the)X3453(range)X3652([)X9 f3679(-)X1 f3723(1,)X3804(1],)X3912(the)X1434 3588(corresponding)N1924(integer)X2178(return)X2401(value)X2606(is)X2689(unde\256ned.)X3055(The)X3210(initial)X3426(value)X3630(is)X3713(\(0.2,)X3890(0.2,)X1434 3684(0.2,)N1574(1.0\))X3 f554 3818(GL_DIFFUSE)N2 f1434(params)X1 f1710(returns)X1969(four)X2140(integer)X2400(or)X2504(\257oating-point)X2976(values)X3218(representing)X3652(the)X3787(diffuse)X1434 3914(re\257ectance)N1804(of)X1892(the)X2011(material.)X2335(Integer)X2584(values,)X2830(when)X3024(requested,)X3372(are)X3491(linearly)X3756(mapped)X1434 4010(from)N1620(the)X1748(internal)X2023(\257oating-point)X2488(representation)X2973(such)X3151(that)X3302(1.0)X3433(maps)X3633(to)X3726(the)X3855(most)X1434 4106(positive)N1734(representable)X2209(integer)X2478(value,)X2718(and)X9 f2880(-)X1 f2924(1.0)X3070(maps)X3285(to)X3393(the)X3537(most)X3738(negative)X1434 4202(representable)N1883(integer)X2126(value.)X2360(If)X2434(the)X2552(internal)X2817(value)X3011(is)X3084(outside)X3335(the)X3453(range)X3652([)X9 f3679(-)X1 f3723(1,)X3804(1],)X3912(the)X1434 4298(corresponding)N1924(integer)X2178(return)X2401(value)X2606(is)X2689(unde\256ned.)X3055(The)X3210(initial)X3426(value)X3630(is)X3713(\(0.8,)X3890(0.8,)X1434 4394(0.8,)N1574(1.0\).)X3 f554 4528(GL_SPECULAR)N2 f1434(params)X1 f1705(returns)X1959(four)X2125(integer)X2380(or)X2479(\257oating-point)X2946(values)X3183(representing)X3612(the)X3742(specular)X1434 4624(re\257ectance)N1804(of)X1892(the)X2011(material.)X2335(Integer)X2584(values,)X2830(when)X3024(requested,)X3372(are)X3491(linearly)X3756(mapped)X1434 4720(from)N1620(the)X1748(internal)X2023(\257oating-point)X2488(representation)X2973(such)X3151(that)X3302(1.0)X3433(maps)X3633(to)X3726(the)X3855(most)X1434 4816(positive)N1734(representable)X2209(integer)X2478(value,)X2718(and)X9 f2880(-)X1 f2924(1.0)X3070(maps)X3285(to)X3393(the)X3537(most)X3738(negative)X1434 4912(representable)N1883(integer)X2126(value.)X2360(If)X2434(the)X2552(internal)X2817(value)X3011(is)X3084(outside)X3335(the)X3453(range)X3652([)X9 f3679(-)X1 f3723(1,)X3804(1],)X3912(the)X1434 5008(corresponding)N1913(integer)X2156(return)X2368(value)X2562(is)X2635(unde\256ned.)X2991(The)X3136(initial)X3342(value)X3536(is)X3609(\(0,)X3716(0,)X3796(0,)X3876(1\).)X3 f554 5142(GL_EMISSION)N2 f1434(params)X1 f1708(returns)X1966(four)X2135(integer)X2393(or)X2495(\257oating-point)X2965(values)X3205(representing)X3637(the)X3770(emitted)X1434 5238(light)N1619(intensity)X1933(of)X2039(the)X2176(material.)X2518(Integer)X2785(values,)X3049(when)X3262(requested,)X3628(are)X3765(linearly)X1434 5334(mapped)N1709(from)X1886(the)X2005(internal)X2271(\257oating-point)X2727(representation)X3204(such)X3373(that)X3515(1.0)X3637(maps)X3828(to)X3912(the)X1434 5430(most)N1617(positive)X1898(representable)X2355(integer)X2606(value,)X2828(and)X9 f2972(-)X1 f3016(1.0)X3144(maps)X3341(to)X3431(the)X3556(most)X3738(negative)X1434 5526(representable)N1888(integer)X2136(value.)X2375(If)X2454(the)X2577(internal)X2847(value)X3046(is)X3124(outside)X3380(the)X3503(range)X3707([)X9 f3734(-)X1 f3778(1,)X3863(1.0],)X1434 5622(the)N1555(corresponding)X2037(integer)X2283(return)X2498(value)X2695(is)X2771(unde\256ned.)X3130(The)X3278(initial)X3487(value)X3684(is)X3759(\(0,)X3868(0,)X3950(0,)X1434 5718(1\).)N266 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(LG)X368(GE)X422(ET)X468(TM)X514(MA)X580(AT)X634(TE)X680(ER)X726(RI)X776(IA)X802(AL)X856(L)X906(\()X908(\()X944(\))X946(\))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)X3306(G)X3308(GL)X3362(LG)X3408(GE)X3462(ET)X3508(TM)X3554(MA)X3620(AT)X3674(TE)X3720(ER)X3766(RI)X3816(IA)X3842(AL)X3896(L)X3946(\()X3948(\()X3984(\))X3986(\))X3 f10 s554 864(GL_SHININESS)N2 f1434(params)X1 f1711(returns)X1971(one)X2124(integer)X2384(or)X2488(\257oating-point)X2960(value)X3171(representing)X3606(the)X3742(specular)X1434 960(exponent)N1765(of)X1869(the)X2004(material.)X2344(Integer)X2608(values,)X2869(when)X3079(requested,)X3443(are)X3578(computed)X3930(by)X1434 1056(rounding)N1749(the)X1873(internal)X2144(\257oating-point)X2606(value)X2807(to)X2896(the)X3021(nearest)X3276(integer)X3526(value.)X3747(The)X3899(ini-)X1434 1152(tial)N1556(value)X1750(is)X1823(0.)X3 f554 1286(GL_COLOR_INDEXES)N2 f1434(params)X1 f1701(returns)X1951(three)X2139(integer)X2390(or)X2485(\257oating-point)X2948(values)X3181(representing)X3606(the)X3732(ambient,)X1434 1382(diffuse,)N1707(and)X1853(specular)X2151(indices)X2408(of)X2505(the)X2632(material.)X2964(These)X3185(indices)X3441(are)X3569(used)X3745(only)X3916(for)X1434 1478(color)N1625(index)X1830(lighting.)X2145(\(All)X2301(the)X2426(other)X2618(parameters)X2998(are)X3124(used)X3298(only)X3467(for)X3588(RGBA)X3837(light-)X1434 1574(ing.\))N1636(Integer)X1897(values,)X2155(when)X2362(requested,)X2723(are)X2854(computed)X3202(by)X3314(rounding)X3635(the)X3765(internal)X1434 1670(\257oating-point)N1889(values)X2114(to)X2196(the)X2314(nearest)X2562(integer)X2805(values.)X9 s266 1804(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 1900(If)N628(an)X724(error)X901(is)X974(generated,)X1327(no)X1427(change)X1675(is)X1748(made)X1942(to)X2024(the)X2142(contents)X2429(of)X2 f2516(params)X1 f(.)S9 s266 2034(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 2130(GL_INVALID_ENUM)N1 f1361(is)X1434(generated)X1767(if)X2 f1836(face)X1 f1990(or)X2 f2077(pname)X1 f2311(is)X2384(not)X2506(an)X2602(accepted)X2904(value.)X3 f554 2264(GL_INVALID_OPERATION)N1 f1604(is)X1681(generated)X2018(if)X3 f2091(glGetMaterial)X1 f2601(is)X2678(executed)X2988(between)X3280(the)X3403(execution)X3740(of)X3 f3832(glBe-)X554 2360(gin)N1 f680(and)X816(the)X934(corresponding)X1413(execution)X1745(of)X3 f1832(glEnd)X1 f2035(.)X9 s266 2494(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 2590(glMaterial)N1 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 + -