`coat_weight` applied twice in multiple places
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- css
- Ambito
- computer-graphics
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- CSS
- Stelle
- 844
- Fork
- 48
- Merge medio
- 1g 18h
- PR unite (30g)
- 3
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AcademySoftwareFoundation/OpenPBR
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
AcademySoftwareFoundation/OpenPBR#319 · 6 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di AcademySoftwareFoundation/OpenPBR
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
ly05010419/MacNativeGames#2428 ·
I maintainer di solito rispondono entro 1 giorno
-
area:2d bug effort:high P7 source:agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
SixLabors/ImageSharp.Drawing#438 · 1 commento ·
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bherbruck/solvecraft#23828 ·
-
bug bugfix
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
storytold/photocraft#17377 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno