def initialize_paths(self): """Initializes paths for scripts and flags.""" common.initialize_paths(self) self.formats = { "6DoF (Meshing)": "6dof_meshing", "6DoF (Striping)": "6dof_striping", } # SimpleMeshRenderer only available to render when: # - Cloud rendering (AWS) # - Linux host with NVIDIA GPU # - non-Windows host + given local_bin flag host_os = self.parent.ui_flags.host_os is_linux = host_os == "OSType.LINUX" is_non_windows = host_os != "OSType.WINDOWS" has_local_bin = self.parent.ui_flags.local_bin != "" self.is_host_linux_gpu = is_linux and (pyvidia.get_nvidia_device() is not None) self.is_local_non_win = is_non_windows and has_local_bin if self.parent.is_aws or self.is_host_linux_gpu or self.is_local_non_win: self.formats.update({ "Equirect color": "eqrcolor", "Equirect disparity": "eqrdisp", "Cubemap color": "cubecolor", "Cubemap disparity": "cubedisp", "180 stereo left-right": "lr180", "360 stereo top-bottom": "tbstereo", "3DoF top-bottom": "tb3dof", })
def initialize_paths(self): """Initializes paths for scripts and flags.""" self.aws_staging_ip = "" common.initialize_paths(self)
def initialize_paths(self): """Initializes paths for scripts and flags.""" common.initialize_paths(self)