FSWeekend presentations

I made a mistake in my last blog post about our SketchUp presentation at FSWeekend. We will not be giving this presentation on both days, but only on the Saturday. On the Sunday there are some other interesting presentations. Below is the complete schedule of all presentations. Hope to see you there!

Saturday

11:00 – 12:00 – Geert Rolf – Rebuilding a real Flight Simulator, an overview of 3 years work at the Norwegian DC-10 (in English)

 

13:00 – 14:00 – Joop Mak – The history and development of the NL2000 scenery (in Dutch)

 15:00 – 16:00 – Arno Gerretsen and Francois Dumas – Build your own house with SketchUp (in Dutch)

Sunday 

11:00 – 12:00 – Joop Mak – The history and development of the NL2000 scenery (in Dutch)

13:00 – 14:00 – Durk Talsma – FlightGear (in Dutch) 

15:00 – 16:00 – Austin Meyers – X-Plane 10 (in English)

 

scenProc improved filtering

Today I have extended the filtering options in scenProc. I have added some addition parameters and allowed different conditions. The new attributes are the length, width and area of the feature. These are calculated and added as attributes for each feature now. The new conditions mean that you can now also filter on attributes being not equal, greater or smaller than the given value.

An example where I used such conditions is below. In that case I gave all buildings with a width below a certain value a peaked roof, while I gave all wider buildings a flat roof. With this I hope to get a better representation of big buildings, since they are more likely to be industrial buildings or for example schools. Just buildings more likely have a flat roof.

The image shows the result is still not perfect, but it is getting better. I’ll be doing some more experimentation to determine how to filter the footprints and determine more realistic autogen building types.

ModelConverterX on Linux

Yesterday I updated my Linux machine to the latest version of Ubuntu. One of the components that was updated along the way was Wine. So this morning I decided to try to start ModelConverterX using Wine. I had tried this before, but then it resulted in a crash as far as I remember, because one of the DLL files tried to access a Windows specific function. But, slightly to my surprise, ModelConverterX now ran fine. Below you see a screenshot of the tool in action on Ubuntu, loading a FSX MDL file.

I think it is good news the tools runs on Linux as well, for example for developers who want to convert some of their MSFS work to FlightGear or the other way around.

Learn about SketchUp at FSWeekend 2011

This year I will be attending the yearly FSWeekend event at Lelystad again. Just like in previous years you will be able to find me at the NL2000 / FSDeveloper stand. This year I will be there together with Francois Dumas (from FSAddon and much more) and we will be showing you have much fun it is to make scenery with Google SketchUp. Every day we will give a presentation at 15:00 as well, where we will give you a crash-course to get started with SketchUp. So always wanted to add your own house to FS? Make sure to visit us at the FSWeekend!

Decompiling and compiling autogen

A few weeks ago I made a tool that can decompile AGN files and create a TXT file to show you which autogen is in there. I called this tool agn2txt. It is my plan to make a compiler as well for the reverse, so this would be called txt2agn. It can create an AGN file again from the TXT file with the information.

Making this tool was very useful for me to learn more about the AGN format. But I did not look at the SDK properly, since the FSX SDK also comes with a tool called AgnDump. It creates a XML file with all the information about your AGN file. So I think that instead of making a txt2agn, I might better make a xml2agn. What do you think about that?

scenProc beta available

A first beta version of the scenProc tool is available for testing now. It is part of the development release package of my tools. The tool is a command line tool to create scenery from data you import. At the moment it can create autogen files from GIS vector data. In the future other scenery processing will probably be added as well. On the FSDeveloper Wiki you can find the manual of the tool as well, it explains the options you can specify in the configuration file.

Let me know how you get along with processing your own data. If there are any suggestions, comments or bug, let me know so that I can improve the tool further. You can use the scenProc forum to discuss this tool.

Autogen from OSM (3)

Since my last blog post about the autogen I have mainly been working on adding autogen buildings as well. This went quite well, I can now add the generic autogen buidlings as well as the row houses from my tool. There are still some issue that some of the buildings don’t get the right shape, that’s because in the autogen you don’t use the total footprint. I need to derive a orientation and size from the footprint information. But once those few issues are out, I think I can make the tool available to others for testing as well. Let me know if you are interested.

In have made a video to demonstrate the workflow of making autogen from GIS vector data.

Autogen from OSM (2)

Tonight I was able to fix the remaining bugs in my tool to generate the autogen forests from the OpenStreetMap data. One of them was that I didn’t know that in the AGN file all polygons need to be closed (first vertex the same as the last vertex). Below are some screenshots of how it looks in the Annotator tool and in FSX now. The photo scenery I use is the NL2000 scenery of the Netherlands.

Now that the forests are working, I am going to move to the houses. Let’s see what I can do with the house footprints from the OpenStreetMap data…

Autogen from OSM

As I mentioned in my previous blog posts I am trying to create autogen from GIS vector data. For my first test case I am using the OpenStreetMap data of the Dutch island of Schiermonnikoog. Below you see a screenshot from the data, as well as a screenshot in the Annotator tool showing the autogen I have made.

It isn’t perfect yet, but I am quite happy already with the first results from tonight. Some of the forests are still missing, so there are still a few bugs left in my tool. But on the other hand quite a big part is already there.

Next step after the forests will be to try the footprint data of buildings that is also in OpenStreetMap, since that was my prime goal anyway. So see if I could fill whole areas with autogen buildings. I’ll keep you posted about the progress.

agn2txt

If you download the development release package of my tools, you will find a new tool in there from today. I called it agn2txt and it dumps the content of an autogen AGN file to a readable text file. It is a tool that I used which learning more about the autogen file format. I have included it, because I thought it might be useful for others as well.

I have plans to later also add a txt2agn tool that can do the reverse step, so that you can make minor changes to the autogen by editing the TXT file. But I haven’t come to that yet, as I first want to do some more experimentation with making autogen from GIS vector data.