Tuesday Jan 13, 2009

Collada MoonBuggy in JavaFX

Collada MoonBuggy with skin animation in JavaFX.

In the scripting API for this scene graph, animated Collada models are Nodes which are also polymorphic with Timelines. You can "play" them. Relevant code:


var model = Model {
    url: "lunar_lander_tris.dae"
    repeatCount: Timeline.INDEFINITE
}

model.play();

var zoom = 0.0;

var scene = Scene {
   background: BLACK;
   camera: PerspectiveCamera {
       heightAngle: 15
       nearDistance: 1
       farDistance: 1000
       position: bind Transform.translate(0, 0, 30+zoom);
   }
   lights: [...]
   content: model

}

...

Wednesday May 07, 2008

JavaOne 2008

We presented our JavaFX keynote demos yesterday, including Moontank
A true 3D, multiplayer game written in JavaFX script, which includes spatialized audio via OpenAL. Moontank was designed by Anthony Rogers of Tomato design fame. The 3D models, textures, and audio assets were created by Anthony. The JavaFX application itself was written by Gerard Ziemski, and the OpenAL support thanks to Ken Russell. The actual moon images (provided by NASA) are also thanks to Ken.

Those at JavaOne can come by the JavaFX Pod and play it yourself.

About

user12610627

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today