INNER CODE UNIT · Python
rotation
VITA-Group/Diffusion4D · rendering/blender.py:250
rotation=(-0.785398, 0, -3.92699),
energy=random.choice([3, 4, 5]),
)
# Create bottom light
bottom_light = _create_light(
name="Bottom_Light",
light_type="SUN",
location=(0, 0, 0),
rotation=(3.14159, 0, 0),
energy=random.choice([1, 2, 3]),
)
return dict(
key_light=key_light,
fill_light=fill_light,
rim_light=rim_light,
bottom_light=bottom_light,