Μετατροπέας DDS και TGA
Ανοίξτε υφές DDS και TGA με τη διαφάνεια τους, μετατρέψτε τις σε PNG ή δημιουργήστε νέα αρχεία DDS (DXT1, DXT5, RGBA) και TGA για παιχνίδια και mods.
Εκτελείται στο πρόγραμμα περιήγησής σας. Τα αρχεία σας δεν φεύγουν ποτέ από τη συσκευή. Δείτε πώς να το ελέγξετε
…
Πώς γίνεται
- 1Προσθήκη υφών
Πέτα DDS, TGA ή συνηθισμένες φωτογραφίες.
- 2Ελέγξτε τη μορφή
Διαβάστε τη μορφή και τον αριθμό των mip κάτω από την προεπισκόπηση.
- 3Επιλέξτε τις εξόδους
Ορίστε το DDS μορφή, mipmaps και επιλογές TGA.
- 4Επιλέξτε αρχεία
Σημείωσε τις υφές για να μετατρέψεις.
- 5Αποθήκευση
Κατεβάστε αρχεία PNG, DDS ή TGA, αρκετά ως ZIP.
Σχετικά με αυτό το εργαλείο
Games and 3D software store textures in formats that ordinary image viewers ignore. DDS (DirectDraw Surface) keeps textures in GPU-friendly compressed blocks with mipmaps; TGA (Targa) is a simple format with alpha that many engines and modding tools still expect. This converter decodes and encodes both in your browser, so modders, artists and students can inspect and produce textures without installing plug-ins.
Reading DDS
Supported formats are DXT1 (BC1), DXT3 (BC2), DXT5 (BC3), the same formats in the newer DX10 header, and uncompressed RGB and RGBA with any bit masks. The first (largest) mipmap level is shown, together with the format and the number of mip levels stored. BC7 and floating-point formats are not decoded.
Reading TGA
Uncompressed and RLE-compressed TGA files with 8, 15, 16, 24 or 32 bits per pixel, greyscale, true colour and colour-mapped, in any of the four origin orientations.
Making DDS
Choose DXT5 for textures with smooth transparency, DXT1 for opaque or cut-out textures at the smallest size, or uncompressed RGBA for maximum quality. Mipmaps, the chain of half-size copies that GPUs use for distant surfaces, can be generated automatically. Many engines require power-of-two sizes for compressed textures, so the tool can resize to the nearest power of two.
Making TGA
TGA files are written with an alpha channel or without, compressed with run-length encoding or uncompressed, top-left origin.
The compression
DXT formats store each 4 x 4 pixel block with two colours and a 2-bit index per pixel; DXT5 adds an 8-step alpha ramp. The built-in encoder chooses the block's colours along its main colour axis, which gives good results for typical textures; specialist encoders can be slightly sharper.
Uses
Extracting and editing textures for game mods, converting textures for 3D printing previews or portfolio images, and preparing assets for engines and older tools.
Tips for modders
Keep the original texture's size and format when replacing game files; engines can crash on unexpected formats. Check whether the game expects mipmaps, and keep a backup of every file you replace.
Normal maps should usually stay uncompressed or use formats designed for them, because DXT compression can add visible banding to lighting.
Limits
Cube maps and texture arrays show only the first face. Only the first mip level is shown. Respect game licences when extracting assets. All conversion is local.
Λυμένο παράδειγμα
Ένα DDS 1024 x 1024 DXT5 κανονικής υφής από ένα mod παιχνιδιού ανοίγει με 11 επίπεδα mip· μια επεξεργασμένη PNG του ίδιου μεγέθους αποθηκεύεται πίσω ως DXT5 με δημιουργημένους mipmaps, ένα αρχείο 1,4 MB και ως RLE TGA για ένα παλαιότερο εργαλείο.
Με μια ματιά
- Κατηγορία: Εικόνες
- Εκτελείται στο πρόγραμμα περιήγησης, χωρίς εγγραφή, χωρίς μεταφόρτωση.
- Τα στοιχεία που εισάγετε μένουν στη συσκευή σας.
- Διαθέσιμο στα αγγλικά.
- Τελευταία αναθεώρηση περιεχομένου:
- Επίσημη πηγή: Microsoft, Programming Guide for DDS (DirectDraw Surface)
Συχνές ερωτήσεις
Ποιες μορφές DDS υποστηρίζονται;
DXT1, DXT3, DXT5 and uncompressed RGB(A), including the DX10 header. BC7 and float formats are not.
Τι είναι τα μίπμαπ;
Μικρότερα αντίγραφα μιας υφής (μισό, τέταρτο κλπ.) που χρησιμοποιούν οι κάρτες γραφικών για μακρινές επιφάνειες ώστε να αποφεύγεται το λάμψη.
DXT1 ή DXT5;
DXT1 για αδιαφανή ή σκληρή διαφάνεια, DXT5 όταν το κανάλι άλφα έχει ομαλές κλίσεις.
Χρειάζονται οι υφές δύο μεγέθη;
Πολλές μηχανές προτιμούν ή τις χρειάζονται για συμπιεσμένες υφές.
Μπορώ να μετατρέψω το TGA σε PNG;
Ανοίξτε το TGA και αποθηκεύστε ως PNG για διαφάνεια.
Τα αρχεία ανεβάζονται;
Όχι, η αποκωδικοποίηση και η κωδικοποίηση τρέχουν στο πρόγραμμα περιήγησης.
