Where does x20 to point light come from when export to omniverse?
Author: MomokoMatsuoCreated Jul 24, 2025Updated Jun 18, 2026
Labelsquestion
In export.py code, there is the code at l691
if hasattr(light, "energy") and hasattr(light, "shadow_soft_size"):
X = light.energy
r = light.shadow_soft_size
# candelas * 1000 / (4 * math.pi * r**2). additionally units come out of blender at 1/100 scale
new_wattage = (
(X * 20 / (4 * math.pi)) * 1000 / (4 * math.pi * r**2) * 100
)
light.energy = new_wattageWhat is X*20? If it's based on some theory or implementation in Blender or Omniverse, could you please explain it?
What version of the code were you using?
infinigen 1.15.4
Source: princeton-vl/infinigen