ArBuZ Posted April 7, 2010 Share Posted April 7, 2010 Hi! As I understand I can't save buffer as dds. Only jpg TGA and png. Just wondering why would I need this function if I don't have ability to use result in the engine? How do you guys convert any kind of images in code while game is running? I need to save buffer to file on hdd. And then later use it in game (Load/Save images). Thanks in advance. Quote Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64 3ds max / photoshop CS3 / C++ http://www.arbuznikov.com Link to comment Share on other sites More sharing options...
Josh Posted April 7, 2010 Share Posted April 7, 2010 Since a buffer's contents is a texture, you can just use the texture directly instead of saving and reloading it. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
ArBuZ Posted April 8, 2010 Author Share Posted April 8, 2010 Yes. But I need it after game is restarted. I wanted to make skreenshots for saved games. I can live without it But anyway it would be a nice feature if SaveBuffer supports dds. Ill post it in feature reques if you don't mind. Quote Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64 3ds max / photoshop CS3 / C++ http://www.arbuznikov.com Link to comment Share on other sites More sharing options...
klepto2 Posted April 8, 2010 Share Posted April 8, 2010 How about saving it as png and then using the freeimage lib to convert it to dds? Of course it would be nice if Josh includes the dds saver but in the meantime this might be a solution. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.