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

Ubuntu Dock Now Shows Badges and Progress Bars for Pinned Apps on Ubuntu 17.10

With only two days left until the upcoming Ubuntu 17.10 (Artful Aardvark) operating system hits the Final Beta milestone, developers are still working on adding finishing touches to this release, and they've again improved the Ubuntu Dock. Read more

NethServer 7.4 Linux Server OS Enters Beta Hot on the Heels of CentOS 7.4

NethServer's Alessio Fattorini just informed us today about the availability of the first Beta release of the upcoming NethServer 7.4 Linux server-oriented operating system, which is based on CentOS 7.4 and comes with various improvements. Read more

Firefox takes a Quantum leap forward with new developer edition

Earlier this year we wrote about Project Quantum, Mozilla's work to modernize Firefox and rebuild it to handle the needs of the modern Web. Today, that work takes a big step toward the mainstream with the release of the new Firefox 57 developer edition. The old Firefox developer edition was based on the alpha-quality Aurora channel, which was two versions ahead of the stable version. In April, Mozilla scrapped the Aurora channel, and the developer edition moved to being based on the beta channel. The developer edition is used by a few hundred thousand users each month and is for the most part identical to the beta, except it has a different theme by default—a dark theme instead of the normal light one—and changes a few default settings in ways that developers tend to prefer. Read more

Today in Techrights