Is there a reason why we get a different conversion value on the intensity when exporting with EV as the intensity Unit? I would expect the example below to generate equal values:
- Create a default spot light and set its intensity unit to EV
- Then set the light intensity value to 10
- Duplicate that light and change the intensity unit to LUMENS, this will change the light intensity to 1805.763062 lm
- Export both lights to USD using File > Export Selected as USD
- Checking both light intensity light 1 (EV Intensity Unit) intensity is 1024 while light 2 (LUMENS Intensity Unit) intensity is set to 10240001
It seems that the issue originates from the fact that the conversion that happens in the UI when we change from EV unit to any other unit, takes in account the implicit 1m2 surface area for conversion as mentioned in LocalLightComponent.cpp while the USD export conversion in UsdUtils::ConvertIntensityToNits does not take that in account, but I could be missing something here.