During the JavaFX keynote at OSCON/Java a few days ago I demonstrated the the EarthCubeFX application ported to JavaFX 2.0. In the session I promised to make the code available on my blog, so here is a link from which you can download the EarthCubeX project (for NetBeans IDE). Some helpful tips:
- After downloading the ZIP file, expand the project into a directory of your choice.
- Start NetBeans, and select the File -> Open Project menu.From the Open Project dialog box,
- Navigate to your chosen directory and open the EarthCubeX project. If you receive a message dialog stating that the jfxrt.jar file can't be found, click the Resolve button and navigate to the rt/lib folder subordinate to where you installed the JavaFX 2.0 SDK.
- Note: You can obtain the NetBeans IDE from the NetBeans site.
Also, although JavaFX 2.0 for Mac OS will be released after JavaFX 2.0 for Windows is released, it doesn't seem to be far behind, as this video of EarthCube on an early access version of JavaFX for Mac OS demonstrates.
Regards,
Jim Weaver
There is no console exits running the application.
only '*** Fallback to Prism SW pipeline'
A mistery. :-0
Jean
Posted by: Jeanpaullopes | August 01, 2011 at 03:39 PM
Jean Paul,
Can you please send me the Java console?
Thanks,
Jim Weaver
Posted by: Jim Weaver | August 01, 2011 at 03:14 PM
Jim,
I´d try to use your exemple of EarthCube but when a run I receive a plain rectangle with part of map (one of the cube face). If I click´n´drag, the image of map change, like that I change the feace waht I´m viewing.
It´s like scene was not in 3D. I´m using javaFX 2.0 r.37 Win64.
I´d try to set deepBuffer in scene, but doesn´t make any effect.
regards,
Jean Paul Lopes
Posted by: Jeanpaullopes | August 01, 2011 at 02:05 PM