Re: Color at Surface Vertices

New Message Reply Date view Thread view Subject view Author view

Simon Hui (shui++at++kid.asd.sgi.com)
Wed, 29 May 96 17:23:25 -0700


> From: "Tomas Moller" <tompa++at++prost24.prosolvia.se>
> Subject: Re: Color at Surface Vertices
>
> I guess that this is exaclty was my question is now: How does the
> 'color'-attributes modify the material properties based on the
> pfMtlColorMode?

The color attribute simply replaces the corresponding material property(ies).
It's the same as calling glMaterial().

> What happens with the material properties when the material color mode is,
> for example, PFMTL_CMODE_AMBIENT_AND_DIFFUSE?

The ambient and diffuse material colors (for the relevant side, front and/or
back) are set to the value of the color attribute.

Simon Hui iris performer
shui++at++sgi.com advanced systems div
415.933.3244 silicon graphics inc

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:55 PDT

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