ScreenGraph DSL

A place to discuss advanced projects and high-level topics.
Post Reply
Kennedy Tony
Posts: 8
Joined: Sun 10. Oct 2010, 17:48

ScreenGraph DSL

Post by Kennedy Tony » Mon 11. Oct 2010, 09:53

Hi

Is anyone doing any work on the development of a DSL for jreality? at present we are looking at developing one using Xtext while reviewing openQuark's Cal and Stanford uni Protovis project.

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: ScreenGraph DSL

Post by steffen » Tue 12. Oct 2010, 10:53

Is anyone doing any work on the development of a DSL for jreality?
I am quite sure that nobody else is working on such a project.

Let us know how it is going...

Steffen.

Kennedy Tony
Posts: 8
Joined: Sun 10. Oct 2010, 17:48

Re: ScreenGraph DSL

Post by Kennedy Tony » Wed 8. Dec 2010, 06:08

Hi

Progress so far, we have completed the integration of jReality into Eclipse both as a plugin and a RCP environment this has now been used in Bioeclipse, Knime together with several supporting nodes, Debrief (a submariners training program), Remus, an information management program used in here for capturing the provenance of the users efforts (to be used in a university course) , and AMP the modelling framework where it has a simple XML interface generating Java to produce the scenegraph. Several tutorials have been produced demonstrating the techniques used, based on your "from scratch" tutorial. All the above are at the moment PoC We intend to release the code if there is any interest when the powers that be decide on which of the PoC are going to be supported. Current work is bringing jReality to OSGI, EMF and Xtext for some advanced Eclipse programming and comprehensive DSL to be completed after the Christmas break.

User avatar
gunn
Posts: 323
Joined: Thu 14. Dec 2006, 09:56
Location: TU Berlin
Contact:

Re: ScreenGraph DSL

Post by gunn » Mon 13. Dec 2010, 16:57

This sounds fascinating. As a user and fan of the eclipse platform but not a plugin developer, it's hard for me to imagine exactly what the integration of jReality "looks like" to a plugin developer. Could you briefly sketch how a plugin or RCP developer might be able to access jReality functionality using the integration you've achieved? Is there an API which exposes certain jReality classes to the developer so he can create simple (or more complex) scene graphs? Short, impressionistic answer is fine.
jReality core developer

Kennedy Tony
Posts: 8
Joined: Sun 10. Oct 2010, 17:48

Re: ScreenGraph DSL

Post by Kennedy Tony » Thu 23. Dec 2010, 08:53

Hi

Sorry for the late reply, in its final state jReality will be presented to the developer as an extension point and a set of builders and wizards allowing easy integration into the eclipse RCP environment, there is an API its rather fluid at the moment, but I expect to finalize it post Christmas break, other efforts at an API include a j3d lookalike for easy integration into legacy projects. Its expected however that most users will use the XML interface or the DSL to generate scenegraphs . The jReality code is mostly untouched just moved following the existing structure into plugins, i.e. scene core JOGL backend etc. The backend has been extended we have a JOGL plugin based on the AWT bridge (the simplest) a JOGL plugin which is a complete SWT rewrite and a distributed renderer for those who wish to delve into the more exotic. Other backends include BIRT, for reporting and a video feed which allows various forms of editing produced for Debrief. Knime is interesting it uses the AWT bridge but the associated nodes produce an equivalent to the old IBM data explorer software. Hope this answers your question I will start to gather some screen shots and some sample code which will speak the thousand words post Christmas break.

User avatar
gunn
Posts: 323
Joined: Thu 14. Dec 2006, 09:56
Location: TU Berlin
Contact:

Re: ScreenGraph DSL

Post by gunn » Thu 23. Dec 2010, 11:29

Thanks. Sounds like a pretty ambitious project, all in all, when you consider all the pieces and layers you mention.

The DSL for jReality (which was the starting point of this thread) would be interesting to look at. Any chance you can post it? After Christmas, of course. :D
jReality core developer

Kennedy Tony
Posts: 8
Joined: Sun 10. Oct 2010, 17:48

Re: ScreenGraph DSL

Post by Kennedy Tony » Fri 24. Dec 2010, 02:55

Not so ambitious when you consider that the only original components are the DSL and the SWT JOGL backend, have a good Christmas.

Kennedy Tony
Posts: 8
Joined: Sun 10. Oct 2010, 17:48

Re: ScreenGraph DSL

Post by Kennedy Tony » Fri 24. Dec 2010, 03:38

NB.

The DSL has been loosely based on the Haskel SceneGraph project http://www.haskell.org/haskellwiki/SceneGraph.
see also Stanfords ProtoVis project

Post Reply