Skip to content

Instantly share code, notes, and snippets.

@rygorous
Created November 9, 2022 09:56
Show Gist options
  • Save rygorous/5123f83e097deae9b8778d12cd9a9355 to your computer and use it in GitHub Desktop.
Save rygorous/5123f83e097deae9b8778d12cd9a9355 to your computer and use it in GitHub Desktop.
Oodle Texture BC1 + RDO
C:\devel\libs\icbc>\devel\projects\oodle2\cdepbuild\win64_release\textest bc1 c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga out_baseline.dds
test_framework 2.9.9 built Nov 8 2022 16:18:59 on Win-x64 msvc-1929
test_bc1
reading: c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga
auto alpha : RGBA with all Opaque : no alpha
CompressBCN : 64.330 millis, 858.90 c/B, rate= 4.07 MB/s
writing: out_baseline.dds
t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga BC1: rmse=3.4901 hash=0x7b37fc442d36f112
vendor rmse: 3.4953(AMD), 3.4948(NV), 3.4929(Intel), 3.5382(D3D)
rmse_total = 3.490, combined hash=0xe31c1ffb4f7950d3
vendor rmse total = 3.4953(AMD), 3.4948(NV), 3.4929(Intel), 3.5382(D3D)
test_framework test "bc1" took: 0.274 seconds
result : pass [dst:/test_allbc1c__devel_media_blops3bc1_t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tgaout_baseline.dds.done]
C:\devel\libs\icbc>\devel\projects\oodle2\cdepbuild\win64_release\textest bc1 c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga -l30 out_rdo_l30.dds
test_framework 2.9.9 built Nov 8 2022 16:18:59 on Win-x64 msvc-1929
test_bc1
got opt: rdo_lagrange_parameter=30
reading: c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga
auto alpha : RGBA with all Opaque : no alpha
CompressBCN : 412.874 millis, 5.51 kc/B, rate= 634.92 kB/s
writing: out_rdo_l30.dds
t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga BC1: rmse=4.8511 hash=0xc0a74975f8aee09b
vendor rmse: 4.8552(AMD), 4.8538(NV), 4.8538(Intel), 4.8918(D3D)
rmse_total = 4.851, combined hash=0x1482172a4af030bc
vendor rmse total = 4.8552(AMD), 4.8538(NV), 4.8538(Intel), 4.8918(D3D)
test_framework test "bc1" took: 0.632 seconds
result : pass [dst:/test_allbc1c__devel_media_blops3bc1_t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga-l30out_rdo_l30.dds.done]
C:\devel\libs\icbc>gzip -9 out_baseline.dds
C:\devel\libs\icbc>gzip -9 out_rdo_l30.dds
C:\devel\libs\icbc>dir *.dds.gz
Volume in drive C has no label.
Volume Serial Number is 5A51-8042
Directory of C:\devel\libs\icbc
11/09/2022 01:54 AM 3,499,231 out_baseline.dds.gz
11/09/2022 01:55 AM 2,740,652 out_rdo_l30.dds.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment