Datasets:
| 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'] | |
| # Drastically changing energy levels | |
| lamp_on_the_cupboard.data.energy = 1.5 | |
| lamp_on_shelf.data.energy = 1.2 | |
| light_on_ceilling.data.energy = 0 | |
| # Vibrant and drastic color changes | |
| lamp_on_the_cupboard.data.color = (1, 1, 1) | |
| lamp_on_shelf.data.color = (1, 1, 1) | |
| light_on_ceilling.data.color = (1, 1, 1) | |
| # The basketball location (Object name: 'basketball') | |
| basketball = bpy.data.objects['basketball'] | |
| basketball.location = (13.4023, 3.7485, 0.1584) |