import bpy import math import numpy as np # Adjust the camera pose to align with the target image bpy.data.objects["Camera1"].location = (-1.1222, -0.3259, 4.4354) bpy.data.objects["Camera1"].rotation_euler = (-0.0873, 0.5934, 0.2094) # Accessing the light objects lamp_on_the_cupboard = bpy.data.objects['lamp_on_the_cupboard'] lamp_on_shelf = bpy.data.objects['lamp_on_shelf'] light_on_ceilling = bpy.data.objects['light_on_ceilling'] lamp_on_the_cupboard.data.energy = 2.5 lamp_on_shelf.data.energy = 57 light_on_ceilling.data.energy = 0 lamp_on_the_cupboard.data.color = (1, 0.85, 0) lamp_on_shelf.data.color = (0.2, 0.6, 1) light_on_ceilling.data.color = (1, 0.95, 0.6) # The basketball location (Object name: 'basketball') basketball = bpy.data.objects['basketball'] basketball.location = (13.9023, 3.0485, 0.1584)