Logarithmic_Exposure_Control - superclass: ToneOperator; super-superclass:MAXWrapper - classID: #(1488218187, 1350530793)
型露出コントロールは、輝度、コントラスト、および戸外のデイライト シーンであるか否かの情報によって、物理値を RGB 値にマップします。対数型露出コントロールは、非常に高度なダイナミック範囲のシーンの場合により適しています。
コンストラクタ
Logarithmic_Exposure_Control ... LightscapeExposureControl ...
プロパティ
<Logarithmic_Exposure_Control>.active Boolean default: true -- boolean
トーン演算子を使用可能/使用不可能にします。[環境露出コントロール](Exposure Control)ロールアウトの[アクティブ] (Active)チェックボックスの状態を変更します。
<Logarithmic_Exposure_Control>.brightness Float default: 65.0 -- animatable; float
トーン演算子の[輝度] (Brightness)値を取得/設定します。
<Logarithmic_Exposure_Control>.chromaticAdaptation Boolean default: false -- boolean; Chromatic_Adaptation
トーン演算子の[色度調整](Chromatic Adaptation)値を取得/設定します。トーン演算子のロールアウトの[カラー補正](Color Correction)チェックボックスに対応します。
<Logarithmic_Exposure_Control>.colorDifferentiation Boolean default: false -- boolean; Color_Differentiation
トーン演算子の[カラーの細分化](Color Differentiation)値を取得/設定します。トーン演算子のロールアウトの[低レベルの無彩度](Desaturate Low Levels)チェックボックスに対応します。
<Logarithmic_Exposure_Control>.contrast Float default: 50.0 -- animatable; float
トーン演算子の[コントラスト] (Contrast)値を取得/設定します。
<Logarithmic_Exposure_Control>.daylight Boolean default: true -- boolean
トーン演算子の[デイライト] (Daylight)スイッチを取得/設定します。
<Logarithmic_Exposure_Control>.exterior Boolean default: false -- boolean
トーン演算子の[外部] (Exterior)スイッチを取得/設定します。
<Logarithmic_Exposure_Control>.indirectOnly Boolean default: false -- boolean; Indirect_Only
トーン演算子の[間接のみ] (IndirectOnly)スイッチを取得/設定します。UI の[間接のみ影響](Affect Indirect Only)チェックボックスに対応します。
<Logarithmic_Exposure_Control>.midTones Float default: 1.0 -- animatable; float; Mid_Tones
トーン演算子の[ハーフトーン] (Exterior)値を取得/設定します。
<Logarithmic_Exposure_Control>.physicalScale Float default: 1500.0 -- animatable; float; Physical_Scale
トーン演算子の[物理スケール] (physicalScale)値を取得/設定します。
<Logarithmic_Exposure_Control>.processBG Boolean default: false -- boolean; Process_Background
トーン演算子のロールアウトの[バックグラウンドと環境マップを処理](Process Background and Environment Maps)チェックボックスに対応する processBG 値の状態を取得/設定します。true
に設定した場合、トーン演算子はバックグラウンドに影響します。
<Logarithmic_Exposure_Control>.whiteColor Color default: (color 255 255 255) -- animatable; RGB color; White_Color
トーン演算子の whiteColor
値を取得/設定します。chromaticAdaptation
が true
に設定された場合、トーン演算子はすべてのカラーを変更し、whiteColor
に設定されたカラーが白で表示されるようにします。
<Logarithmic_Exposure_Control>.exteriorDaylight Boolean default: false -- boolean; Exterior_Daylight
外部デイライトのシーンを操作する場合は、このプロパティを true に設定します。
<Logarithmic_Exposure_Control>.useLegacyAlgorithm (Use_Legacy_Algorithm) : boolean
true に設定すると、露出コントロールには従来のアルゴリズム (3ds Max 9 以前のもの) が使用されます。false(既定値)に設定すると、新しいアルゴリズムが使用されます。
対数型露出コントロールで使用されているトーン マッピング アルゴリズムは、3ds Max 9 で変更されました。
古いアルゴリズムは、カラーの知覚可能な輝度に基づいて、3 つすべてのカラー コンポーネント (R, G, B) を同一の方法でスケールしていました。このアルゴリズムは、彩度を過剰に高くし、黄色がかったイメージを生成する場合があります。
新しいアルゴリズムは、3 つのカラー コンポーネントを個別にマップし、知覚可能な輝度については考慮しません。この結果として得られるイメージは彩度が抑えられ (グレーに近づき)、よりリアルなものになります。
例
--Create a new Logarithmic Exposure Control Tone Operator instance log_exposure =Logarithmic_Exposure_Control () --> ReferenceTarget:Logarithmic_Exposure_Control --Assign the new tone operator as the current exposure control SceneExposureControl.exposureControl = log_exposure --> ReferenceTarget:Logarithmic_Exposure_Control --Set the Brightness to 50.0 log_exposure.brightness = 50.0 --> 50.0 --Enable the Color Correction of the current exposure control SceneExposureControl.exposureControl.chromaticAdaptation = true --> true