Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 10:35:45 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Xith3D equivalent to Java3D OrbitBehavior ?
Pages: [1]
Print
Author Topic: Xith3D equivalent to Java3D OrbitBehavior ?  (Read 743 times)
xurde
Just dropped in

Offline Offline

Posts: 4


View Profile Email
« on: 06. March 2009, 10:47:47 am »

Hello again,

I’m looking for a tool in Xith3D that allows you to free fly across the 3D scene with the mouse (something like the OrbitBehavior in Java3D). That exists in Xith3D?

I guest something like that can be available in JAGaToo input system, but I cannot find the javadoc for this part of JAGaToo. Is it available? Or can I download de JAGaToo sources? I have only managed to download the Input system tutorial from SVN.

Thank you a lot!
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 06. March 2009, 02:51:46 pm »

I’m looking for a tool in Xith3D that allows you to free fly across the 3D scene with the mouse (something like the OrbitBehavior in Java3D). That exists in Xith3D?

This is possible by simply extending FPIHMovementConstraints and overriding the method applyMovementDeltaConstraints(). Then you would need to apply an instance of your new class to the FPIH. Pretty straight forward. Maybe you want to share your new class when it is done.

I guest something like that can be available in JAGaToo input system, but I cannot find the javadoc for this part of JAGaToo. Is it available? Or can I download de JAGaToo sources? I have only managed to download the Input system tutorial from SVN.

The source is available through SVN just like xith3d and xith-tk are. Please refer to the xith3d website for the link (right sidebar).

Marvin
Logged
elijah
Enjoying the stay
*
Offline Offline

Posts: 72


View Profile
« Reply #2 on: 07. March 2009, 12:09:57 pm »

Seems complicated. What happens when you do something like SelectManager by using the view transform and mousemovement events. Is there any benefit to used FPIHMovementConstraints in comparison to what I mention above

Elijah
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #3 on: 09. March 2009, 02:16:13 pm »

I don't know OrbitBehavior. Would you please describe in more detail, what you want to achieve?
Logged

Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #4 on: 09. March 2009, 05:11:06 pm »

I don't know OrbitBehavior. Would you please describe in more detail, what you want to achieve?

I guess, he just wants to hover over the terrain in a constant distance to the terrain. This is very similar to the current implementation of FPIH's fixed plane, but just needs to fix the current height value by reading it from the terrain's height map. But I may have misunderstood him.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic