Winnie: a framebuffer window system

A few weeks ago, I started a minimal window system, which performs software rendering on the linux /dev/fb0. My aim was to learn some systems programming and familiarize myself with concepts like event and device handling, memory management, window management, drawing on the framebuffer, IPC mechanisms etc (and certainly not to create a full linux window system! :)p) I call the program winnie and the code is available on github here: https://github.com/hikiko/winnie/tree/winnie.clients-as-plugins, https://github.com/hikiko/winnie and lp.

The program is not finished yet and I don’t know if I ever finish it, since I came up with new project ideas again.. Nevertheless, you can see some videos of the development stages below if you are interested (most recent first):

Continue reading Winnie: a framebuffer window system

A virtual keyboard

Some days ago I came up with the idea of a keyboard that can be used without having to type the letters. The user just stands in front of a camera and scrolls the letters by moving his head or hands to the appropriate direction…

And here it is:

Continue reading A virtual keyboard

New Stellarium features

As part of the ESA Summer of Code in Space 2011 I improved Stellarium planet rendering (here is a previous post on the project).

More specifically, the following features were added:

1) Procedural perlin noise (fBm) clouds.
2) Bump mapping with normal maps.

The improved rendering code is implemented with GLSL shaders, and requires shader model 3.0 capable graphics hardware.

The following video that shows the effects… (It looks slow because of bad recording, the effects don’t have any impact on Stellarium performance). But you can see the bump mapping and the clouds! 🙂

Many thanks to the Stellarium development team and the ESA SOCIS organization team for giving me the opportunity to participate in the project! 🙂

Stellarium planet rendering improvements.

Here are some screenshots of the new planet rendering in the Stellarium software, implemented as part of the European Space Agency Summer of Code in Space. I implemented a bump mapping algorithm (using normal maps) in GLSL shaders and I integrated it into the Stellarium application (C++). The planets are ellipsoids. There are still many different things to be done for further improving the project, these are just some samples.

(Many thanks to my mentor Fabien Chéreau and the Stellarium development team for giving me the opportunity to participate in the ESA SOCIS, as well as to the organizers of the summer of code!!)*

Screenshots of the moon at night:

Moon using the past planet rendering algorithm
Moon without bump mapping.
Moon using the new planet rendering algorithm.
Moon with bump mapping.

Screenshots of the moon when there’s still daylight:

Moon without bump mapping.
Moon with bump mapping.
Moon using new rendering algorithm.
Moon with bump mapping.

Continue reading Stellarium planet rendering improvements.

Hierarchical animation using trigonometric functions.

This is my first OpenGL project: Bob. (a lego-like robot). It’s made by transformed cubes and it is animated using hierarchical body animation with trigonometric functions.

Video:

and screenshots from early stages:

Early stage robot
robot parts

Bob-robots running on a wooden floor
LEGOs on the floor

 

Ray tracer using axis aligned bounding boxes!

The first ray tracer I wrote (in C++, using SDL to display the pixels). Screenshots:

ray tracer with shadows
Step 1:  Shadows
Shadows and reflections.
Step 2: Shadows and reflections.
Step 3: Shadows. reflections and a sphereflake.

Code:  svn://quasar.dnsalias.com/eleni/ray_tracer