Hi,

One way I can think of is to add the light source and the target transform
group for the behaviors as separate branches of the scene graph. That is,
the light source should not be a direct descendant of the transform group
that is affected by PickRotateBehavior, etc.

I assume that the mouse behaviors currently target a parent transform
group of the objects, and not a parent transform group of the view.

Regards,
Manu.

On Wed, 20 Sep 2000, Bradley Crouch wrote:

> 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