Git Product home page Git Product logo

Comments (2)

walbourn avatar walbourn commented on May 22, 2024

All errors are HRESULTS. If you look up 80070003 in an error look up tool (such as Visual Studio's Tools -> Error Lookup or the legacy DirectX SDK Error Lookup Tool) you will find it is ERROR_PATH_NOT_FOUND which probably is related to the output path.

WARNING: Not all feature levels support non-power-of-2 textures with mipmaps

This is just informational and is emitted any time you create mipmaps with non-power-of-2 width or height textures. This only applies to Feature Levels 9.x.

WARNING: Direct3D requires BC image to be multiple of 4 in width & height

This should probably be a error rather than a warning. The software codec will let you get away with it, but you can't actually create such a resource at runtime with Direct3D. BC compression requires the that top most level be a multiple of 4. It can handle if the mipmaps end up not being multiples of 4, but the top level must be some multiple of 4. So you have three choices:

  • Disable mipmap generation (-m 1)
  • Resize your image to 380 x 260 (-w 380)
  • Use a non-BC format

from directxtex.

jamesford42 avatar jamesford42 commented on May 22, 2024

All errors are HRESULTS. If you look up 80070003 in an error look up tool (such as Visual Studio's Tools -> Error Lookup or the legacy DirectX SDK Error Lookup Tool) you will find it is ERROR_PATH_NOT_FOUND which probably is related to the output path.

Ahh, thanks.

WARNING: Direct3D requires BC image to be multiple of 4 in width & height

This should probably be a error rather than a warning.

I'm not actually even using Direct3D, or even the dds, at runtime. This is only an intermediate step in my content pipeline, so, the fact that it is only a warning is good (for me).

from directxtex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.