The light should illuminate a background polygon as long as the Bounds
are set right. As for 'seeing' the light cone ... As you hint at, we
only see the light cone from a lighthouse because it is reflecting off
dust / moisture in the air as it goes on its way. So we aren't seeing
the light directly (if it isn't pointed as us), but rather only the
light that is scattered in our direction.

To model this properly, you would have to have your Universe filled with
tiny reflective particles, and do ray-tracing.. Not really an option!!

Just cheat - make a semi-transparent, emissive cone and just point it in
the same direction as your light!

Lewis.

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Tarbox
Sent: 26 July 2003 19:48
To: [EMAIL PROTECTED]
Subject: [JAVA3D] how do I see the light cone of a light? I want a
lighthouse effect: beam of light sweeping


I'm trying to do something like a lighthouse where you see a cone of
light coming from a source.

I know that the light has to illuminate _something_ or else you won't
see it.  Any ideas how I create this effect?  I currently have a
background jpeg image but lights don't seem to interact with it.  If I
created a large polygon with an appearance as my background would the
light illuminate it...?

Brian Tarbox

========================================================================
===
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".

===========================================================================
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