switching lights on/off

New Message Reply Date view Thread view Subject view Author view

Fernando D. Mato Mira (matomira++at++lig.di.epfl.ch)
Thu, 15 Sep 94 17:04 MDT


Hello,

  I would like to have a pfLightSource and switch it on/off
for different parts of the scene via draw callbacks. The man
page for pfLight says the pfLightOn depends on the current
transformation matrices. Is this the same for a pfLightSource ?
If so, what's the efficient way to go about this?

By the way, I know I can put pfLights in a pfGeoState. I do not
want to do this.

Thanks in advance,

Fernando D. Mato Mira
Computer Graphics Lab
Swiss Federal Institute of Technology (EPFL) Phone : +41 (21) 693 - 5248
CH-1015 Lausanne FAX : +41 (21) 693 - 5328
Switzerland E-mail : matomira++at++di.epfl.ch


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:50:32 PDT

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