`coat_weight` applied twice in multiple places
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- css
調査の方向性
Start by reading the coat-weight equations in the OpenPBR specification, especially Eq. (12), Eq. (16), Eq. (60), and Eq. (73), alongside section 3.4.1 and 3.4.3. Trace where coat_weight appears in the base and coated contributions, then determine whether the equations preserve the intended linear mix. Done means the affected equations and explanatory text consistently treat coat_weight as the mix factor.
索引モデルが issue の本文から書いたものです。
説明
According to the diagram below Eq (12)
coat_weight is a mix factor of a none-coated base and a fully-coated base, so coat_weight should only act as a mix factor, not part of the none-coated base or coated-base. However, in multiple places, this coat_weight also appears in the base layer.
For example, In 3.4.1 Coat Darkening section, the spec says "multiply the base BSDF by the uniform modulated darkening factor (taking into account the presence weight C = coat_weight and the darkening parameter δ = coat_darkening)". Combining Eq(16,70), the weight of $f_\mathrm{sub}$ becomes
$$\quad\mathrm{lerp}(1,T_\mathrm{coat}^2(1-E_\mathrm{coat}),\omega_\mathrm{coat})\mathrm{lerp}(1,\Delta,\omega_\mathrm{coat}\delta),$$
which is the sum of a linear mix and a cross-term. If we want to preserve a linear mix, the weight of $f_\mathrm{sub}$ should instead be
$$\quad\mathrm{lerp}(1,T_\mathrm{coat}^2(1-E_\mathrm{coat})\mathrm{lerp}(1,\Delta,\delta),\omega_\mathrm{coat}).$$
In many other places, such as section 3.4 Eq(60) for modified specular IOR, 3.4.3 Eq (73) for modified specular roughness, this should not be the case.
- 主要言語
- CSS
- スター
- 844
- フォーク
- 48
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AcademySoftwareFoundation/OpenPBR のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 半日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AcademySoftwareFoundation/OpenPBR#319 · コメント 6 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AcademySoftwareFoundation/OpenPBR の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
ly05010419/MacNativeGames#2428 ·
メンテナーはふだん 1 日以内に返信
-
area:2d bug effort:high P7 source:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SixLabors/ImageSharp.Drawing#438 · コメント 1 件 ·
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bherbruck/solvecraft#23828 ·
-
bug bugfix
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
storytold/photocraft#17377 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信