Yes hdcookbook project is a framework that helps seting up a blu-ray
java developemnt enevironment (Blu-ray discs use JavaME for building
menus based on Xlets kind of Applets, the name comes from JavaTV).

GRIN is the scene graph that comes with hdcookbook framework and it is
used for the UI. It is similar to JavaFX but optimized for blu-ray
disc players and JavaME (no swing).

The core of GRIN is the animation engine (in GWT the animation engine
extends Animator). It runs and tries to render a Show file (or more
than one). The Show is the Animator client that is called periodically
by the Animator's onUpdate() method to paint the next frame of a Show.
In GRIN a Show is a set of Segments (only one Segment is active at a
time) and a Segment displays a set of Features (the visual elements).

The GRIN show file is a simple TXT file that contains all the Show
elements and their relations. For example, the demo:

http://mosaic.arkasoft.com/GRIN4/

 could be a slide show, or a presentation. The GRIN Show file for that
demo is:

http://pastebin.org/425611

Lines: 74-111 contain the description of each segment in this show.

The first segment "Segment0" is triggered by the GWT EntryPoint class.
This is why this Show element is exported at line 5.
Each Segment can have a set of Features in two states: 'setup' or
'active'. Segment0 is used to setup: F:Scaler and F:Box1.Translator
but has to active features. Segment0 will not show any visual elements
and once setup is done it will move the Show to Segment1 (line: 80).

Segment1 has two active Features (those that are already setup by
Segment0) and will display them. Segment1 will then setup F:Scaler and
F:Box2.Translator and the Show will be moved to Segment2 after the
F:Box2.Transtor is done (see: line 23). And so on, until the Show is
moved to Segment3 and back again to Segment0 (see line: 61).

About Javelin this is a dead link, I assume this was a project that
was using XML instead of TXT for the GRIN Show files.

I am still playing with GRIN port to GWT. At least so far one could
use it for presentations or games.

Kind Regards,
George.

On 28 Ιούλ, 17:27, Nathan Wells <[email protected]> wrote:
> I'm a little confused... It seems like the project you link to has
> more to do with tv's and dvd's... is the browser the "screen" in this
> case? Also, what is Javelin? the Grin page links to it but it looks
> like an non-existent project?
>
> On Jul 27, 6:56 pm, ggeorg <[email protected]> wrote:
>
> > OK, I will prepare a first release at the end of this week.
>
> > On 28 Éïýë, 03:45, Miroslav Pokorny <[email protected]>
> > wrote:
>
> > > Interesting can you make an official ready to go d/l available so we can
> > > skip the checkout and build step.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to