Re: [JAVA3D] Camera and Location of a Visual Object

2005-04-28 Thread Hrvoje Smolic
For placing any object anywhere, you have to define TransformGroup tg and its Transform3D(new Vector3f(2,1,0). Then with tg.addchild(your_object) you'll place box in sedired position. === To unsubscribe, send email to [EMAIL P

[JAVA3D] Camera and Location of a Visual Object

2005-04-28 Thread Saeed Ansari
Hi, I want to know, how can I set the location of the a box and it's view angle ? for example I want to locate the box at vector ( 2.0 , 1.0 ,0.0 ) and the camera at ( 2.0 , 3.0 , 0.0 ) .   REgards, Saeed__Do You Yahoo!?Tired of spam? Yahoo! Mail has

Re: [JAVA3D] camera location at start-up

2004-02-02 Thread Mark McKay
Flavius wrote: normally the camera starts at (0,0,0) right? is there a way to change this? thanx === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For gener

Re: [JAVA3D] camera location at start-up

2004-02-01 Thread Nicholas Pappas
Flavius wrote: normally the camera starts at (0,0,0) right? is there a way to change this? Yes. You can create a Transform3D to set the Transform of the ViewPlatform. For example: Transform3D viewT3D = new Transform3D(); viewT3D.rotX(45.0); viewT3D.setTranslation(new Vect

[JAVA3D] camera location at start-up

2004-02-01 Thread Flavius
normally the camera starts at (0,0,0) right? is there a way to change this? thanx === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send e

[JAVA3D] camera angle

2002-11-08 Thread Katja Loescher
Hi all! I have an application where the user can choose points. The application then will interpolate with a spline interpolator between those points, always facing into the direction of the next point. The points always have the same y value, but different x and z values (e.g. P1(1.0;0.5;2.0), P2

Re: [JAVA3D] Camera

2002-08-15 Thread Andy
OTECTED]> Sent: Thursday, August 15, 2002 6:52 AM Subject: Re: [JAVA3D] Camera > Hi Andy, > > > IT WORKS NOW GREAT!!! Thanks!!! > > What was the solution then? > > > But another problemI have to use > > my mouse to rotate it first, then I can use cursor

Re: [JAVA3D] Camera

2002-08-15 Thread Georg Rehfeld
Hi Andy, > IT WORKS NOW GREAT!!! Thanks!!! What was the solution then? > But another problemI have to use > my mouse to rotate it first, then I can use cursor to move it...is it It is a matter of the keyboard focus sitting elsewhere. Simply add c3d.requestFocus(); at the end of y

Re: [JAVA3D] Camera

2002-08-14 Thread Andy
;Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 10:48 PM Subject: Re: [JAVA3D] Camera > o..it works for you? o my god...what's my problem? when I pressed the > up/down cursor, nothing happened, I tried to hold and pressed con

Re: [JAVA3D] Camera

2002-08-14 Thread Andy
or testing it out...I will transfer it to another system and try, thank you again. Andy - Original Message - From: "Georg Rehfeld" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 6:55 PM Subject: Re: [JAVA3D] Camera > Dear Andy, > &g

Re: [JAVA3D] Camera

2002-08-14 Thread Georg Rehfeld
Dear Andy, I wrote: > > Did _YOU_ invent some class of this name (ActionEvent's')? I'm sure you > > didn't! So, sorry, now I can see, that you really invented it ... but you might imagine, that, without your code, one _can't_ know how it is implemented. My apologizes for my rude attitude. > I

Re: [JAVA3D] Camera

2002-08-13 Thread Andy
ad of just mouserotate and zooming. Thanks. Andy - Original Message - From: "Georg Rehfeld" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 11:58 PM Subject: Re: [JAVA3D] Camera > Dear Andy, > > > public JEngine(String vu){

Re: [JAVA3D] Camera

2002-08-13 Thread Georg Rehfeld
Dear Andy, > public JEngine(String vu){ you gave part of your code, but _still_ you ain't very specific: what do you mean by: "doesn't work"??? - do you see nothing at all in your canvas? - you see something, but typing some keys does not move your view? - your app crashes? - someth

Re: [JAVA3D] Camera

2002-08-13 Thread Andy
replying. Andy - Original Message - From: "Mark Hood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 3:06 PM Subject: Re: [JAVA3D] Camera > > Date: Tue, 13 Aug 2002 11:46:19 -0500 > > From: Andy <[EMAIL PROTECTED]>

Re: [JAVA3D] Camera

2002-08-13 Thread Mark Hood
> Date: Tue, 13 Aug 2002 11:46:19 -0500 > From: Andy <[EMAIL PROTECTED]> > Content-Length: 4565 > > Sorry for not telling specific enough, here is my code: Looks OK so far... what do you do with the BranchGroup returned by your createView() method? SimpleUniverse creates a ViewingPlatfo

Re: [JAVA3D] Camera

2002-08-13 Thread Andy
for your reply. Sincerely, Andy - Original Message - From: "Georg Rehfeld" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 8:03 AM Subject: Re: [JAVA3D] Camera > Dear Andy, > > > Hi, I may bother you all too much, but I really wa

Re: [JAVA3D] Camera

2002-08-13 Thread Georg Rehfeld
Dear Andy, > Hi, I may bother you all too much, but I really want to know that how do I > move the view in the virtual universe, like flying around, which is done by > keynavigatorbehavior. Cuz I am trying to construct a house, and I can > navigate inside. Thanks. I'm unsure from your question

[JAVA3D] Camera

2002-08-12 Thread Andy
Hi, I may bother you all too much, but I really want to know that how do I move the view in the virtual universe, like flying around, which is done by keynavigatorbehavior. Cuz I am trying to construct a house, and I can navigate inside. Thanks. Andy ===

Re: [JAVA3D] Camera translation and object

2001-10-24 Thread Justin Knight
Title: RE: [JAVA3D] Camera translation and object Hi, I do a similar thing in the game I've just started writing.  The code fragment below creates a ColorCube and adds it to the camera BranchGroup. I get strange effects (the red side of ColorCube appears to be coloured graduation

[JAVA3D] AW: [JAVA3D] Camera translation and object

2001-10-24 Thread Thomas Bendig
EMAIL PROTECTED] > Betreff: [JAVA3D] Camera translation and object > > Hi there, > > Foremost, I am sorry if my question could be so basic for the j3d forum > discussion list. > > I am working around on how to put together a 3d object that follows the > camera view wher

[JAVA3D] AW: [JAVA3D] Camera translation and object

2001-10-24 Thread Thomas Bendig
> -Ursprüngliche Nachricht- > Von: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]] > Im Auftrag von Thomas Gilbert Giusepe > Gesendet: Mittwoch, 24. Oktober 2001 11:21 > An: [EMAIL PROTECTED] > Betreff: [JAVA3D] Camera translation and object > > Hi th

[JAVA3D] Camera translation and object

2001-10-24 Thread Thomas Gilbert Giusepe
Hi there, Foremost, I am sorry if my question could be so basic for the j3d forum discussion list. I am working around on how to put together a 3d object that follows the camera view whereever it takes. My camera moving is set up by keyboard behavior. My problem is, that the 3Dobject aparently d

Re: [JAVA3D] Camera View

2001-10-18 Thread Joao Manuel De Oliveira Francisco
Hi Britta, > I am still working on my aquarium. At the moment I look straight into it. > I would like to be able to change the views of the camera by pressing >"leftview" "topview" buttons. i have done the necessary camera >configurations, > but i don t know how to activate them. I solved that p

[JAVA3D] Camera View

2001-10-18 Thread Britta Krug
Hi evereybody, I am still working on my aquarium. At the moment I look straight into it. I would like to be able to change the views of the camera by pressing "leftview" "topview" buttons. i have done the necessary camera configurations, but i don t know how to activate them. thanks for your he

[JAVA3D] Camera-based view model

2000-10-20 Thread Eelco van den Berg
Hi, In the Java3D specification it says: "Camera-based viewing functions are available only in compatibility mode. Note: Use of these view-compatibility functions will disable some of Java3D's view model features..." Could this be the reason that the picking functionality does not work properly

Re: [JAVA3D] camera model

2000-01-28 Thread Janet Song
PROTECTED] Subject:[JAVA3D] camera model Hi! if anyone please tell me the default focal length of the camera model and its location(in virtual world frame) in Java3D? I have checked Java3d specification, but they seem not there. J C Tan

Re: [JAVA3D] camera model

2000-01-28 Thread Janet Song
PROTECTED] Subject:[JAVA3D] camera model Hi! if anyone please tell me the default focal length of the camera model and its location(in virtual world frame) in Java3D? I have checked Java3d specification, but they seem not there. J C Tan

[JAVA3D] camera model

2000-01-27 Thread Tan Jiacheng
Hi! if anyone please tell me the default focal length of the camera model and its location(in virtual world frame) in Java3D? I have checked Java3d specification, but they seem not there. J C Tan The Computer and Information Science Dep