From: John Kelso (kelso++at++vt.edu)
Date: 05/10/2001 08:34:00
Hi,
I'm admittedly new to Performer and OpenGL lighting, so this might a dumb
question....
I'm trying to write a little program which creates a "flashlight" in the
scene. I've gotten the object to move around correctly and illuminate
objects close to it, but the illumination from the flashlight spreads
uniformly in all directions.
I've tried to use the pfLightSource::setSpotCone method to set the light's
exponent and spread, but all settings I've tried, no matter how bizarre,
seem to have no effect on the lighting I see.
Any idea what step or setting I'm leaving out? RTFM pointers welcome.
Many thanks,
-John
-----------------------------------------------------------------------
John Kelso www.cave.vt.edu
Research Associate, Virginia Tech CAVE email: kelso++at++vt.edu
3030B Torgersen Hall, MS 0468 phone: 540/231-2054
Blacksburg, VA 24061 fax: 540/231-2056
This archive was generated by hypermail 2b29 : Thu May 10 2001 - 08:36:30 PDT