Skip to content

post_processing_settings

PostProcessingSettings

Bases: SettingsBase

Post-Processing setting group that handles a variety of sub-settings, including: - Tone Mapping - Auto Exposure - Color Correction - Color Grading - XR Compositing - Chromatic Aberration - Depth Of Field Camera Overrides - Motion Blur - FTT Bloom - TV Noise & Film Grain - Reshade

Source code in omnigibson/renderer_settings/post_processing_settings.py
class PostProcessingSettings(SettingsBase):
    """
    Post-Processing setting group that handles a variety of sub-settings, including:
        - Tone Mapping
        - Auto Exposure
        - Color Correction
        - Color Grading
        - XR Compositing
        - Chromatic Aberration
        - Depth Of Field Camera Overrides
        - Motion Blur
        - FTT Bloom
        - TV Noise & Film Grain
        - Reshade
    """

    def __init__(self):
        self.tone_mapping_settings = ToneMappingSettings()
        self.auto_exposure_settings = AutoExposureSettings()
        self.color_correction_settings = ColorCorrectionSettings()
        self.color_grading_settings = ColorGradingSettings()
        self.xr_compositing_settings = XRCompositingSettings()
        self.chromatic_aberration_settings = ChromaticAberrationSettings()
        self.depth_of_field_settings = DepthOfFieldSettings()
        self.motion_blur_settings = MotionBlurSettings()
        self.ftt_bloom_settings = FTTBloomSettings()
        self.tv_noise_grain_settings = TVNoiseGrainSettings()
        self.reshade_settings = ReshadeSettings()

    @property
    def settings(self):
        settings = {}
        settings.update(self.tone_mapping_settings.settings)
        settings.update(self.auto_exposure_settings.settings)
        settings.update(self.color_correction_settings.settings)
        settings.update(self.color_grading_settings.settings)
        settings.update(self.xr_compositing_settings.settings)
        settings.update(self.chromatic_aberration_settings.settings)
        settings.update(self.depth_of_field_settings.settings)
        settings.update(self.motion_blur_settings.settings)
        settings.update(self.ftt_bloom_settings.settings)
        settings.update(self.tv_noise_grain_settings.settings)
        settings.update(self.reshade_settings.settings)
        return settings