Flipping Texture Tiles For Autogen

I have made photoreal scenery for most of the San Francisco bay area using Sbuilder. It is quite easy to do (only way I would try it). SBuilder avoides the user dealing with arcane INF files etc.... I used Terraserver as the source for color photos. Also easy with JD Cox's program to retrieve large masses of photo data.

Because of the technique used by SBuilder you have to rotate/flip the little autogen texture in the vertical plane for proper placement. Easily done by using Martin Wright's DXTBmp program. However, the number of little scenery tiles for the SF Bay area could easily exceed 100. Thus going through the "flipping" step manually is prone to error for me since I hate repetitive tasks. Do it a few times and move on mentality.

Thus the question - would it be possible to contact Martin Wright and see if he has a DLL that you could call fro the "flipping function"? This request may have a low user participation, and if so, I can limit my "autogenning" to a few areas.

Dick Boley
Last edited:


Resource contributor
Hi Dick,

There are a number of image programmes that can flip bitmaps and work in batch mode. The problem could be the DXT1 format as this format is rarely supported.

But you could write a batch file that calls imagetool follwed by DXTBmp. The batch file would create a set of flipped textures to be used with the anotator program.

May be you could just call DXTBmp from inside a batch file.

A really simple solution is to use AGenT which includes a checkbox to automatically flip the tiles. AGenT has some other nice features like 'forest detection' and randomization with deletion to limits. If you put down too many houses or trees, it can delete the excess. It also allows buildings to cross over tiles so large buildings can be placed one time instead of doing one piece on each tile. The eight adjacent tiles to the one you're working on are shown.