ktx create not doing verbatim copy of EXR half_float. Also "Not enough precision" error message is unclear.
メンテナーはふだん 1 日以内に返信
@MarkCallow がすでに取り組んでいます。
2025年1月6日 から。
評価
この issue はまだ評価されていません。
説明
When loading an EXR file with half float channels and --format R32B32B32A32_SFLOAT ktx create raises an error
Not enough precision to convert 16 bit input to 32 bit output for R32B32B32A32_SFLOAT.
However ExrInput::ReadImage happily accepts a targetBitDepth of 32 which it passes on to LoadEXRImageFromMemory which returns float values. If I comment out this code https://github.com/KhronosGroup/KTX-Software/blob/b6190046bbf71e0fbf9e7a964f6ee39d726b16be/tools/ktx/command_create.cpp#L1406 where the error is raised then ktx create successfully creates the texture. So two questions:
- Why is it attempting to convert to float when it already has float? It requested float and received float.
- "Not enough precision"? TinyEXR is managing to do the conversion. Is this poor error message wording and ktx create simply does not implement such conversions?
The half-float file I've been using for testing is https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/ScanLines/Blobbies.jpg.
- 主要言語
- C++
- スター
- 1.4k
- フォーク
- 328
- 平均マージ
- 20時間 40分
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
KhronosGroup/KTX-Software のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
KhronosGroup/KTX-Software#1324 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
KhronosGroup/KTX-Software#1253 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
awaiting information
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
KhronosGroup/KTX-Software#1020 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature request: separating the core KTX file handling from the higher level supporting write toolsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
KhronosGroup/KTX-Software#1327 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
ktxTexture2_SetImageFromMemory is not accessible (i.e., must use ktxTexture_SetImageFromMemory instead)対応中かも @walcht が 47 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
KhronosGroup/KTX-Software#1273 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
KhronosGroup/KTX-Software の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
メンテナーはふだん 10 日以内に返信
-
Server crashes when a mob dies to poison対応中かも @joelstiller が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DarkCastleMUD/DarkCastle#305 ·
メンテナーはふだん 1 日以内に返信
-
[Issue]: RAS status report lists the wrong pids for an outlier node対応中かも @bhargavchintam が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Niko1221/Strata#7365 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
BenjaminPoilve/minichord#203 ·