Jump to content

Recommended Posts

Posted

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.

Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64

3ds max / photoshop CS3 / C++

http://www.arbuznikov.com

Posted

Since a buffer's contents is a texture, you can just use the texture directly instead of saving and reloading it.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

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.

Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64

3ds max / photoshop CS3 / C++

http://www.arbuznikov.com

Posted

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.

  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...