Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualChris_F

Posted 03 March 2012 - 11:09 PM

The texconvex tool that came in the SDK doesn't seem to work for me. Sometimes it refuses to load a image and simply gives a cryptic error message reading [file name] FAILED (887c0002). When it manages to actually output an image, the texture file is blank (full of zeros). It doesn't matter what format I try or what images I use. Posted Image

I figured out the reason it was taking a relatively long time to load the texture. In my D3DX11_IMAGE_LOAD_INFO structure I had set the format to DXGI_FORMAT_R8G8B8A8_UNORM_SRGB when it should have been DXGI_FORMAT_BC1_UNORM_SRGB. Using D3DX11GetImageInfoFromFile gets rid of that problem.

I took a look at DirectXTex, unfortunately I was unable to compile the source. I am using VS2010 Express and it does not support OpenMP. I think I may just write my own texture tool instead.

#3Chris_F

Posted 03 March 2012 - 08:44 PM

I tired using texconvex but it doesn't seem to work.

If I simply try something like:

texconvex image.bmp

I get reading image.bmp FAILED (887c0002)

The few times I've gotten it to output a texture file without an error message, it has been nothing but garbage. Posted Image

Also, the texture already had all 13 mip map levels (4096x4096)

Edit:

As well, the DirectXTex library with new texconv utility you posted seems to be useless to me, as I am using VS2010 express and it does not support OpenMP. Posted Image

#2Chris_F

Posted 03 March 2012 - 08:38 PM

I tired using texconvex but it doesn't seem to work.

If I simply try something like:

texconvex image.bmp

I get reading image.bmp FAILED (887c0002)

The few times I've gotten it to output a texture file without an error message, it has been nothing but garbage. Posted Image

Also, the texture already had all 13 mip map levels (4096x4096)

#1Chris_F

Posted 03 March 2012 - 08:31 PM

I tired using texconvex but it doesn't seem to work.

If I simply try something like:

texconvex image.bmp

I get reading image.bmp FAILED (887c0002)

The few times I've gotten it to output a texture file without an error message, it has been nothing but garbage. Posted Image

PARTNERS