23.Apr.2007
Long time, no news.
I’m working now on a (new) set of libraries called Graff. Graff is a lighweight high-performance graphics rendering library. I guess it falls into the category of canvas – as currently discussed on the gtk mailing list. It’s a bit more generic though and focused on providing ways of animating graphical elements over time. It knows about motion paths, timelines, animating parameters, etc. The use case here is building new rich custom UI’s, providing a building-block for higher-level toolkits and abstracting hardware-specific quirks. It provides a basic model-view-controller environment with the UI elements (“faces”) being cleanly separated from the “motors” driving them. “Touches” provide event sources.
Graff can currently render using two runtime-selectable backends – a hardware-accelerated OpenGL backend or a software-only driver. The software backend is extremelly highly optimized using all the ugly demo-scene tips&tricks straight form the ‘90ties. It performs suprisingly well and the demo applications mentioned below can actually run good on our existing hardware (nokia 770, nokia n800).
Speaking of demos, I made a few simplistic test applications to sketch the idea of what Graff can already do. Video recordings available below. It’s a work in progress, early on.
Image viewer: a basic image viewer controlled with thumbs.
Dancing emotes: an example showing objects running along morphable paths.
Scrolling list: contact list with inertia scrolling.
Drag: trivial drag and drop with some smooth blending.
The image viewer example uses Jakub’s nice photos. Icons come from our awsome Tango artists.
Powered by Mephisto with a micro theme mod
42 Comments
Where is the code!? :-)
One word: Awesome.
You started next project, but what with previous? Diva, monotheka..
Motion-blur, babyyyyy! Sweet!
When I try to load the videos on my N800, it tells me that the resolution is not supported.
How does this compare to something like Clutter?
Only one thing bothers me – there are so many people who sent me nice and encouraging comments about the project, but somehow it doesn’t translate well into code contributions. I used to think this is related to the fact that multimedia is just darn scary and there are not many people who want to deal with it. But recently I realized, that maybe it’s just my fault of sending the wrong community “signals”. Therefore, I want to make one thing clear:
Your help and skills can make this thing happen. This is open-source, let’s do it together.
Clutter, Pigment, Graff, … Wouldn’t it make sense to join forces in some way?
You know, we all want to contribute. But some just can’t as we don’t know enough. Or we think not being able to. So that’s hard for a project to attract a lot of people, and looking promising helps a lot.
Also to keep on the good contribution track you need to follow some rules.
In my POV Diva was lacking in many aspect. But I can be wrong as I never looked into the source code.
http://video.google.com/videoplay?docid=-4216011961522818645 How Open Source Projects Survive Poisonous People (And You Can Too)
“Application error Typo failed to start properly”
That made me thought it was not sent. sorry
Looks too much like a ripped Evas..
“using all the ugly demo-scene tips&tricks straight form the ‘90ties”…
So… what is your group affiliation, then?
Demos look nice and nice homage to rice-boy!
Nice.
Clutter, Pigment, Graff, lowfat: please join forces if possible
really nice man, good work.
The motion blur makes me sick. I got the same feeling playing RoadRash on PS1 and then threw up.
Reminds me exactly what is done with the Enlightenment Foundation Libraries (EFL for short). Read more on www.enlightenment.org
WOW
By the way, all of these duplicate comments are, no doubt from Internet Tablet users (I’m on a desktop machine right now). In Opera on an IT, your comments “submit” button doesn’t appear to work.
Oh. Ok. Weird… It doesn’t appear to work on my desktop machine either! (In Mozilla.)
ugly demo scene tips&tricks??? i hope by ‘ugly’ you mean awesome.
What did you use to record the videos? I like the mouse cursor.
Um, is there an echo in here, or does everyone else also keep pressing Submit, because it appears to not work?
I only clicked once
looks great!
Your motion blur width is set too high for visibility purposes, and for emulating video/film motion blur.
Try setting it to 1/2 it’s current value. As a general rule, the blur width should correspond to frame_rate*2. i.e If you’re rendering 30fps, then your camera ‘shutter’ should be open for 1/60th of a second.
This will look more natural, and less smeary.
Excellent stuff. Do you have any videos of operation actually on the nokia?
Signed up to the mailing lsit, but how are you going to release the code?
what are the system specs/requirements for this?
Looks like a rip-off of Quartz tricks, how about something original?
“using all the ugly demo-scene tips&tricks straight form the ‘90ties”… so what is your group affiliation? ;)
This is interesting indeed. If this gains enough momentum, and is as simple to use as Flash, we may just have a winner. Performance looks a lot better than Flash on the 770/N800, but I’m thinking that’s due in part because it’s sharing system resources with Opera. I’ll be following this closely as it develops.
Nice demos. where is the code can be downloaded? :)
This is not what the Evas library was designed to do? What’s the difference between your libs and the enlightenment ones?
this looks like a promotion for the damn POS iPhone.
Where is the code?
This looks awesome so far.
Is setting up the scene can be done with XML? Something like XAML? Because the features look similar in many aspects. In what language is it written? C or C#?
Itai.
Is setting up the scene can be done with XML? Something like XAML? Because the features look similar in many aspects. In what language is it written? C or C#?
Itai.
Is setting up the scene can be done with XML? Something like XAML? Because the features look similar in many aspects. In what language is it written? C or C#?
Itai.
Is setting up the scene can be done with XML? Something like XAML? Because the features look similar in many aspects. In what language is it written? C or C#?
Itai.
http://dfabf0b9103ea01d38543a3acac51022-t.mjkson.info dfabf0b9103ea01d38543a3acac51022 [url]http://dfabf0b9103ea01d38543a3acac51022-b1.mjkson.info[/url] [url=http://dfabf0b9103ea01d38543a3acac51022-b2.mjkson.info]dfabf0b9103ea01d38543a3acac51022[/url] [u]http://dfabf0b9103ea01d38543a3acac51022-b3.mjkson.info[/u] f6b3bcdaf332fc7274234d3d09378d12
http://dfabf0b9103ea01d38543a3acac51022-t.mjkson.info dfabf0b9103ea01d38543a3acac51022 [url]http://dfabf0b9103ea01d38543a3acac51022-b1.mjkson.info[/url] [url=http://dfabf0b9103ea01d38543a3acac51022-b2.mjkson.info]dfabf0b9103ea01d38543a3acac51022[/url] [u]http://dfabf0b9103ea01d38543a3acac51022-b3.mjkson.info[/u] f6b3bcdaf332fc7274234d3d09378d12
Sorry, comments are closed for this article.