Let there be rectangles…

I have added a new processing step to scenProc that allows you to turn polygons into rectangles. This step is mainly useful when creating autogen vegetation for FS2004, since the vegetation must be rectangular there.

What the step does is just take the polygon and try to fill the shape with rectangles of the size specified. You can also specify the percentage of overlap you want between the rectangles. A random factor can also be specified to give the position a little more variation. Below is an example configuration file that shows how it works:


Below is a screenshot showing the result.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.