Results 1 to 16 of 16

Thread: Saved DDS producing square shield

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Saved DDS producing square shield

    I have been modding TGA's recently. Redid the macedonian hypastists and was pretty happy with the results.

    I started redoing the macedonian peltasts. Basically, I substituted a light blue for the orange areas. When I finished, I loaded everything up and tested it in the custom battle. Everything worked out fine except for the shield shape. Instead of a round shield, I ended up with a square shield. It looks like the black background surrounding the shield in the TGA is now displayed with the shield resulting in a square shield.

    The TGA is saved as a DDS DXT 5 file. Any ideas as to what caused this problem and how I can solve it?

    Thanks in advance!

  2. #2

    Default Re: Saved DDS producing square shield

    You have a problem with your alpha; it should be save as interpolated alpha.

  3. #3

    Default Re: Saved DDS producing square shield

    Thanks, Devil.

    I am using the DXTBMP tool for saving and exporting the TGA's. I have been importing the TGA into the DXT tool, then exporting to Paint. After making color changes, I then save the results as a BMP. Then I use the DXTBMP tool to reload the BMP. Once reloaded, I save as a DDS DDT5 file to convert the BMP back to a TGA file.

    Where did I introduce the problem with the alpha? Typically I don't do anything except paint the BMP with PAINT. Then save and convert, etc.

    Some of the options I see under alpha are to "refresh alpha", "import/export", and "apply alpha to image". I don't see an option to interpolate or save the alpha. Would selecting any of these options result in an interpolated alpha?

    Thanks in advance!

  4. #4
    Member Member Plantagenet's Avatar
    Join Date
    Dec 2003
    Location
    Westminster Palace
    Posts
    271

    Default Re: Saved DDS producing square shield

    The only time I've seen those squares is when I messed with the black background. So if you cut and paste anything, it must be just the object itself, no background. You can't just paint it black where you've altered it, you apparently have to leave it alone altogether.
    My ancestors came with William the Bastard and won their lands by the sword, and with the sword I will hold them against all comers.
    -Earl John de Warenne of Surrey

  5. #5

    Default Re: Saved DDS producing square shield

    Actually I have been wondering how to cut and paste but I haven't even attempted to do it yet. And I am not sure I can do it with MS Paint.

    The only thing I did besides the import/export/save process was to touch up the shields and change the color of the trim in some other segments. Somehow I seem to have accidently converted the alpha background from transparent to opaque. I suspect it happened during the save process but I really don't know.

  6. #6

    Default Re: Saved DDS producing square shield

    I think I just found the problem!!!

    I saved as a DXT1 instead of DXT5 file. DXT1 doesn't have an alpha.

    Let me go test.

  7. #7

    Default Re: Saved DDS producing square shield

    Not the problem, back to square one.

  8. #8

    Default Re: Saved DDS producing square shield

    Not the problem, back to square one.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO