Try putting the light in the same transform group as the view, don't put the
light in the transform/branch group of your geometry.

Dave Yazel

> ----------
> From:         Bradley Crouch[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Tuesday, September 19, 2000 10:53 AM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] Fixed Directional Light Source
>
> Hi,
>
> I am trying to fix a directional light source at eyepoint, ie going into
> screen at all
> times.
> This is so when I rotate image on screen, light source is still remaining
> fixed and always
> pointing into screen.
>
> The problem know is directional light source follows the object as I
> rotate it with mouse,
> which gives a undesired effect.
>
> Thanks,
> Brad
>
> ==========================================================================
> =
> 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