Hi,
you need the Transform3D of the TransformGroup that keeps the light and also
the direction of the light itself . DirectionalLight provides method
getDirection().
Gernot
[EMAIL PROTECTED]
http://www.janet.de
> -----Original Message-----
> From: Long Nguyen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 09, 1999 6:43 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Light direction transform
>
>
> Hi,
> I have a DirectionalLight object with a specified direction.
> I'd like to
> create a Primitive (Cylinder) that will line up with the
> light's direction.
> How do I obtain the transform that corresponds to the light's
> direction
> vector?
> Thanks very much,
> -Long N.
>
> ==============================================================
> =============
> 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".