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
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
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
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
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
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
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
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
;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
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
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
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){
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
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]>
> 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
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
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
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
===
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
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
> -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
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
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
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
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
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
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
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
28 matches
Mail list logo