grendizerufo / nvidia-texture-tools

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

Error result on A1R5G5B5. #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Check Color16?
2. Add new function for Color16A

What is the expected output? What do you see instead?
It may the same as force to convert R5G6B5 with wrong format.

What version of the product are you using? On what operating system?
r858, Win32

Please provide any additional information below.
Thank you!

Original issue reported on code.google.com by w0w71...@gmail.com on 11 Mar 2009 at 12:34

GoogleCodeExporter commented 9 years ago
NVTT already supports conversion of arbitrary pixel formats. See the 
documentation:

http://code.google.com/p/nvidia-texture-tools/wiki/ApiDocumentation#Pixel_Format
_Conversion

You just have to provide the appropriate masks. Closing as invalid.

Original comment by cast...@gmail.com on 18 Mar 2009 at 5:58

GoogleCodeExporter commented 9 years ago
But when i used nvcompress to convert DXT...

1.texconv -ft DDS -f A1R5G5B5 -m 1 thiefile
2.nvcompress -bc1 thisfile

And i got the error image when nvcompress generated...

Original comment by w0w71...@gmail.com on 19 Mar 2009 at 1:30

Attachments:

GoogleCodeExporter commented 9 years ago
This was a bug in the pixel format conversion code. It's fixed after revision 
898 in
both the 2.0 and trunk branches.

Thanks for the bug report!

Original comment by cast...@gmail.com on 19 Mar 2009 at 9:03