-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Luminous efficacy #8501
Comments
Thanks @will-ca. This was something I've always wanted to revisit because of exactly what you said (683 works for monochromatic green light). That said, is 177.83 correct? Shouldn't the value be computed from the intended light color (when possible)? (which of course would be a problem since I imagine this would require spectral upsampling and there's no single answer to that in many cases) |
I'd raised this as an aside:
@UX3D-haertl had this to say:
KhronosGroup/glTF-Blender-IO#2493 (comment) Personally I think some level of simplification is inevitable. It appears the GLTF people have decided the appropriate amount deals with intensity only relative to the white point. I'd monitor or ask in the linked issues for more information. I haven't personally examined the methodology behind 177.83. From KhronosGroup/glTF-Blender-IO#2493 (comment), it sounds like maybe the decision is only being made in these last couple weeks. Then there is also the distinction that this is about GLTF, so render engines might use other models internally while still being physically accurate. |
Thanks. I'm not against simplifications but a 6x radio between a white and a green light is hardly a rounding error 😅 I have light meters somewhere, I should try to measure lights as the same wattage but with different color temperatures to see if it's worth worrying about it. |
Heh. Personally I just want any standard coefficient so implementations don't have to keep reinventing it. I find the colour aspect isn't so bad if you think of the intensity as the "bulb", and the color as separate a tinted filter in front of it. Which I guess is actually how strongly colored lights would be created, at least before LEDs. Though not colour temperature, where the dominant factor for (electrical) wattage efficiency will probably be Planck's law... Based on the other discussions I think a significant portion of the 6X difference from 683 to 177 is due to UV and near-IR. |
Filament uses 683 in some places to convert from physical luminosity (watts) to perceptual luminous flux (lumens). 683lm/W is the peak luminous efficacy of monochromatic 555nm green light, and sometimes used as a simplification.
filament/docs/Filament.md.html
Lines 1246 to 1260 in 74b09c7
filament/filament/include/filament/LightManager.h
Lines 814 to 816 in 74b09c7
https://github.com/search?q=repo%3Agoogle%2Ffilament+683+NOT+language%3ACSV+NOT+language%3ASVG+NOT+language%3A%22Wavefront+Object%22+NOT+language%3AText&type=code
FYI There is an open discussion about this constant in the Blender and Khronos GLTF repositories. Apparently the correct number is 177.83, not 683, and can be calculated using the spectral distribution of the D65 standard illuminant from Rec.709 specified for GLTF.
KhronosGroup/glTF-Blender-IO#2493 (comment)
KhronosGroup/glTF#2473 (comment)
The text was updated successfully, but these errors were encountered: