Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing ImGuiTexInspect #4352

Open
andyborrell opened this issue Jul 22, 2021 · 1 comment
Open

Introducing ImGuiTexInspect #4352

andyborrell opened this issue Jul 22, 2021 · 1 comment

Comments

@andyborrell
Copy link

I'd like to introduce ImGuiTexInspect, a texture inspector tool for Dear ImGui. It's a debug tool that allows you to easily inspect the data in any texture. It provides the following features:

  • Zoom and Pan
  • Hover to see exact RGBA values
  • Annotation system at high zoom which annotates texel cells with:
    • Numerical RGBA values
    • Arrow representation of vector data encoded in color channels (e.g. normal maps)
    • Custom annotations, which can be added easily
  • Customizable alpha handling
  • Filters to select a combination of red, green, blue & alpha channels
  • Per texel matrix-transformation to allow versatile channel swizzling, blending, etc

You can see a live demo here

ImGuiTexInspect

I'm still actively working on this so I welcome all feedback and feature requests. Planned features include:

  • More renderer backend support (so far just DirectX 11 and OpenGL are supported)
  • Better support for floating point textures
  • Dynamically resizable view area
  • Ability to inspect specific mipmap levels
  • Support for textures with multisamples

I hope people find this useful! Please let me know if you have any requests, questions or feedback!

@PathogenDavid
Copy link
Contributor

Looks great and feels great! Added it to the wiki so people can find it more easily.

I like the annotations feature that pops up when you're really zoomed in, can definitely see that being useful when inspecting weirder buffers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants