Lighting differences from 1.2 to 2.0

New Message Reply Date view Thread view Subject view Author view

Janet Estabridis (janete++at++pistilmac1.chinalake.navy.mil)
Thu, 24 Oct 1996 08:32:45 +0000


I'm relatively new to Performer so I never learned Performer 1.2. I am
currently upgrading old Performer 1.2 code to Performer 2.0 code. My
question is this:

Are there any major differences with lighting effects from 1.2 to 2.0 ??

My problem is I have ported the code from 1.2 to 2.0, but the sides of my
buildings (which have textures) are now black like the top of the building
(which does not have a texture). The texture is a grey color. I enabled a
infinite light for the scene using

pLight = pfNewLSource();
pfAddChild( scenenode, pLight );

Any new knowledge on lighting is appreciated. Thanks

Janet Estabridis
NAWC Code 4722E0D
China Lake, CA (619) 939-6984

=======================================================================
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:48 PDT

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