Texture formats

Discussion in 'Xbox 360 Development' started by Gamesreview, Feb 10, 2009.

  1. Gamesreview

    Gamesreview Spirited Member

    Joined:
    Jan 20, 2009
    Messages:
    190
    Likes Received:
    0
    I've been browsing through several games and found Texture data as TX1D, TX2D, TX3D. I've read the documentation about, 1D, 2D and D texture types. But not much is to be found. Some function calls, but not more.

    Can someone elaborate on the texture format being used by the xbox360? And how to handle them? I've seen alpha channels on the texture etc.

    Thanks!
     
    Last edited: Feb 10, 2009
  2. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Err, what are you trying to do with textures? I thought you were using a test kit, not a dev kit.....

    Why is it that the manuals never have the answer? How do you think the studios learn this stuff?
     
  3. Gamesreview

    Gamesreview Spirited Member

    Joined:
    Jan 20, 2009
    Messages:
    190
    Likes Received:
    0
    No, I received a demokit recently. If you've seen the sdk documentation you'll see it is not so easy. If it would be there, clear and cut, I wouldn't ask. As to the studios, the game devs follow courses. A luxury I don't have.
     
    Last edited: Feb 11, 2009
  4. ASSEMbler

    ASSEMbler Administrator Staff Member

    Joined:
    Mar 13, 2004
    Messages:
    19,394
    Likes Received:
    995
    You can name it whatever you want it depends on the game engine.
     
  5. selgus

    selgus <BR><IMG SRC="http://assemblergames.com/forums/ima

    Joined:
    Mar 8, 2008
    Messages:
    84
    Likes Received:
    3
    The 360 can support many different texture formats, some which are 2D formats (meaning they are accessed via UV co-ordinates), some which are 3D formats (meaning they had an additional co-ordinate so you can think of them as an array of 2D textures).

    The formats just extend on what DirectX supports, and those are very well documented all over the net. The formats, DXT, are geared for different compression levels and channels. Some have alpha, so do not, some quantize the data more than others, etc.

    You shouldn't really have any trouble finding information about most of the texture formats, without having to be an official developer. Now some of the formats are specific to the 360, and those are documented in the 360 SDK (which is covered under NDAs).
    --Selgus
     
    Last edited: Feb 13, 2009
  6. Gamesreview

    Gamesreview Spirited Member

    Joined:
    Jan 20, 2009
    Messages:
    190
    Likes Received:
    0
    Thanks for pointing that out!
     
  7. Krypton_VII

    Krypton_VII Peppy Member

    Joined:
    Jan 12, 2008
    Messages:
    354
    Likes Received:
    4
    If you wish to make said DXT textures, the 360 utilizes Direct Draw Surface bitmaps (.DDS). You can obtain a DDS plugin for Photoshop on the interwebz, and save/load DDS files.

    There's different formats as said.

    DXT1, DXT2/3, DXT4/5, A8R8G8B8, P8, B8G8R8A8, the list goes on..

    TX1D or whatever you had posted = DXT1 i'd assume, it's just.. scrambled..

    Regardless that should give you what you need, seeing as when a dev takes a screencap it takes them in a DDS format, rips it to your computer, converts to a A8R8G8B8(32-bit per pixel) .bmp. If you save the dump of the DDS though you can open it in photoshop with the plugin. This all, being an example of how I said the Xbox 360 utilizes Direct Draw Surface Textures.

    Enjoy.
     
    Last edited: Feb 14, 2009
  8. Holy Ownage

    Holy Ownage Active Member

    Joined:
    Sep 10, 2008
    Messages:
    46
    Likes Received:
    0
    Thanks. Thats really quite helpful.
     
  9. Gamesreview

    Gamesreview Spirited Member

    Joined:
    Jan 20, 2009
    Messages:
    190
    Likes Received:
    0
    Thanks for the info, Xenon!
     
  10. selgus

    selgus <BR><IMG SRC="http://assemblergames.com/forums/ima

    Joined:
    Mar 8, 2008
    Messages:
    84
    Likes Received:
    3
  11. Krypton_VII

    Krypton_VII Peppy Member

    Joined:
    Jan 12, 2008
    Messages:
    354
    Likes Received:
    4
    While that is true it does not cover all formats.

    Nice find though.
     
  12. Gamesreview

    Gamesreview Spirited Member

    Joined:
    Jan 20, 2009
    Messages:
    190
    Likes Received:
    0
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page