1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Flipping Texture Tiles For Autogen

Discussion in 'AutoGen Object Creator' started by boleyd, 26/4/05.

  1. boleyd

    boleyd

    Joined:
    4/2/05
    Messages:
    108
    Country:
    us-pennsylvania
    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.

    Regards,
    Dick Boley
    Last edited: 14/6/08
  2. Luis_Sá

    Luis_Sá Resource contributor

    Joined:
    16/9/04
    Messages:
    306
    Country:
    portugal
    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.

    Luis
  3. José

    José

    Joined:
    10/11/06
    Messages:
    490
    Country:
    brazil
  4. kjb

    kjb

    Joined:
    16/1/06
    Messages:
    92
    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.

Share This Page