dds-format

Batch convert DDS file to DDS without mipmaps

主宰稳场 提交于 2020-01-24 00:50:14
问题 I have a Mount & Blade: Warband mod called 1257 AD. The mod itself is great, but all the textures have to be resaved to remove mipmaps from dds files, to remove glitches on GNU/Linux. And of course, I could do this manually, but it will took a lot of time(over 2000 textures), and is there any way for gimp to just open and save the file without mipmaps. Also, last time I wanted to do this I used loop with Imagemagicks convert, but it kept mipmaps. So how do I do this kind of convert? 回答1: You

I thought *.DDS files were meant to be quick to load?

≡放荡痞女 提交于 2020-01-01 05:47:26
问题 Ok, so I'm trying to weigh up the pro's and con's of using various different texture compression techniques. I spend 99.999% of my time coding 2D sprite games for Windows machines using DirectX. So far I have looked at texture packing (SpriteSheets) with alpha-trimming and that seems like a decent way to get a bit more performance. Now I am starting to look at the texture format that they are stored in; currently everything is stored as *.PNGs. I have heard that *.DDS files are good,

SharpDX load a texture in Windows Phone 8

天涯浪子 提交于 2019-12-11 07:42:55
问题 I'm creating a Windows Phone 8 app and I'm using SharpDX to load a texture. I've tried to load PNG using Content.Load<Texture2D>("filename.png") but I've got errors and I've realized that SharpDX in Windows Phone 8 only accepts DDS textures and doesn't accept PNG/JPEG/BMP etc. I've converted my PNG to DDS using texconv filename.png and added the file to my solution just like other files that I'm using in my project (that I can load correctly). When I run my app, I'm getting an exception:

How to load .dds files into a picturebox?

99封情书 提交于 2019-12-01 06:43:41
How do I load .dds texture files as an Image in C#? There's nothing useful on google that I could find. The more information with samples you give me,the better it will be for me to understand it. I think the short answer is that you don't. The documentation says that the supported formats are BMP, GIF, EXIG, JPG, PNG and TIFF. Update: there seem to be a number of converters to be found through Google , that might help you out. Also, as Wayne suggests, look at XNA (if you didn't already). The Texture2D.FromFile method seems to handle the .dds files, but I never used it myself so I can't say if

How to load .dds files into a picturebox?

别说谁变了你拦得住时间么 提交于 2019-12-01 04:12:57
问题 How do I load .dds texture files as an Image in C#? There's nothing useful on google that I could find. The more information with samples you give me,the better it will be for me to understand it. 回答1: I think the short answer is that you don't. The documentation says that the supported formats are BMP, GIF, EXIG, JPG, PNG and TIFF. Update: there seem to be a number of converters to be found through Google, that might help you out. Also, as Wayne suggests, look at XNA (if you didn't already).