Skip to content
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

Wrong unit for exporting lights #1064

Closed
martty opened this issue May 8, 2020 · 1 comment
Closed

Wrong unit for exporting lights #1064

martty opened this issue May 8, 2020 · 1 comment

Comments

@martty
Copy link

martty commented May 8, 2020

Describe the bug
KHR_lights_punctual prescribes the unit of "intensity" for lights, and for point lights this is candela. I have not tested with other lights, but for point lights the exported value is power, which is a different quantity.

To Reproduce

  1. Create point light with intensity = 200W
  2. Export file into gltf
  3. See intensity exported as 200, instead of 200 / (4*pi) or something more correct value

Expected behavior
The power value should be mapped to lumens and then to candela.

Version

  • OS: Windows
  • Blender Version 2.82
@martty martty closed this as completed May 8, 2020
@martty
Copy link
Author

martty commented May 8, 2020

Just saw this is a duplicate of #564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant