Exemple #1
0
    def setup_dirinfo(self):
        """Setup directory information for all cameras.

        This will be required to setup all path information in compositor nodes
        """
        # compute directory information for each of the cameras
        self.dirinfos = list()
        for cam in self.config.scene_setup.cameras:
            # paths are set up as: base_path + CameraName
            camera_base_path = f"{self.config.dataset.base_path}/{cam}"
            dirinfo = build_directory_info(camera_base_path)
            self.dirinfos.append(dirinfo)
Exemple #2
0
 def setup_dirinfo(self):
     """Setup directory information."""
     # For this simple scene, there is just one dirinfo required
     self.dirinfo = build_directory_info(self.config.dataset.base_path)