y2jinc / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

Please support tag somewhere normal map textures #216

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I am trying to understand if inside the image header it is written anywhere 
that the file contains a normal map texture. I compared several generated files 
with an hexeditor but there seems to be no way to distinguish a DXT5 texture 
from a DXTn one. For example see the attached images.

According to the user manual users should set the option -normal, but that 
imposes additional effort to the user which could be ideally avoided. The 
GIMP-DDS plugin for example adds a custom flag of 0x80000000 to be able to 
automatically detect this input.

Would it be possible to set this same flag so that developers may check a 
single flag and users may get a decoded texture right more easily?

Thanks

Original issue reported on code.google.com by vittorio...@gmail.com on 23 May 2015 at 1:30

Attachments:

GoogleCodeExporter commented 8 years ago
Please, use the bug reporting system at github:

https://github.com/castano/nvidia-texture-tools/issues

There's a flag for this already. It's probably the same one used by the Gimp 
plugin:

        DDPF_NORMAL = 0x80000000U,

If the flag is not being set, then it's probably a bug! Please file it over 
there and I'll investigate.

Original comment by cast...@gmail.com on 23 May 2015 at 1:33