You should really look at the Javadocs that are available at the Java3D download site.
Java3D lights that are available: the DirectionalLight is positioned at infinity with light shining along a parameter vector. The PointLight has a parameter position but radiates in all directions. The SpotLight has a parameter position and shines in a parameter direction in a cone of a parameter radius. As someone mentioned before, it seems that you are looking for a SpotLight. Sean > -----Original Message----- > From: Andy [mailto:alot@;ROGERS.COM] > Sent: Friday, October 11, 2002 4:55 PM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Directional Light > > > But for the so-called "direction", it's actually a point in > the coordinate > system. And that is the source of the directional light, the > d-light will > shine on the coordinate's original. But I don't want to shine on the > original, is it possible? If not, which light should I use? > Thanks a lot. > > Sincerely, > > Andy > > ----- Original Message ----- > From: "John Wright" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 11, 2002 1:41 PM > Subject: Re: [JAVA3D] Directional Light > > > > Andy, > > > > There is no "destination" of a directional light. It simply has > > direction and shines on all objects (within bounds) from > that direction. > > > > - John Wright > > Starfire Research > > > > Andy wrote: > > > > > > The thing is I don't know how to set the destination of a > directional > light. > > > > > > Sincerely, > > > > > > Andy > > > ----- Original Message ----- > > > From: "Brad Christiansen" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, October 11, 2002 3:13 AM > > > Subject: Re: [JAVA3D] Directional Light > > > > > > > Hi, > > > > > > > > Can you not simply remove orignal d.light form the > scene and add a new > one > > > which points in the new direction? > > > > > > > > Cheers, > > > > > > > > Brad > > > > > > > > Stoney Jackson wrote: > > > > > > > > > > > Sorry, I think I've made a mistake, the directional light is > actually > > > > > point > > > > > > TO original from the location you specified. But > how can I make > it > > > point > > > > > to > > > > > > another point? > > > > > > Andy > > > > > > > > > > I don't think that's possible with DirectionalLight. > I think you > need to > > > use > > > > > SpotLight. Of course, SpotLights can't be positioned > at infinity. > > > > > > > > > > The other possibility (you're not going to like this) > is to shift > your > > > > > entire scene to a different location such that the > origin ends up > where > > > you > > > > > wanted your Directional light to aim at. > > > > > > > > > > -Stoney > > > > > > > > > > > > > > ============================================================== > ============= > > > > > 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". > > > > > > > > > > > > > > -------------------------------------------------------------- > ------------ > > > -- > > > > This Email may contain confidential and/or privileged > information and > is > > > > intended solely for the addressee(s) named. If you have > received this > > > > information in error, or are advised that you have been > posted this > Email > > > by > > > > accident, please notify the sender by return Email, do not > redistribute > > > it, > > > > delete the Email and keep no copies. > > > > > > -------------------------------------------------------------- > ------------ > > > -- > > > > > > > > > > > > ============================================================== > ============= > > > > 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". > > > > > ============================================================== > ============= > > 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". > ==========================================================================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".
