Question about pfLightModel and pfLightSources??

New Message Reply Date view Thread view Subject view Author view

Duvideo (duvideoii++at++mail.telepac.pt)
Fri, 20 Sep 1996 20:00:40 +0100


Hi,

I'm having some difficulties in understanding how lighting works.

Fact 1: I need a pfLightModel to be able to use lights.
Fact 2: I need at least one pfLight in the scene.

Conclusion 1: pfLightModel is not a light. Correct?

Question 1: Why can we set the pfLightModel AMBIENT color?
Question 2: If I set pfLightModel ambient color to YELLOW and create
        a pfLightSource with BLUE ambient color...
                ...what color am I supposed to get?

Question 3: If I have individual (for each pfLightSource) control
        of attenuation, ambient color and a lot of other parameters
        common to pfLightModel...
                ...why do I need to set them in the pfLightModel?

thanks
        Duvideo

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            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:53:35 PDT

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