|
From: Jose' C. <cru...@ce...> - 2007-04-27 21:33:15
|
Il giorno 27/apr/07, alle ore 22:45, James Walker ha scritto: > Roger Holmes wrote: >> On 27 Apr, 2007, at 13:45, Jose' Cruanyes wrote: > >>> this parameter controls how big is the reflection light spot on the >>> figure. >>> >>> in GL it goes from >>> >>> 0 (no spot (because too big) and hence rough and hence not =20 >>> reflecting) >>> to >>> 128 (pointy spot, hence polish hence reflecting) >> >> Is it the other way round perhaps? > > No, it is not the other way around, but it is a bit more complicated, > because specular color is also involved. In OpenGL it is more =20 > accurate > to say that you get a non-reflecting surface by setting the specular > color to black, never mind the value of GL_SHININESS. I've think about it, to make the reflection value based in the =20 luminance of the specular color, but at last I've opted for the =20 reasoning in the previous mail, to have a parameter easier to set by =20 the user I'm open to suggestions Pax et Bonum # Dott. Jos=E9 Cruanyes Aguilar - C.E. Soft srl # Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA # 02,3923101 0372,460602 |