PositionPathInterpolator

Xith Community:

I am making some progress on Behaviors. You can see what I have so far here:
https://xith-tk.dev.java.net/source/browse/xith-tk/src/org/xith3d/behaviors/

Here is a demo of reading animation code from a COLLADA XML file and converting it into a Xith PositionPathInterpolator Behavior object. It downloads a scene with a space shuttle and makes the position of the shuttle translate over time:
http://earth.whoola.com:8080/space/browser/

I am going to work on the rotation Behavior classes next.

Nice…I do see the tiniest jerkyness when running the example. Maybe some GC occuring. Not complaining just an observation

very nice.

the xse/3ds animation loaders work in xith3d, right?

i noticed delays when trying to use the hud. how is the hud done?

I don’t know what XSE is but Xith does have 3DS loaders.

Do you mean the HUD in Whoola 3D Browser or Dock?

Thanks. I’ve made a mental note to dig into it at some point in the future.

OK, I wrote and tested a first draft of RotationPathInterpolator. The demo is here:
http://earth.whoola.com:8080/space/browser/

Source code:
https://xith-tk.dev.java.net/source/browse/xith-tk/src/org/xith3d/behaviors/

I’m starting to see the jerkiness too. I’m wondering if it is because of my homegrown timer.

A first draft of ScaleInterpolator, ScalePathInterpolator, Scale3fPathInterpolator, and RotPosScalePathInterpolator have been created. Of these, only Scale3fPathInterpolator has been tested. You can see a demo here:
http://earth.whoola.com:8080/space/browser/