2014. szeptember 6., szombat

SOCiS 2014 is over

First of all I would like to say thank you to ESA and to Marble for this great opportunity. It was fun! I would like to say thank you especially to Torsten Rahn who guided me through the summer and to other people who helped me. I also want to thank to Maxime Perrotin who organized this and to everybody who helped in it. And now, about my work in the summer:
As you may now I worked on a new feature in Marble, supporting panoramas. I think everybody can imagine what this means. You can view for example panorama photos taken by rovers on Mars in Marble. Here is a little showcase:

But if you want, you can use it to other purposes too:

And now more technical informations about my work. I can split up my work to two big parts: reading, exploring, understanding the code and writing, plotting, debugging the code. A lot of time I have to refactor my code because to be more similar in style and in idea to the existing codebase, but I learned a lot from it.

In the summer I worked on the following things:
  • KMLs can be used with <PhotoOverlay> tags. Marble can handle them (on any planet) and mark them on the map with an icon specified by its style.
  • You can click on these marks, it will cause a popup like what will appear when you click on a placemark but it will contain a little preview image. This popup has other special abilitys too. It comes with a new button in the toolbar, which will create a new session for you. This will display your image. So just search for this button:
  • I meantioned before it will open a new session. This was an other fruit of this summer. I have put down the basics for session handling so you can return to your previous session after viewing a panorama. Just search for the "Close Session" button on the left. I'm sure more improvements will arrive in time.
  • And don't forget an other importent thing: when you opened a panorama you can open a new KML which will place its content in your panorama so you can achieve an effect like in Google's Streetview.
I still have more ideas how to improve this, so in the following months I know what will I do.

2014. július 11., péntek

SOCIS - 1. Status report

I'm currently participating in SOCIS and I code for Marble. My task is to implement a usable image and panorama viewer based on the standards of the kml language. More precisely I work on the correct handling of the <PhotoOverlay> tag.

My plan is to follow the example of Google Earth, so I dropped out the old PhotoOverlay visualisation method of Marble (just drawing the image to the screen) and approached the problem from a different way.

A PhotoOverlay is marked with a clickable placemark which shows a little popup information dialog when you click on it now. It displays the preview of the image and some information which can be specified under a <PhotoOverlay> object like name, description and location.

Here are some screenshots:

I used the content of http://mars.jpl.nasa.gov to create the screenshots.

For next, I will improve this with actually opening the photo, and visualising it in Marble as a zoomable, pannable plain image.

To be continued...