« Your Calendar PWN3D: Leveraging the JavaFX SCENE3D ConditionalFeature | Main | EarthCubeFX on JavaFX-TV »

May 05, 2010

Comments

Sergiy Gavrylko

Hello,

I'm using the latest NetBeans 6.9 to run this project on my side.
But when I run application I get "The SCENE3D conditional feature is not supported" message in the output. I thought, that it is something wrong with JavaFX SDK on NetBeans. So, I have downloaded the last JavaFX 1.3 SDK today and configures NetBeans to use it. But still I get the same message - "The SCENE3D conditional feature is not supported".

Then I have commented the next condition in the code of application:
if (not Platform.isSupported(ConditionalFeature.SCENE3D)) {
println("The SCENE3D conditional feature is not supported");
FX.exit();
}
and then run application again. Application runs, but without 3D. And also now I get the next message:
"WARNING: 3D transforms are not supported with Swing toolkit"

I'm using "-Xtoolkit prism" as JVM argument when I run application.

Please review and advise.
This application is very interesting for me.

Best regards.
- Sergiy Gavrylko

Dangjavageek

John, if you grab the JavaFX SDK off of http://javafx.com, the PRISM toolkit comes with it. A good article describing this is http://weblogs.java.net/blog/opinali/archive/2010/05/03/first-long-look-javafx-13-and-prism and you use the "-Xtoolkit prism" option to tell JavaFX to use that toolkit. Best regards, -- dangjavageek

John Coady

What exactly is PRISM and is it possible to download it so that I can get the example to work on my computer?

Peter Pilgrim

Hey James

This is a really nice introduction to the capabilities of 3D Features.

FX lacks proper 3D scenegraph primitives at the moment. That being said you show a great technique to manipulate the 2D shape primitives in the 3D cartesian space.

Yes at the moment, you need to be 3D maths wizards or mental projectionist to visualise how to transform shapes into 3D space. It is possible with an experiment, two or three.

Until the 2D and 3D libraries under the service of the ice berg are united then mouse manipulation will be hard. Adding controls on the 3D scene means that they become unresponsive. I thought of a potential solution of having two separate javafx.scene.Scene on a stage javafx.scene.Stage but then I looked at the javafxdoc, the Stage can only accept one Scene node. Drat! One would need two separate Stages. One to show the 3D scene and the other stage to show javafx controls.

The comments to this entry are closed.

Categories