It's not quite the same as writing TGAs - VTFs are more like DDS files than TGAs in how they store image data. You could look at VTFlib (http://developer.valvesoftware.com/wiki/VTFLib) which should be able to point you in the right direction for writing VTFs.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garry Newman Sent: 01 April 2006 11:24 To: [email protected] Subject: [hlcoders] Writing VTFs Just wondering if anyone had done this yet before I started messing. Is it available anywhere in the code? All I could find was writing TGAs. At the moment I can write TGAs fine (following the save game icon example). I'm kinda thinking that the actual data of TGAs and VTFs aren't going to be that different, if the image format is the same. There's some really useful information here http://developer.valvesoftware.com/wiki/VTF Including the struct for the header.. So would saving a VTF just be the same as a TGA but with a different header? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

