Hi,
 
Each group that you want to be "highlighted" should have it's own light. The you simply switch the light on when the mouse is over your group or off when it's not. The light should be simply added directly to your group as any other normel scene graph object: group.addChild(<your light>)
 
Florin
-----Urspr�ngliche Nachricht-----
Von: Alex [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 18. Oktober 2002 11:15
An: [EMAIL PROTECTED]
Betreff: [JAVA3D] Lighting

Hi All,
 
I am facing a problem trying to shine a SpotLight onto a 3D model in my project. I need the lights to shine only when the user moves the mouse over the model. I manage to retrieve the location of the model when my mouse move over it but have very little idea how to attach the lights to the branchgroup where the model resides in. Any help is appreciated.
 
- Alex -

Reply via email to