Re: material shininess

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 08/29/2000 12:01:40


Shininess is an exponent of a vector dot product (a cosine function).
You are seeing the correct behaviour. When you increase the exponent the
highlight gets smaller, when it's really high the exponent is really
small, it is not completely invisible however.
0.0 means no shininess as defined in the API.

Cheers,Angus.

Yoram Shahak wrote:
>
> Hi,
>
> I am using pfMaterial::setShininess with float values 0.0 - 128.0 .
> I get unusual results : for very small values, greater than 0.0, I get
> maximum
> shininess (whole sphere geometry appears white), decreasing to no
> shininess
> at 128.0 . At 0.0 I also get no shininess.
>
> Why does that happen ?
>
> :o)
>
> Yoram Shahak
> DreamTeam ltd.
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Aug 29 2000 - 12:01:56 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.