Chris Oliver's Weblog

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

}

...

Comments:

When, do you suppose, will we get the 3D scenegraph in JavaFX?

Posted by pron on January 13, 2009 at 04:07 PM PST #

It looks awesome :)

Can you show the code of the "Model" JavaFX class ?
and/or maybe a Java webstart for this.

Posted by JOKe on January 14, 2009 at 02:20 AM PST #

Cool stuff! I hope your posting this means that the JavaFX integrated 2-D/3-D scenegraph is nearly ready! It was a shame it didn't make it into the 1.0 release.

Posted by Simon Brocklehurst on January 14, 2009 at 12:02 PM PST #

I Love to see 3D Animation work.

Posted by Terral Sukut on January 15, 2009 at 03:50 AM PST #

Will the new media graphics stack draw 3D and 2D animated graphics smoother then the present JavaFX 1.0 release?

Posted by Tony Springer on January 15, 2009 at 05:19 AM PST #

Any plans to add a physics engine to 3D (and 2D)?

Posted by Erik Martino on January 15, 2009 at 06:46 AM PST #

@Tony

Smooth animation requires a frame rate >= monitor refresh rate. That is a requirement that we must meet.

@Erik Martino

Yep, dynamic animation is also a requirement.

Posted by Chris Oliver on January 15, 2009 at 08:51 AM PST #

very nice thanks

Posted by chat on May 15, 2009 at 02:01 PM PDT #

good sharing, thank you.

http://www.vaziyet.net/kopek-dovusleri-izle
http://www.vaziyet.net/msn-ac
http://www.haberiz.com
http://www.vaziyet.net/facebook

--------------------------------------------------------------------------------

Posted by haber on May 17, 2009 at 01:49 AM PDT #

http://www.Sohbetizm.Net
thank you very much

Posted by çet on May 18, 2009 at 04:14 AM PDT #

http://www.smsmatbaa.com

Posted by matbaa on June 22, 2009 at 10:01 AM PDT #

thankss

Posted by samsun on July 02, 2009 at 05:46 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Feeds

Search

Links

Navigation

Referers