|
Replies:
7
-
Last Post:
Jun 19, 2009 11:59 AM
by: ttheriault
|
|
|
|
|
|
|
Wonderland + JavaFX
Posted:
Jun 17, 2009 7:52 AM
|
|
|
Hi everyone,
I was wondering with the addition of JavaFX into the JVM family is there any project/work using JavaFX within Wonderland virtual worlds or is there plans on using the JavaFX platform in the future?
I would be interested in starting a discussing and hearing all your thoughts on the + and - on using JavaFX in this context and maybe where we can take best advantage of its features.
Just to get started I've thought it would be nice to have the client side UI written in JavaFX, for this would have the following benefits; - The UI could run within a browser and then be dragged off to be independent of that browser. (IE only) - The interface could be easily extended by none Java developers and be more rich in look-and-feel. - If the client side kept close to the core JavaFX library then it could run wherever the FX platform is or goes... (i.e. Desktop/Web/Mobile/TV/Blu-ray)
Finally I've read a lot about the performance work that the core FX team has done and especially with the idea of 3D being available in future updates, if this 3D scene graph system is as good as some articles suggest then it would be great to take advantage of it in rending the worlds as well as the container component. This would make it really portable.
I look forward to reading your comments and ideas 
Ian
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 17, 2009 9:25 AM
in response to: userlab
|
|
|
Hi Ian,
We have been talking to the FX team about using FX in the client of Wonderland for in world controls etc, similar to the embedded swing support we have today. To achieve this we need something similar to EmbeddedSwing for FX, which is a work in progress. Once that becomes available we will be able to use FX components in the UI for Wonderland. I don't have a delivery date for this at the moment.
The 3D UI planned for FX is for simple visual effects and there are no plans (that I am aware of) to create a fully featured 3D renderer for FX. So although it would be interesting to create an FX client it would have a very different user experience than our full 3D client.
So I think it would be interesting to use FX to create a second client for Wonderland that addresses a different hardware market (Web, Mobile and Blu-ray) with an interface that is appropriate for those devices.
Rgds
Paul
|
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 17, 2009 1:15 PM
in response to: paulby
|
|
|
the chilling effect of deja vu....
|
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 17, 2009 2:15 PM
in response to: ttheriault
|
|
|
Sorry, I don't get the reference.
|
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 19, 2009 11:59 AM
in response to: deronj
|
|
|
We've had these conversations before haven't we? Hence the deja vu reference.
|
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 18, 2009 1:44 AM
in response to: paulby
|
|
|
paulby,
thanks for your clear statement about future plans concerning JavaFX 3D rendering. I took the liberty of posting your comment in JavaFX General: 'JavaFX 3D powered by Java 3D' http://forums.sun.com/thread.jspa?threadID=5373702
August
|
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 17, 2009 9:40 AM
in response to: userlab
|
|
|
wonderland@javadesktop.org wrote: > Hi everyone, > > I was wondering with the addition of JavaFX into the JVM family is there any project/work using JavaFX within Wonderland virtual worlds or is there plans on using the JavaFX platform in the future? > This is a topic I am interested in. There are two aspects that I have been thinking about.
1. Running 2D JavaFX programs in an app base window.
This is a feature that some community members have asked for. With this, you could write Wonderland programs which use Wonderland APIs, but implement the GUI using JavaFX. This will allow JavaFX design tools to be used to implement Wonderland GUIs. I've done a bit of investigation into this and the main thing it requires is to get JavaFX to run inside of an Embedded Swing component. The JavaFX folks have done some work along these lines, but it's not clear at this time how complete it is. This is definitely something I'd like to investigate further in the future.
2. Running FX scripts using the ScriptingComponent
One of the things I hope to work on for the Wonderland post-0.5 release is language specific scripting. Enabling convenient scripting of JavaScript will be my priority, but I am also interested in doing the same for JavaFX at some point. > I would be interested in starting a discussing and hearing all your thoughts on the + and - on using JavaFX in this context and maybe where we can take best advantage of its features. > > Just to get started I've thought it would be nice to have the client side UI written in JavaFX, for this would have the following benefits; > - The UI could run within a browser and then be dragged off to be independent of that browser. (IE only) > One of the features that the app base architecture supports is the ability to drag windows out of the Wonderland 3D window and onto the user's native desktop. We don't have time to include this feature in 0.5, but hopefully it can be added in the future. > - The interface could be easily extended by none Java developers and be more rich in look-and-feel. > - If the client side kept close to the core JavaFX library then it could run wherever the FX platform is or goes... (i.e. Desktop/Web/Mobile/TV/Blu-ray) > > Finally I've read a lot about the performance work that the core FX team has done and especially with the idea of 3D being available in future updates, if this 3D scene graph system is as good as some articles suggest then it would be great to take advantage of it in rending the worlds as well as the container component. This would make it really portable. > We have discussed the JavaFX 3D a bit with the JavaFX rendering team and they have expressed an interest in finding out more about what Wonderland has been doing in the area of graphics, to see if there is any leverage for them. We have a good relationship with this group and hopefully will be able to continue to be in the loop as they proceed on their design.
|
|
|
|
|
|
|
|
Re: Wonderland + JavaFX
Posted:
Jun 17, 2009 10:22 AM
in response to: Deron Johnson
|
|
|
>> 2. Running FX scripts using the ScriptingComponent
I was working on making javafx run as a scripting language but ran into serious difficulties. Making java itself run as a 'scripting' language was tough and I could not have done it without a bit of help from the jsr223 support people. For javafx I could not find any help with the things that I needed to make the interface work.
Morris
|
|
|
|
|