Language Selection

English French German Italian Portuguese Spanish

Marble's Secrets Part I: Behind the Scenes of Marble...

Filed under
Software

If you've ever followed KDE 4 development then you've probably heard about Marble. Marble is a virtual globe which displays the earth. So Marble can be used as a nice digital replacement for your desktop globe at home where you can look up places.

But wait! There's more to it: Actually these days Marble can also display flat maps (thanks to Carlos Licea), can show different "map themes" and can serve as a Qt4-widget as well as an application! This means that as a programmer you can use Marble in your very own project as a map widget (License: LGPL). Marble was designed to run on any device and on any operating system supported by Qt4 without any further requirements. You can download the latest version of Marble together with KDE 4.0.1 here (It's part of the KDE-EDU module).

How Marble stores texture data

If you start Marble you might realize that the startup time is pretty good: It usually takes maybe 2-5 secs to start Marble (and we are working on improving that dramatically). If you zoom into the earth you might notice that Marble doesn't get slower while zooming in. Looking at the amount of memory being used up you will also see that memory numbers don't change either. No matter how much you zoom in it's as little as 65-100MB which is pretty lean compared to other virtual globes.

Among other concepts this is being accomplished by loading the map piece by piece. Marble uses a concept that is very popular among virtual globes: Quadtiles. In fact we are using the most simple form of Quadtiles compared to other more sophisticated solutions. We decided to do so for reasons of pragmatism and in order to keep things easy to understand for people who want to contribute to Marble.

More Here




More in Tux Machines

Kernel Space/Linux

Leftovers: Software

  • KDE Kirigami 1.1 UI Framework Released
  • [GNOME Maps:] Planning a trip
  • Etcher Image Writer Is Now Better Than Ever
    Back in may we spotlighted Etcher, a stylish open-source USB image writer app for Windows, macOS and Linux. In the months since our feature the app has released a over 10 small beta updates, with Etcher 1.5 Beta being the most recent release at the time of writing.
  • Audacious 3.8 released
    Audacious 3.8 was released on September 21, 2016.
  • New Version of Audacious Music Player Released
    A new version of Audacious, a popular lightweight audio player, is now available for download. Audacious 3.8 introduces a small set of features, including the ability to run more than one instance of the app at the same time. Quite why… no idea. New audtool commands have been added, including stream recording toggles, and cue sheet support is said to be “more seamless”.
  • Rambox Puts All Your Favorite Messaging Services In One App
    Rambox is a free, open-source messaging and email app that groups all your favourite web apps into one easy-to-manage window. Sound familiar? We’ve highlighted apps like Rambox before, with Franz and the Gmail-specific Wmail being but two.
  • Stylish Markdown Editor ‘Typora’ Is Now Available for Ubuntu
    In the market for a desktop markdown editor for Linux? You may have helped but notice that you’re rather spoilt for choice. From Abricotine and Scratch to Simplenote, Springseed and Remarkable. Even Gedit can render markdown with the right plugin! With so much choice it can be difficult to know which app to pick.
  • YoutPlayer Floats Your Fave YouTube Videos on The Desktop [Ed: just an Electron app]
    Looking for a neat-o way to play YouTube playlists on your desktop, outside your browser? Take a looksie at Yout, an Electron app that lets you add and watch YouTube playlists on your desktop, floating window stylee. Yout is not the most user-friendly of apps.

today's howtos

Leftovers: Gaming

  • Avoid the pile-up in 'Clustertruck', a first-person platformer with day-1 Linux support, it's great
    We have been steadily getting more 3D "beat the timer" games where you're up against others times, which is great because they really can be fun. I do love getting competitive in certain games, especially with some of my Steam friends and friends in the wider community. Games like this recently have been something I've been repeatedly going back to for a break from life. Clustertruck is not only about beating the times of other people, but it's also a "the floor is lava" game, so if you touch the floor you have to start again. The really funny thing is that the safe pads are moving trucks you have to keep up with. You can at least grab onto the back of a truck if you just about touch it, so it's not always instant death.
  • Fusion 3, the next generation game engine and editor from Clickteam will support Linux
    The difference between their tools and others, is the event system. Instead of needing to program every single line, you can stack up events and link them together to create a game. It works quite well and I'm pretty excited to give Fusion 3 a go on Linux myself to see what random games I can create for fun.