[GSoC] More plugin ports and moving forwardPorting more pluginsIn my last blog posting I wrote about the port of Marble’s Graticule and MeasurementTool plugins to an object based scene management. These ports change how the plugins draw their visual representation. The ported plugins used to draw directly to the scene. After porting they now create geometric objects and add them to the scene. These objects are then drawn by the rendering engine. Well, this is not the whole truth. At least not for now. The “scene” is a simple list of geometric objects at the moment and is meant to be a placeholder. Thats where the scenegraph will be plugged in. But lets get back to the render plugins I have ported during the last weeks.The APRS pluginThe APRS plugin does collect and visualize APRS data (Automatic Packet Reporting System). The port was rather trivial with all the knowledge from previous ports. I also thought about using placemarks with track information for the data points. Since this will require a lot of refactoring to the plugin code and I have to focus on the SceneGraph, I just put that on my TODO list for now.The stars pluginThe stars plugin displays the starry sky around the globe. It is also capable of displaying constellation lines and some deep space objects. The displayed stars are generated from a real stars catalogue and positioned according to Marble’s sidereal time. The brightness of stars is adjusted according to their magnitude.The port brings some performance benefits since stars are created once as scene objects and rendered later. However, projecting the sky onto a virtual celestial sphere inside the scene requires some tweaks to Marble’s layer management and/or projections. We discussed this a lot and I implemented a CelestialProjection as proof of concept which works fine.However, we still need some more tests and investigations to select the correct way to go for the stars plugin. Since we also do not want this to become a blocker for my main goal, I created a separate branch for the stars plugin port and went on with the PositionMarker plugin.The position marker pluginThe position marker plugin marks a geographical position from a positional source (like a GPS device). You can use it for navigation for example. In its simplest form it displays an arrow that represents the current position (according to the positional source used) on the map.The port of the plugin is nearly finished and I will move on to the next phase of my project: Creating missing object representations of all the render methods in Marble’s GeoPainter (which will become obsolete with the scenegraph).Be prepared. My next blog posting about the start of the second project phase that will pave the way for the actual scene graph will follow soon.tags:previous:next: