def setup_textured_objects(self): # get list of textures self.objects_textures = get_environment_textures(self.config.scenario_setup.objects_textures) # check whether given objects exists for name in self.config.scenario_setup.textured_objects: if bpy.data.objects.get(name) is None: self.logger.warn(f'Given object {name} not among available object in the scene. Popping!') self.config.scenario_setup.textured_objects.remove(name)
def setup_environment_textures(self): # get list of environment textures self.environment_textures = get_environment_textures( self.config.scene_setup.environment_textures)