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 = 0.5 lamp_on_shelf.data.energy = 2.5 light_on_ceilling.data.energy = 400 lamp_on_the_cupboard.data.color = (0.8, 0.9, 1) lamp_on_shelf.data.color = (0.5, 0.7, 1) light_on_ceilling.data.color = (1, 0, 0) # The basketball location (Object name: 'basketball') basketball = bpy.data.objects['basketball'] basketball.location = (14.4023, 2.7485, 0.1584)