Hi,

Maybe I'm being a newbie here but I'm having a weird one...

I have a "planar" surface of many triangles with varying height (random 
"rough" surface). I am shining a SpotLight down on to it. Without 
attenuation set on the light this is fine.

When I set any attenuation (even 1, 0, 0) it appears wrong. I get about 
2/3 of the spotlight circle lit correctly, and the other third seems to 
just be lit with the emmissive colour and nothing else.

An example is here: http://www.anyware.co.uk/marc/j3dlights.jpg

Now either (a) I'm doing something wrong, (b) Java3d light calculations 
are freaking, or (c) there's a bug in my OpenGL drivers. I think my 
drivers (latest NVIDIA drivers) will be using my card's T&L features so 
perhaps this is the problem. However I haven't seen any problems in games 
such as Return to Castle Wolfenstein which I imagine uses these 
features...

Thanks for any info.

Cheers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ W<A> ~~~~~
(o) Wangjammer5 (Marc Palmer) 
( ) Wangjammer7 

www.wangjammers.org = Java Consultants (Web|Smartcards|Crypto)

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to