Blender Git Loki
Git Commits -> Revision 64e0715
Revision 64e0715 by Michael Kowalski (usd) May 27, 2021, 19:59 (GMT) |
USD import: light unit conversion fixes. Added logic to take the USD stage's world scale into account when converting to nits. Fixed conversion from nits scale factor to correctly apply the meters per unit value. |
Commit Details:
Full Hash: 64e07154c8b780c8967cec5c7f115029bb9d6706
Parent Commit: efdf34f
Lines Changed: +55, -24
6 Modified Paths:
/source/blender/io/usd/intern/usd_light_convert.cc (+11, -8) (Diff)
/source/blender/io/usd/intern/usd_light_convert.h (+1, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_light.cc (+22, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_light.h (+8, -6) (Diff)
/source/blender/io/usd/intern/usd_reader_stage.cc (+10, -7) (Diff)
/source/blender/io/usd/intern/usd_reader_stage.h (+3, -1) (Diff)
/source/blender/io/usd/intern/usd_light_convert.h (+1, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_light.cc (+22, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_light.h (+8, -6) (Diff)
/source/blender/io/usd/intern/usd_reader_stage.cc (+10, -7) (Diff)
/source/blender/io/usd/intern/usd_reader_stage.h (+3, -1) (Diff)