Re: simple spotlight question

New Message Reply Date view Thread view Subject view Author view

From: John Kelso (kelso++at++vt.edu)
Date: 05/10/2001 13:52:49


Hi back,

Actually, my mistake was fairly idiotic. I was preparing to send back a
snippet of code in my reply, and while doing so I realized I was setting
setSpotDir with (h, p, r) instead of a (x, y, z) vector. Using the right
parameters fixed the problem. Jeesh!!

How embarrassing. Thanks for responding.

-John

On Thu, 10 May 2001, Marcin Romaszewicz wrote:

>
> If you leave the spot exponent at 0 and set the cutoff angle to something
> less than 180, you should see a uniformly bright light that does get cut
> off.
>
> Keep in mind that spotlight cutoff is computed per vertex, so if you are
> illuminating coarsely tesseletad geometry, it may appear that the entire
> thing gets illuminated due to the way the interpolation works out.
>
> -- Marcin


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu May 10 2001 - 13:54:28 PDT

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