Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

IDs and information for VPgisetup

VPgisetup

Attributes

  • ENGLISH NAME : GISetup
  • NAME : VPgisetup
  • INCLUDE : VPbase
  • PATH : advanced_render/description/vpgisetup.res
  • PLUGIN : advanced_render
  • MAXON online help (may not exist): VPGISETUP

Elements

ID UI Name Type Parameters Cycle
GI_SETUP_DATA_PRESETS Preset LONG ANIM
GI_SETUP_PRESET_CUSTOM Custom
GI_SETUP_PRESET_DEFAULT Default
0
GI_SETUP_PRESET_INTERIOR_PREVIEW Interior-Preview
GI_SETUP_PRESET_INTERIOR_PREVIEW_DIFFUSE Interior-Preview(HighDiffuseDepth)
GI_SETUP_PRESET_INTERIOR_PREVIEW_AREA Interior-Preview(SmallIlluminants)
GI_SETUP_PRESET_INTERIOR_HIGH Interior-High
GI_SETUP_PRESET_INTERIOR_HIGH_DIFFUSE Interior-High(HighDiffuseDepth)
GI_SETUP_PRESET_INTERIOR_HIGH_AREA Interior-High(SmallIlluminants)
0
GI_SETUP_PRESET_EXTERIOR_PREVIEW Exterior-Preview
GI_SETUP_PRESET_EXTERIOR_SKY Exterior-PhysicalSky
GI_SETUP_PRESET_EXTERIOR_HDR Exterior-HDRImage
0
GI_SETUP_PRESET_OBJECT_PREVIEW ObjectVisualization-Preview
GI_SETUP_PRESET_OBJECT_HIGH ObjectVisualization-High
0
GI_SETUP_PRESET_PROGRESSIVE Progressive-NoPrepass
GI_SETUP_PRESET_PROGRESSIVE_PREPASS Progressive-FastCompleteDiffuse
GI_SETUP_DATA_PRIMARY_METHOD PrimaryMethod LONG
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_METHOD_QMC Quasi-MonteCarlo(QMC)
GI_SETUP_METHOD_IC2 IrradianceCache
0
GI_SETUP_METHOD_IRRADIANCE_CACHE IrradianceCache(Legacy)
GI_SETUP_DATA_PRIMARY_INTENSITY Intensity REAL
PARENTCOLLAPSE GI_SETUP_DATA_PRIMARY_METHOD
ANIM OFF
MIN 0.1
MAX 10000.0
UNIT PERCENT
GI_SETUP_DATA_PRIMARY_SATURATION Saturation REAL
PARENTCOLLAPSE GI_SETUP_DATA_PRIMARY_METHOD
ANIM OFF
MIN 0.0
MAX 1000.0
STEP 1.0
UNIT PERCENT
GI_SETUP_DATA_SECONDARY_METHOD SecondaryMethod LONG
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_METHOD_QMC Quasi-MonteCarlo(QMC)
GI_SETUP_METHOD_CACHE IrradianceCache
GI_SETUP_METHOD_RADIANCE RadiosityMaps
GI_SETUP_METHOD_LIGHT_MAPPING LightMapping
GI_SETUP_METHOD_NONE None
GI_SETUP_DATA_SECONDARY_INTENSITY Intensity REAL
PARENTCOLLAPSE GI_SETUP_DATA_SECONDARY_METHOD
ANIM OFF
MIN 0.1
MAX 10000.0
UNIT PERCENT
GI_SETUP_DATA_SECONDARY_SATURATION Saturation REAL
PARENTCOLLAPSE GI_SETUP_DATA_SECONDARY_METHOD
ANIM OFF
MIN 0.0
MAX 1000.0
STEP 1.0
UNIT PERCENT
GI_SETUP_DATA_DIFFUSE_DEPTH DiffuseDepth LONG
ANIM OFF
MIN 2
MAX 8
GI_SETUP_DATA_LIGHT_MAPPING_PATH_DEPTH MaximumDepth LONG
ANIM OFF
MIN 1
MAX 128
GI_SETUP_DATA_GAMMA_VALUE Gamma REAL
ANIM OFF
MIN 0.1
MAX 10.0
STEP 0.1
GI_SETUP_DATA_QMC_COUNT_METHOD Samples LONG
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_COUNT_USER CustomSampleCount
GI_SETUP_COUNT_CUSTOM CustomAccuracy
GI_SETUP_COUNT_LOW Low
GI_SETUP_COUNT_MEDIUM Medium
GI_SETUP_COUNT_HIGH High
GI_SETUP_DATA_QMC_COUNT_THRESHOLD Accuracy REAL
PARENTCOLLAPSE GI_SETUP_DATA_QMC_COUNT_METHOD
ANIM OFF
MIN 0.0
MAX 200.0
UNIT PERCENT
GI_SETUP_DATA_QMC_COUNT SampleCount LONG
PARENTCOLLAPSE GI_SETUP_DATA_QMC_COUNT_METHOD
ANIM OFF
MIN 1
MAX 16384
STEP 1
GI_SETUP_DATA_QMC_ENABLED HemisphericalSampling BOOL ANIM
GI_SETUP_DATA_QMC_AREA_ENABLED DiscreteAreaSampling BOOL
ANIM OFF
PARENTCOLLAPSE
GI_SETUP_DATA_QMC_AREA_FORCE ForcePer-Pixel BOOL
ANIM OFF
PARENTCOLLAPSE GI_SETUP_DATA_QMC_AREA_ENABLED
GI_SETUP_DATA_QMC_AREA_CUSTOM CustomCount BOOL
ANIM OFF
PARENTCOLLAPSE GI_SETUP_DATA_QMC_AREA_ENABLED
GI_SETUP_DATA_QMC_AREA_COUNT SampleCount LONG
ANIM OFF
MIN 1
MAX 16384
STEP 1
PARENTCOLLAPSE GI_SETUP_DATA_QMC_AREA_ENABLED
GI_SETUP_DATA_QMC_SKY_ENABLED DiscreteSkySampling BOOL
ANIM OFF
PARENTCOLLAPSE
GI_SETUP_DATA_QMC_SKY_FORCE ForcePer-Pixel BOOL
ANIM OFF
PARENTCOLLAPSE GI_SETUP_DATA_QMC_SKY_ENABLED
GI_SETUP_DATA_QMC_SKY_CUSTOM CustomCount BOOL
ANIM OFF
PARENTCOLLAPSE GI_SETUP_DATA_QMC_SKY_ENABLED
GI_SETUP_DATA_QMC_SKY_COUNT SampleCount LONG
PARENTCOLLAPSE GI_SETUP_DATA_QMC_SKY_ENABLED
ANIM OFF
MIN 1
MAX 16384
STEP 1
GI_SETUP_DATA_IC2_QUALITY RecordDensity LONG
ANIM OFF
PARENTCOLLAPSE
GI_SETUP_QUALITY_CUSTOM Custom
GI_SETUP_QUALITY_PREVIEW Preview
GI_SETUP_QUALITY_LOW Low
GI_SETUP_QUALITY_MEDIUM Medium
GI_SETUP_QUALITY_HIGH High
GI_SETUP_DATA_IC2_RATE_MIN MinRate LONG
PARENTCOLLAPSE GI_SETUP_DATA_IC2_QUALITY
ANIM OFF
MIN -8
MAX 4
GI_SETUP_DATA_IC2_RATE_MAX MaxRate LONG
PARENTCOLLAPSE GI_SETUP_DATA_IC2_QUALITY
ANIM OFF
MIN -8
MAX 4
GI_SETUP_DATA_IC2_DENSITY Density REAL
PARENTCOLLAPSE GI_SETUP_DATA_IC2_QUALITY
ANIM OFF
MIN 10.0
MAX 1000.0
UNIT PERCENT
GI_SETUP_DATA_IC2_DETAILS MinimumSpacing REAL
PARENTCOLLAPSE GI_SETUP_DATA_IC2_QUALITY
ANIM OFF
MIN 0.0
MAX 1000.0
UNIT PERCENT
GI_SETUP_DATA_IC2_MAX_LIMIT MaximumSpacing REAL
PARENTCOLLAPSE GI_SETUP_DATA_IC2_QUALITY
ANIM OFF
MIN 0.0
MAX 1000.0
UNIT PERCENT
GI_SETUP_DATA_IC2_SMOOTHING Smoothing REAL
ANIM OFF
MIN 0.0
MAX 1000.0
UNIT PERCENT
GI_SETUP_DATA_IC2_COLOR ColorRefinement REAL
ANIM OFF
MIN 0.0
MAX 1000.0
UNIT PERCENT
GI_SETUP_DATA_IC2_SCALE ScreenScale BOOL ANIM
GI_SETUP_DATA_IC2_DETAIL_REDUCTION EXPERIMENTAL-DetailQuality REAL
HIDDEN
ANIM OFF
MIN 0.0
MAX 1000.0
UNIT PERCENT
GI_SETUP_DATA_IC2_OVERTURE EXPERIMENTAL-AdditionalOverturePass BOOL
HIDDEN
ANIM OFF
GI_SETUP_DATA_IC2_A DEBUG-RealA REAL
HIDDEN
ANIM OFF
GI_SETUP_DATA_IC2_B DEBUG-RealB REAL
HIDDEN
ANIM OFF
GI_SETUP_DATA_IC2_FLAG_A DEBUG-FlagA BOOL
HIDDEN
ANIM OFF
GI_SETUP_DATA_IC2_FLAG_B DEBUG-FlagB BOOL
HIDDEN
ANIM OFF
GI_SETUP_DATA_IC2_MODE DEBUG-Mode LONG
HIDDEN
ANIM OFF
GI_SETUP_DATA_IC2_MODE_NORMAL Normal
GI_SETUP_DATA_IC2_MODE_WEIGHTED Weighted
GI_SETUP_DATA_IC2_MODE_SIMPLE Simple
GI_SETUP_DATA_IC2_MODE_SECONDARY Secondary
GI_SETUP_DATA_IR_DENSITY_QUALITY RecordDensity LONG
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_QUALITY_CUSTOM Custom
GI_SETUP_QUALITY_PREVIEW Preview
GI_SETUP_QUALITY_LOW Low
GI_SETUP_QUALITY_MEDIUM Medium
GI_SETUP_QUALITY_HIGH High
GI_SETUP_QUALITY_HIGH_DETAILS High(Details)
GI_SETUP_DATA_IR_DENSITY_RATE_MIN MinRate LONG
ANIM OFF
MIN -8
MAX 4
PARENTCOLLAPSE GI_SETUP_DATA_IR_DENSITY_QUALITY
GI_SETUP_DATA_IR_DENSITY_RATE_MAX MaxRate LONG
ANIM OFF
MIN -8
MAX 4
PARENTCOLLAPSE GI_SETUP_DATA_IR_DENSITY_QUALITY
GI_SETUP_DATA_IR_DENSITY_RADIUS_MAX Radius REAL
ANIM OFF
MIN 0.0
MAX 100.0
UNIT PERCENT
PARENTCOLLAPSE GI_SETUP_DATA_IR_DENSITY_QUALITY
GI_SETUP_DATA_IR_DENSITY_RADIUS_MIN MinimumRadius REAL
ANIM OFF
MIN 0.0
MAX 100.0
UNIT PERCENT
PARENTCOLLAPSE GI_SETUP_DATA_IR_DENSITY_QUALITY
GI_SETUP_DATA_IR_DENSITY_CONTROL DensityControl REAL
ANIM OFF
MIN 0.0
MAX 100.0
UNIT PERCENT
PARENTCOLLAPSE GI_SETUP_DATA_IR_DENSITY_QUALITY
GI_SETUP_DATA_IR_DENSITY_PROXIMITY UseProximityCorrection BOOL
ANIM OFF
PARENTCOLLAPSE GI_SETUP_DATA_IR_DENSITY_QUALITY
GI_SETUP_DATA_IR_INTERPOLATION_METHOD InterpolationMethod LONG ANIM
GI_SETUP_INTERPOLATION_LEAST_SQUARES LeastSquares
GI_SETUP_INTERPOLATION_WEIGHTED WeightedAverage
GI_SETUP_INTERPOLATION_NONE None
GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING Smoothing LONG
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_SMOOTHING_CUSTOM Custom
GI_SETUP_SMOOTHING_MINIMAL Minimal
GI_SETUP_SMOOTHING_WEAK Weak
GI_SETUP_SMOOTHING_MEDIUM Medium
GI_SETUP_SMOOTHING_HEAVY Heavy
GI_SETUP_SMOOTHING_VERY_HEAVY VeryHeavy
GI_SETUP_DATA_IR_INTERPOLATION_MAX_SAMPLES Records LONG
PARENTCOLLAPSE GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING
ANIM OFF
MIN 8
MAX 256
GI_SETUP_DATA_IR_INTERPOLATION_MAX_RADIUS_SCALE Scale REAL
PARENTCOLLAPSE GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING
ANIM OFF
MIN 1.6
MAX 8.0
STEP 0.1
GI_SETUP_DATA_IR_COLOR_QUALITY CacheRefinement LONG
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_COLOR_CUSTOM Custom
GI_SETUP_COLOR_NONE None
GI_SETUP_COLOR_LOW Low
GI_SETUP_COLOR_MEDIUM Medium
GI_SETUP_COLOR_HIGH High
GI_SETUP_COLOR_VERY_HIGH VeryHigh
GI_SETUP_DATA_IR_COLOR_PASSES Passes LONG
ANIM OFF
MIN 0
MAX 4
PARENTCOLLAPSE GI_SETUP_DATA_IR_COLOR_QUALITY
GI_SETUP_DATA_IR_COLOR_THRESHOLD ColorThreshold REAL
ANIM OFF
MIN 0.0
MAX 100.0
UNIT PERCENT
PARENTCOLLAPSE GI_SETUP_DATA_IR_COLOR_QUALITY
GI_SETUP_DATA_IR_COLOR_CUTOFF Cutoff REAL
ANIM OFF
MIN 0.0
MAX 100.0
UNIT PERCENT
PARENTCOLLAPSE GI_SETUP_DATA_IR_COLOR_QUALITY
GI_SETUP_DATA_IR_COLOR_COOEF Strength REAL
ANIM OFF
MIN 0.0
MAX 200.0
UNIT PERCENT
PARENTCOLLAPSE GI_SETUP_DATA_IR_COLOR_QUALITY
GI_SETUP_DATA_IR_CACHE_SECONDARY CacheSecondary BOOL
HIDDEN
ANIM OFF
GI_SETUP_DATA_IR_DISTANCE_MAP_ENABLED DistanceMap BOOL ANIM
GI_SETUP_DATA_IR_VISIBILITY_CHECK_ENABLED CheckRecordVisibility BOOL ANIM
GI_SETUP_DATA_IR_DETAILS_ENABLE DetailsEnhancement BOOL
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_DATA_IR_DETAILS_ADAPTIVE AdaptiveMode BOOL
PARENTCOLLAPSE GI_SETUP_DATA_IR_DETAILS_ENABLE
ANIM OFF
GI_SETUP_DATA_IR_DETAILS_ESTIMATE EstimateSecondary BOOL
PARENTCOLLAPSE GI_SETUP_DATA_IR_DETAILS_ENABLE
ANIM OFF
GI_SETUP_DATA_IR_DETAILS_RADIUS Radius REAL
PARENTCOLLAPSE GI_SETUP_DATA_IR_DETAILS_ENABLE
ANIM OFF
MIN 0.05
MAX 0.25
STEP 0.01
GI_SETUP_DATA_IR_DETAILS_RATIO QualityRatio REAL
PARENTCOLLAPSE GI_SETUP_DATA_IR_DETAILS_ENABLE
ANIM OFF
MIN 5.0
MAX 1000.0
STEP 5.0
UNIT PERCENT
GI_SETUP_DATA_IR_DETAILS_MODE Mode LONG
PARENTCOLLAPSE GI_SETUP_DATA_IR_DETAILS_ENABLE
ANIM OFF
GI_SETUP_DETAILS_COMBINE Combine(Normal)
GI_SETUP_DETAILS_DETAILS DetailsOnly(Preview)
GI_SETUP_DETAILS_GLOBAL GlobalOnly(Preview)
GI_SETUP_DATA_RADIANCE_SCALE MapDensity REAL
ANIM OFF
UNIT PERCENT
MIN 10.0
MAX 1000.0
GI_SETUP_DATA_RADIANCE_SAMPLES SamplingSubdivisions LONG
ANIM OFF
MIN 1
MAX 16
GI_SETUP_DATA_RADIANCE_MODE Mode LONG
FIT_H
ANIM OFF
GI_SETUP_RADIANCE_MODE_NORMAL Normal
GI_SETUP_RADIANCE_MODE_POINTS VisualizeTexels
GI_SETUP_RADIANCE_MODE_SHADED VisualizeShading
GI_SETUP_RADIANCE_MODE_SHADED_FRONT VisualizeShading(Front)
GI_SETUP_RADIANCE_MODE_SHADED_BACK VisualizeShading(Back)
GI_SETUP_DATA_RADIANCE_AREA_ENABLE AreaSampling BOOL ANIM
GI_SETUP_DATA_RADIANCE_AREA_SAMPLES SampleCount LONG
ANIM OFF
MIN 1
MAX 4096
GI_SETUP_DATA_RADIANCE_SKY_ENABLE SkySampling BOOL ANIM
GI_SETUP_DATA_RADIANCE_SKY_SAMPLES SampleCount LONG
ANIM OFF
MIN 1
MAX 4096
GI_SETUP_DATA_LIGHT_MAPPING_PATH_COUNT PathCount(x1000) LONG
ANIM OFF
MIN 1
MAX 100000
GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_SCREEN SamplesSize REAL
ANIM OFF
MIN 0.001
MAX 1.0
STEP 0.001
GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_WORLD SamplesSize REAL
ANIM OFF
UNIT METER
MIN 0.001
MAX 100000.0
STEP 1.0
GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_MODE Scale LONG
FIT_H
ANIM OFF
GI_SETUP_LIGHT_MAPPING_SCALE_SCREEN Screen
GI_SETUP_LIGHT_MAPPING_SCALE_WORLD World
GI_SETUP_DATA_LIGHT_MAPPING_PATH_DIRECT DirectLights BOOL ANIM
GI_SETUP_DATA_LIGHT_MAPPING_PATH_CAMERA UseCameraPath BOOL ANIM
GI_SETUP_DATA_LIGHT_MAPPING_PATH_SHOW_PATHS ShowPreviewPaths BOOL ANIM
GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE BuildRadiosityMaps BOOL
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SCALE MapDensity REAL
PARENTCOLLAPSE GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE
ANIM OFF
UNIT PERCENT
MIN 10.0
MAX 1000.0
GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SAMPLES SamplingSubdivisions LONG
PARENTCOLLAPSE GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE
ANIM OFF
MIN 1
MAX 16
GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER Prefilter BOOL
PARENTCOLLAPSE
ANIM OFF
GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER_COUNT PrefilterSamples LONG
PARENTCOLLAPSE GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER
ANIM OFF
MIN 1
MAX 64
GI_SETUP_DATA_LIGHT_MAPPING_FILTER InterpolationMethod LONG
PARENTCOLLAPSE
FIT_H
ANIM OFF
GI_SETUP_LIGHT_MAPPING_FILTER_NONE None
GI_SETUP_LIGHT_MAPPING_FILTER_NEAREST Nearest
GI_SETUP_LIGHT_MAPPING_FILTER_FIXED Fixed
GI_SETUP_DATA_LIGHT_MAPPING_FILTER_COUNT SampleCount LONG
PARENTCOLLAPSE GI_SETUP_DATA_LIGHT_MAPPING_FILTER
ANIM OFF
MIN 1
MAX 256
GI_SETUP_DATA_LIGHT_MAPPING_FILTER_SCALE SizeRatio REAL
PARENTCOLLAPSE GI_SETUP_DATA_LIGHT_MAPPING_FILTER
ANIM OFF
UNIT PERCENT
MIN 100.0
MAX 1600.0
GI_SETUP_DATA_LIGHT_MAPPING_MODE Mode LONG
FIT_H
ANIM OFF
GI_SETUP_LIGHT_MAPPING_MODE_NORMAL Normal
GI_SETUP_LIGHT_MAPPING_MODE_VISUALIZE Visualize
GI_SETUP_DATA_CACHE_FLUSH FlushCache(s) BUTTON FIT_H
GI_SETUP_DATA_CACHE_PREPASS PrepassOnly BOOL ANIM
GI_SETUP_DATA_CACHE_LOCK SkipPrepass(IfPresent) BOOL ANIM
GI_SETUP_DATA_CACHE_AUTOLOAD AutoLoad BOOL ANIM
GI_SETUP_DATA_CACHE_AUTOSAVE AutoSave BOOL ANIM
GI_SETUP_DATA_CACHE_ANIMATION FullAnimationMode BOOL ANIM
GI_SETUP_DATA_RADIANCE_FLUSH FlushCache(s) BUTTON FIT_H
GI_SETUP_DATA_RADIANCE_AUTOLOAD AutoLoad BOOL ANIM
GI_SETUP_DATA_RADIANCE_AUTOSAVE AutoSave BOOL ANIM
GI_SETUP_DATA_RADIANCE_ANIMATION FullAnimationMode BOOL ANIM
GI_SETUP_DATA_LIGHT_MAPPING_FLUSH FlushCache(s) BUTTON FIT_H
GI_SETUP_DATA_LIGHT_MAPPING_AUTOLOAD AutoLoad BOOL ANIM
GI_SETUP_DATA_LIGHT_MAPPING_AUTOSAVE AutoSave BOOL ANIM
GI_SETUP_DATA_LIGHT_MAPPING_ANIMATION FullAnimationMode BOOL ANIM
GI_SETUP_DATA_CACHE_CUSTOM_PATH_ENABLED CustomLocation BOOL ANIM
GI_SETUP_DATA_CACHE_CUSTOM_PATH Location FILENAME
ANIM OFF
SAVE
GI_SETUP_DATA_EXTRA_DEBUG_LEVEL DebugInformationLevel LONG ANIM
GI_SETUP_DEBUG_NONE None
GI_SETUP_DEBUG_MINIMAL Minimal
GI_SETUP_DEBUG_COMPLETE Complete
GI_SETUP_DATA_EXTRA_NON_DIFFUSE_CUTOFF Glass/MirrorOptimization REAL
ANIM OFF
MIN 50.0
MAX 100.0
UNIT PERCENT
GI_SETUP_DATA_EXTRA_REFRACTIVECAUSTICS RefractiveCaustics BOOL ANIM
GI_SETUP_DATA_EXTRA_REFLECTIVECAUSTICS ReflectiveCaustics BOOL ANIM
GI_SETUP_DATA_EXTRA_DIFFUSE_ONLY DiffuseIlluminationOnly BOOL ANIM
GI_SETUP_DATA_EXTRA_HIDE_PREPASS HidePrepass BOOL ANIM
GI_SETUP_DATA_EXTRA_SHOW_SAMPLES ShowSamples BOOL ANIM

Example Code

The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown. This code is just to show you how to access the values for getting and setting the parameters.

Python

import c4d
from c4d import gui
def main():
    videoPost = c4d.BaseVideoPost(c4d.VPgisetup)
    
    #You can set parameters two different ways. 
    #First way              
    videoPost[c4d.GI_SETUP_DATA_PRESETS] = c4d.GI_SETUP_PRESET_CUSTOM
    videoPost[c4d.GI_SETUP_DATA_PRIMARY_METHOD] = c4d.GI_SETUP_METHOD_QMC
    videoPost[c4d.GI_SETUP_DATA_PRIMARY_INTENSITY] = 0.1
    videoPost[c4d.GI_SETUP_DATA_PRIMARY_SATURATION] = 0.1
    videoPost[c4d.GI_SETUP_DATA_SECONDARY_METHOD] = c4d.GI_SETUP_METHOD_QMC
    videoPost[c4d.GI_SETUP_DATA_SECONDARY_INTENSITY] = 0.1
    videoPost[c4d.GI_SETUP_DATA_SECONDARY_SATURATION] = 0.1
    videoPost[c4d.GI_SETUP_DATA_DIFFUSE_DEPTH] = 1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_DEPTH] = 1
    videoPost[c4d.GI_SETUP_DATA_GAMMA_VALUE] = 0.1
    videoPost[c4d.GI_SETUP_DATA_QMC_COUNT_METHOD] = c4d.GI_SETUP_COUNT_USER
    videoPost[c4d.GI_SETUP_DATA_QMC_COUNT_THRESHOLD] = 0.1
    videoPost[c4d.GI_SETUP_DATA_QMC_COUNT] = 1
    videoPost[c4d.GI_SETUP_DATA_QMC_ENABLED] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_AREA_ENABLED] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_AREA_FORCE] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_AREA_CUSTOM] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_AREA_COUNT] = 1
    videoPost[c4d.GI_SETUP_DATA_QMC_SKY_ENABLED] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_SKY_FORCE] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_SKY_CUSTOM] = True
    videoPost[c4d.GI_SETUP_DATA_QMC_SKY_COUNT] = 1
    videoPost[c4d.GI_SETUP_DATA_IC2_QUALITY] = c4d.GI_SETUP_QUALITY_CUSTOM
    videoPost[c4d.GI_SETUP_DATA_IC2_RATE_MIN] = 1
    videoPost[c4d.GI_SETUP_DATA_IC2_RATE_MAX] = 1
    videoPost[c4d.GI_SETUP_DATA_IC2_DENSITY] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_DETAILS] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_MAX_LIMIT] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_SMOOTHING] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_COLOR] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_SCALE] = True
    videoPost[c4d.GI_SETUP_DATA_IC2_DETAIL_REDUCTION] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_OVERTURE] = True
    videoPost[c4d.GI_SETUP_DATA_IC2_A] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_B] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IC2_FLAG_A] = True
    videoPost[c4d.GI_SETUP_DATA_IC2_FLAG_B] = True
    videoPost[c4d.GI_SETUP_DATA_IC2_MODE] = c4d.GI_SETUP_DATA_IC2_MODE_NORMAL
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_QUALITY] = c4d.GI_SETUP_QUALITY_CUSTOM
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_RATE_MIN] = 1
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_RATE_MAX] = 1
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_RADIUS_MAX] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_RADIUS_MIN] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_CONTROL] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_DENSITY_PROXIMITY] = True
    videoPost[c4d.GI_SETUP_DATA_IR_INTERPOLATION_METHOD] = c4d.GI_SETUP_INTERPOLATION_LEAST_SQUARES
    videoPost[c4d.GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING] = c4d.GI_SETUP_SMOOTHING_CUSTOM
    videoPost[c4d.GI_SETUP_DATA_IR_INTERPOLATION_MAX_SAMPLES] = 1
    videoPost[c4d.GI_SETUP_DATA_IR_INTERPOLATION_MAX_RADIUS_SCALE] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_COLOR_QUALITY] = c4d.GI_SETUP_COLOR_CUSTOM
    videoPost[c4d.GI_SETUP_DATA_IR_COLOR_PASSES] = 1
    videoPost[c4d.GI_SETUP_DATA_IR_COLOR_THRESHOLD] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_COLOR_CUTOFF] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_COLOR_COOEF] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_CACHE_SECONDARY] = True
    videoPost[c4d.GI_SETUP_DATA_IR_DISTANCE_MAP_ENABLED] = True
    videoPost[c4d.GI_SETUP_DATA_IR_VISIBILITY_CHECK_ENABLED] = True
    videoPost[c4d.GI_SETUP_DATA_IR_DETAILS_ENABLE] = True
    videoPost[c4d.GI_SETUP_DATA_IR_DETAILS_ADAPTIVE] = True
    videoPost[c4d.GI_SETUP_DATA_IR_DETAILS_ESTIMATE] = True
    videoPost[c4d.GI_SETUP_DATA_IR_DETAILS_RADIUS] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_DETAILS_RATIO] = 0.1
    videoPost[c4d.GI_SETUP_DATA_IR_DETAILS_MODE] = c4d.GI_SETUP_DETAILS_COMBINE
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_SCALE] = 0.1
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_SAMPLES] = 1
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_MODE] = c4d.GI_SETUP_RADIANCE_MODE_NORMAL
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_AREA_ENABLE] = True
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_AREA_SAMPLES] = 1
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_SKY_ENABLE] = True
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_SKY_SAMPLES] = 1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_COUNT] = 1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_SCREEN] = 0.1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_WORLD] = 0.1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_MODE] = c4d.GI_SETUP_LIGHT_MAPPING_SCALE_SCREEN
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_DIRECT] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_CAMERA] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SHOW_PATHS] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SCALE] = 0.1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SAMPLES] = 1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER_COUNT] = 1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_FILTER] = c4d.GI_SETUP_LIGHT_MAPPING_FILTER_NONE
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_FILTER_COUNT] = 1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_FILTER_SCALE] = 0.1
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_MODE] = c4d.GI_SETUP_LIGHT_MAPPING_MODE_NORMAL
    videoPost[c4d.GI_SETUP_DATA_CACHE_PREPASS] = True
    videoPost[c4d.GI_SETUP_DATA_CACHE_LOCK] = True
    videoPost[c4d.GI_SETUP_DATA_CACHE_AUTOLOAD] = True
    videoPost[c4d.GI_SETUP_DATA_CACHE_AUTOSAVE] = True
    videoPost[c4d.GI_SETUP_DATA_CACHE_ANIMATION] = True
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_AUTOLOAD] = True
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_AUTOSAVE] = True
    videoPost[c4d.GI_SETUP_DATA_RADIANCE_ANIMATION] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_AUTOLOAD] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_AUTOSAVE] = True
    videoPost[c4d.GI_SETUP_DATA_LIGHT_MAPPING_ANIMATION] = True
    videoPost[c4d.GI_SETUP_DATA_CACHE_CUSTOM_PATH_ENABLED] = True
    videoPost[c4d.GI_SETUP_DATA_CACHE_CUSTOM_PATH] = "c:\\SomeFile.txt"
    videoPost[c4d.GI_SETUP_DATA_EXTRA_DEBUG_LEVEL] = c4d.GI_SETUP_DEBUG_NONE
    videoPost[c4d.GI_SETUP_DATA_EXTRA_NON_DIFFUSE_CUTOFF] = 0.1
    videoPost[c4d.GI_SETUP_DATA_EXTRA_REFRACTIVECAUSTICS] = True
    videoPost[c4d.GI_SETUP_DATA_EXTRA_REFLECTIVECAUSTICS] = True
    videoPost[c4d.GI_SETUP_DATA_EXTRA_DIFFUSE_ONLY] = True
    videoPost[c4d.GI_SETUP_DATA_EXTRA_HIDE_PREPASS] = True
    videoPost[c4d.GI_SETUP_DATA_EXTRA_SHOW_SAMPLES] = True
    
    #Second way, using the base container.
    bc = videoPost.GetDataInstance()
    bc.SetInt32(c4d.GI_SETUP_DATA_PRESETS,c4d.GI_SETUP_PRESET_CUSTOM)
    bc.SetInt32(c4d.GI_SETUP_DATA_PRIMARY_METHOD,c4d.GI_SETUP_METHOD_QMC)
    bc.SetFloat(c4d.GI_SETUP_DATA_PRIMARY_INTENSITY,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_PRIMARY_SATURATION,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_SECONDARY_METHOD,c4d.GI_SETUP_METHOD_QMC)
    bc.SetFloat(c4d.GI_SETUP_DATA_SECONDARY_INTENSITY,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_SECONDARY_SATURATION,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_DIFFUSE_DEPTH,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_DEPTH,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_GAMMA_VALUE,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_QMC_COUNT_METHOD,c4d.GI_SETUP_COUNT_USER)
    bc.SetFloat(c4d.GI_SETUP_DATA_QMC_COUNT_THRESHOLD,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_QMC_COUNT,1)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_ENABLED,True)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_AREA_ENABLED,True)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_AREA_FORCE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_AREA_CUSTOM,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_QMC_AREA_COUNT,1)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_SKY_ENABLED,True)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_SKY_FORCE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_QMC_SKY_CUSTOM,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_QMC_SKY_COUNT,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_IC2_QUALITY,c4d.GI_SETUP_QUALITY_CUSTOM)
    bc.SetInt32(c4d.GI_SETUP_DATA_IC2_RATE_MIN,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_IC2_RATE_MAX,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_DENSITY,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_DETAILS,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_MAX_LIMIT,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_SMOOTHING,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_COLOR,0.1)
    bc.SetBool(c4d.GI_SETUP_DATA_IC2_SCALE,True)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_DETAIL_REDUCTION,0.1)
    bc.SetBool(c4d.GI_SETUP_DATA_IC2_OVERTURE,True)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_A,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IC2_B,0.1)
    bc.SetBool(c4d.GI_SETUP_DATA_IC2_FLAG_A,True)
    bc.SetBool(c4d.GI_SETUP_DATA_IC2_FLAG_B,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_IC2_MODE,c4d.GI_SETUP_DATA_IC2_MODE_NORMAL)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_DENSITY_QUALITY,c4d.GI_SETUP_QUALITY_CUSTOM)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_DENSITY_RATE_MIN,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_DENSITY_RATE_MAX,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_DENSITY_RADIUS_MAX,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_DENSITY_RADIUS_MIN,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_DENSITY_CONTROL,0.1)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_DENSITY_PROXIMITY,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_INTERPOLATION_METHOD,c4d.GI_SETUP_INTERPOLATION_LEAST_SQUARES)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING,c4d.GI_SETUP_SMOOTHING_CUSTOM)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_INTERPOLATION_MAX_SAMPLES,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_INTERPOLATION_MAX_RADIUS_SCALE,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_COLOR_QUALITY,c4d.GI_SETUP_COLOR_CUSTOM)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_COLOR_PASSES,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_COLOR_THRESHOLD,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_COLOR_CUTOFF,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_COLOR_COOEF,0.1)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_CACHE_SECONDARY,True)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_DISTANCE_MAP_ENABLED,True)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_VISIBILITY_CHECK_ENABLED,True)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_DETAILS_ENABLE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_DETAILS_ADAPTIVE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_IR_DETAILS_ESTIMATE,True)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_DETAILS_RADIUS,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_IR_DETAILS_RATIO,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_IR_DETAILS_MODE,c4d.GI_SETUP_DETAILS_COMBINE)
    bc.SetFloat(c4d.GI_SETUP_DATA_RADIANCE_SCALE,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_RADIANCE_SAMPLES,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_RADIANCE_MODE,c4d.GI_SETUP_RADIANCE_MODE_NORMAL)
    bc.SetBool(c4d.GI_SETUP_DATA_RADIANCE_AREA_ENABLE,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_RADIANCE_AREA_SAMPLES,1)
    bc.SetBool(c4d.GI_SETUP_DATA_RADIANCE_SKY_ENABLE,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_RADIANCE_SKY_SAMPLES,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_COUNT,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_SCREEN,0.1)
    bc.SetFloat(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_WORLD,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_MODE,c4d.GI_SETUP_LIGHT_MAPPING_SCALE_SCREEN)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_DIRECT,True)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_CAMERA,True)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PATH_SHOW_PATHS,True)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE,True)
    bc.SetFloat(c4d.GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SCALE,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SAMPLES,1)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER,True)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER_COUNT,1)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_FILTER,c4d.GI_SETUP_LIGHT_MAPPING_FILTER_NONE)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_FILTER_COUNT,1)
    bc.SetFloat(c4d.GI_SETUP_DATA_LIGHT_MAPPING_FILTER_SCALE,0.1)
    bc.SetInt32(c4d.GI_SETUP_DATA_LIGHT_MAPPING_MODE,c4d.GI_SETUP_LIGHT_MAPPING_MODE_NORMAL)
    bc.SetBool(c4d.GI_SETUP_DATA_CACHE_PREPASS,True)
    bc.SetBool(c4d.GI_SETUP_DATA_CACHE_LOCK,True)
    bc.SetBool(c4d.GI_SETUP_DATA_CACHE_AUTOLOAD,True)
    bc.SetBool(c4d.GI_SETUP_DATA_CACHE_AUTOSAVE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_CACHE_ANIMATION,True)
    bc.SetBool(c4d.GI_SETUP_DATA_RADIANCE_AUTOLOAD,True)
    bc.SetBool(c4d.GI_SETUP_DATA_RADIANCE_AUTOSAVE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_RADIANCE_ANIMATION,True)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_AUTOLOAD,True)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_AUTOSAVE,True)
    bc.SetBool(c4d.GI_SETUP_DATA_LIGHT_MAPPING_ANIMATION,True)
    bc.SetBool(c4d.GI_SETUP_DATA_CACHE_CUSTOM_PATH_ENABLED,True)
    bc.SetFileName(c4d.GI_SETUP_DATA_CACHE_CUSTOM_PATH,"c:\\SomeFile.txt")
    bc.SetInt32(c4d.GI_SETUP_DATA_EXTRA_DEBUG_LEVEL,c4d.GI_SETUP_DEBUG_NONE)
    bc.SetFloat(c4d.GI_SETUP_DATA_EXTRA_NON_DIFFUSE_CUTOFF,0.1)
    bc.SetBool(c4d.GI_SETUP_DATA_EXTRA_REFRACTIVECAUSTICS,True)
    bc.SetBool(c4d.GI_SETUP_DATA_EXTRA_REFLECTIVECAUSTICS,True)
    bc.SetBool(c4d.GI_SETUP_DATA_EXTRA_DIFFUSE_ONLY,True)
    bc.SetBool(c4d.GI_SETUP_DATA_EXTRA_HIDE_PREPASS,True)
    bc.SetBool(c4d.GI_SETUP_DATA_EXTRA_SHOW_SAMPLES,True)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../advanced_render/description/vpgisetup.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseVideoPost *pVideoPost = BaseVideoPost::Alloc(VPgisetup);  
    
    //You can set parameters two different ways. 

    //First way              
    //Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead. 

    DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_PRESETS),GeData(GI_SETUP_PRESET_CUSTOM),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_PRIMARY_METHOD),GeData(GI_SETUP_METHOD_QMC),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_PRIMARY_INTENSITY),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_PRIMARY_SATURATION),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_SECONDARY_METHOD),GeData(GI_SETUP_METHOD_QMC),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_SECONDARY_INTENSITY),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_SECONDARY_SATURATION),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_DIFFUSE_DEPTH),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_DEPTH),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_GAMMA_VALUE),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_COUNT_METHOD),GeData(GI_SETUP_COUNT_USER),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_COUNT_THRESHOLD),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_COUNT),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_AREA_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_AREA_FORCE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_AREA_CUSTOM),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_AREA_COUNT),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_SKY_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_SKY_FORCE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_SKY_CUSTOM),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_QMC_SKY_COUNT),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_QUALITY),GeData(GI_SETUP_QUALITY_CUSTOM),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_RATE_MIN),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_RATE_MAX),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_DENSITY),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_DETAILS),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_MAX_LIMIT),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_SMOOTHING),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_COLOR),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_SCALE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_DETAIL_REDUCTION),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_OVERTURE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_A),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_B),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_FLAG_A),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_FLAG_B),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IC2_MODE),GeData(GI_SETUP_DATA_IC2_MODE_NORMAL),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_QUALITY),GeData(GI_SETUP_QUALITY_CUSTOM),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_RATE_MIN),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_RATE_MAX),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_RADIUS_MAX),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_RADIUS_MIN),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_CONTROL),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DENSITY_PROXIMITY),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_INTERPOLATION_METHOD),GeData(GI_SETUP_INTERPOLATION_LEAST_SQUARES),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING),GeData(GI_SETUP_SMOOTHING_CUSTOM),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_INTERPOLATION_MAX_SAMPLES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_INTERPOLATION_MAX_RADIUS_SCALE),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_COLOR_QUALITY),GeData(GI_SETUP_COLOR_CUSTOM),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_COLOR_PASSES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_COLOR_THRESHOLD),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_COLOR_CUTOFF),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_COLOR_COOEF),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_CACHE_SECONDARY),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DISTANCE_MAP_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_VISIBILITY_CHECK_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DETAILS_ENABLE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DETAILS_ADAPTIVE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DETAILS_ESTIMATE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DETAILS_RADIUS),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DETAILS_RATIO),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_IR_DETAILS_MODE),GeData(GI_SETUP_DETAILS_COMBINE),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_SCALE),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_SAMPLES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_MODE),GeData(GI_SETUP_RADIANCE_MODE_NORMAL),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_AREA_ENABLE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_AREA_SAMPLES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_SKY_ENABLE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_SKY_SAMPLES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_COUNT),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_SCREEN),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_WORLD),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_MODE),GeData(GI_SETUP_LIGHT_MAPPING_SCALE_SCREEN),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_DIRECT),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_CAMERA),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SHOW_PATHS),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SCALE),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SAMPLES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER_COUNT),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_FILTER),GeData(GI_SETUP_LIGHT_MAPPING_FILTER_NONE),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_FILTER_COUNT),GeData(1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_FILTER_SCALE),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_MODE),GeData(GI_SETUP_LIGHT_MAPPING_MODE_NORMAL),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_PREPASS),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_LOCK),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_AUTOLOAD),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_AUTOSAVE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_ANIMATION),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_AUTOLOAD),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_AUTOSAVE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_RADIANCE_ANIMATION),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_AUTOLOAD),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_AUTOSAVE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_LIGHT_MAPPING_ANIMATION),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_CUSTOM_PATH_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_CACHE_CUSTOM_PATH),GeData(Filename("c:\\SomeFile.txt"),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_DEBUG_LEVEL),GeData(GI_SETUP_DEBUG_NONE),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_NON_DIFFUSE_CUTOFF),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_REFRACTIVECAUSTICS),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_REFLECTIVECAUSTICS),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_DIFFUSE_ONLY),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_HIDE_PREPASS),GeData(true),flags);
    pVideoPost->SetParameter(DescID(GI_SETUP_DATA_EXTRA_SHOW_SAMPLES),GeData(true),flags);
    pVideoPost->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pVideoPost->GetDataInstance();
    bc->SetInt32(GI_SETUP_DATA_PRESETS,GI_SETUP_PRESET_CUSTOM);
    bc->SetInt32(GI_SETUP_DATA_PRIMARY_METHOD,GI_SETUP_METHOD_QMC);
    bc->SetFloat(GI_SETUP_DATA_PRIMARY_INTENSITY,0.1);
    bc->SetFloat(GI_SETUP_DATA_PRIMARY_SATURATION,0.1);
    bc->SetInt32(GI_SETUP_DATA_SECONDARY_METHOD,GI_SETUP_METHOD_QMC);
    bc->SetFloat(GI_SETUP_DATA_SECONDARY_INTENSITY,0.1);
    bc->SetFloat(GI_SETUP_DATA_SECONDARY_SATURATION,0.1);
    bc->SetInt32(GI_SETUP_DATA_DIFFUSE_DEPTH,1);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_PATH_DEPTH,1);
    bc->SetFloat(GI_SETUP_DATA_GAMMA_VALUE,0.1);
    bc->SetInt32(GI_SETUP_DATA_QMC_COUNT_METHOD,GI_SETUP_COUNT_USER);
    bc->SetFloat(GI_SETUP_DATA_QMC_COUNT_THRESHOLD,0.1);
    bc->SetInt32(GI_SETUP_DATA_QMC_COUNT,1);
    bc->SetBool(GI_SETUP_DATA_QMC_ENABLED,true);
    bc->SetBool(GI_SETUP_DATA_QMC_AREA_ENABLED,true);
    bc->SetBool(GI_SETUP_DATA_QMC_AREA_FORCE,true);
    bc->SetBool(GI_SETUP_DATA_QMC_AREA_CUSTOM,true);
    bc->SetInt32(GI_SETUP_DATA_QMC_AREA_COUNT,1);
    bc->SetBool(GI_SETUP_DATA_QMC_SKY_ENABLED,true);
    bc->SetBool(GI_SETUP_DATA_QMC_SKY_FORCE,true);
    bc->SetBool(GI_SETUP_DATA_QMC_SKY_CUSTOM,true);
    bc->SetInt32(GI_SETUP_DATA_QMC_SKY_COUNT,1);
    bc->SetInt32(GI_SETUP_DATA_IC2_QUALITY,GI_SETUP_QUALITY_CUSTOM);
    bc->SetInt32(GI_SETUP_DATA_IC2_RATE_MIN,1);
    bc->SetInt32(GI_SETUP_DATA_IC2_RATE_MAX,1);
    bc->SetFloat(GI_SETUP_DATA_IC2_DENSITY,0.1);
    bc->SetFloat(GI_SETUP_DATA_IC2_DETAILS,0.1);
    bc->SetFloat(GI_SETUP_DATA_IC2_MAX_LIMIT,0.1);
    bc->SetFloat(GI_SETUP_DATA_IC2_SMOOTHING,0.1);
    bc->SetFloat(GI_SETUP_DATA_IC2_COLOR,0.1);
    bc->SetBool(GI_SETUP_DATA_IC2_SCALE,true);
    bc->SetFloat(GI_SETUP_DATA_IC2_DETAIL_REDUCTION,0.1);
    bc->SetBool(GI_SETUP_DATA_IC2_OVERTURE,true);
    bc->SetFloat(GI_SETUP_DATA_IC2_A,0.1);
    bc->SetFloat(GI_SETUP_DATA_IC2_B,0.1);
    bc->SetBool(GI_SETUP_DATA_IC2_FLAG_A,true);
    bc->SetBool(GI_SETUP_DATA_IC2_FLAG_B,true);
    bc->SetInt32(GI_SETUP_DATA_IC2_MODE,GI_SETUP_DATA_IC2_MODE_NORMAL);
    bc->SetInt32(GI_SETUP_DATA_IR_DENSITY_QUALITY,GI_SETUP_QUALITY_CUSTOM);
    bc->SetInt32(GI_SETUP_DATA_IR_DENSITY_RATE_MIN,1);
    bc->SetInt32(GI_SETUP_DATA_IR_DENSITY_RATE_MAX,1);
    bc->SetFloat(GI_SETUP_DATA_IR_DENSITY_RADIUS_MAX,0.1);
    bc->SetFloat(GI_SETUP_DATA_IR_DENSITY_RADIUS_MIN,0.1);
    bc->SetFloat(GI_SETUP_DATA_IR_DENSITY_CONTROL,0.1);
    bc->SetBool(GI_SETUP_DATA_IR_DENSITY_PROXIMITY,true);
    bc->SetInt32(GI_SETUP_DATA_IR_INTERPOLATION_METHOD,GI_SETUP_INTERPOLATION_LEAST_SQUARES);
    bc->SetInt32(GI_SETUP_DATA_IR_INTERPOLATION_SMOOTHING,GI_SETUP_SMOOTHING_CUSTOM);
    bc->SetInt32(GI_SETUP_DATA_IR_INTERPOLATION_MAX_SAMPLES,1);
    bc->SetFloat(GI_SETUP_DATA_IR_INTERPOLATION_MAX_RADIUS_SCALE,0.1);
    bc->SetInt32(GI_SETUP_DATA_IR_COLOR_QUALITY,GI_SETUP_COLOR_CUSTOM);
    bc->SetInt32(GI_SETUP_DATA_IR_COLOR_PASSES,1);
    bc->SetFloat(GI_SETUP_DATA_IR_COLOR_THRESHOLD,0.1);
    bc->SetFloat(GI_SETUP_DATA_IR_COLOR_CUTOFF,0.1);
    bc->SetFloat(GI_SETUP_DATA_IR_COLOR_COOEF,0.1);
    bc->SetBool(GI_SETUP_DATA_IR_CACHE_SECONDARY,true);
    bc->SetBool(GI_SETUP_DATA_IR_DISTANCE_MAP_ENABLED,true);
    bc->SetBool(GI_SETUP_DATA_IR_VISIBILITY_CHECK_ENABLED,true);
    bc->SetBool(GI_SETUP_DATA_IR_DETAILS_ENABLE,true);
    bc->SetBool(GI_SETUP_DATA_IR_DETAILS_ADAPTIVE,true);
    bc->SetBool(GI_SETUP_DATA_IR_DETAILS_ESTIMATE,true);
    bc->SetFloat(GI_SETUP_DATA_IR_DETAILS_RADIUS,0.1);
    bc->SetFloat(GI_SETUP_DATA_IR_DETAILS_RATIO,0.1);
    bc->SetInt32(GI_SETUP_DATA_IR_DETAILS_MODE,GI_SETUP_DETAILS_COMBINE);
    bc->SetFloat(GI_SETUP_DATA_RADIANCE_SCALE,0.1);
    bc->SetInt32(GI_SETUP_DATA_RADIANCE_SAMPLES,1);
    bc->SetInt32(GI_SETUP_DATA_RADIANCE_MODE,GI_SETUP_RADIANCE_MODE_NORMAL);
    bc->SetBool(GI_SETUP_DATA_RADIANCE_AREA_ENABLE,true);
    bc->SetInt32(GI_SETUP_DATA_RADIANCE_AREA_SAMPLES,1);
    bc->SetBool(GI_SETUP_DATA_RADIANCE_SKY_ENABLE,true);
    bc->SetInt32(GI_SETUP_DATA_RADIANCE_SKY_SAMPLES,1);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_PATH_COUNT,1);
    bc->SetFloat(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_SCREEN,0.1);
    bc->SetFloat(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_WORLD,0.1);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SCALE_MODE,GI_SETUP_LIGHT_MAPPING_SCALE_SCREEN);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_PATH_DIRECT,true);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_PATH_CAMERA,true);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_PATH_SHOW_PATHS,true);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE,true);
    bc->SetFloat(GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SCALE,0.1);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_RADIANCE_SAMPLES,1);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER,true);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_PREFILTER_COUNT,1);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_FILTER,GI_SETUP_LIGHT_MAPPING_FILTER_NONE);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_FILTER_COUNT,1);
    bc->SetFloat(GI_SETUP_DATA_LIGHT_MAPPING_FILTER_SCALE,0.1);
    bc->SetInt32(GI_SETUP_DATA_LIGHT_MAPPING_MODE,GI_SETUP_LIGHT_MAPPING_MODE_NORMAL);
    bc->SetBool(GI_SETUP_DATA_CACHE_PREPASS,true);
    bc->SetBool(GI_SETUP_DATA_CACHE_LOCK,true);
    bc->SetBool(GI_SETUP_DATA_CACHE_AUTOLOAD,true);
    bc->SetBool(GI_SETUP_DATA_CACHE_AUTOSAVE,true);
    bc->SetBool(GI_SETUP_DATA_CACHE_ANIMATION,true);
    bc->SetBool(GI_SETUP_DATA_RADIANCE_AUTOLOAD,true);
    bc->SetBool(GI_SETUP_DATA_RADIANCE_AUTOSAVE,true);
    bc->SetBool(GI_SETUP_DATA_RADIANCE_ANIMATION,true);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_AUTOLOAD,true);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_AUTOSAVE,true);
    bc->SetBool(GI_SETUP_DATA_LIGHT_MAPPING_ANIMATION,true);
    bc->SetBool(GI_SETUP_DATA_CACHE_CUSTOM_PATH_ENABLED,true);
    bc->SetFileName(GI_SETUP_DATA_CACHE_CUSTOM_PATH,"c:\\SomeFile.txt");
    bc->SetInt32(GI_SETUP_DATA_EXTRA_DEBUG_LEVEL,GI_SETUP_DEBUG_NONE);
    bc->SetFloat(GI_SETUP_DATA_EXTRA_NON_DIFFUSE_CUTOFF,0.1);
    bc->SetBool(GI_SETUP_DATA_EXTRA_REFRACTIVECAUSTICS,true);
    bc->SetBool(GI_SETUP_DATA_EXTRA_REFLECTIVECAUSTICS,true);
    bc->SetBool(GI_SETUP_DATA_EXTRA_DIFFUSE_ONLY,true);
    bc->SetBool(GI_SETUP_DATA_EXTRA_HIDE_PREPASS,true);
    bc->SetBool(GI_SETUP_DATA_EXTRA_SHOW_SAMPLES,true);
    pVideoPost->Message(MSG_UPDATE);                                                      
}
             

Buttons

This node has buttons. Buttons can manually be executed by calling the following code

Python

c4d.CallButton(videoPost,c4d.GI_SETUP_DATA_CACHE_FLUSH)
c4d.CallButton(videoPost,c4d.GI_SETUP_DATA_RADIANCE_FLUSH)
c4d.CallButton(videoPost,c4d.GI_SETUP_DATA_LIGHT_MAPPING_FLUSH)

C++

DescriptionCommand dc;
dc.id = DescID(GI_SETUP_DATA_CACHE_FLUSH);             
pVideoPost->Message(MSG_DESCRIPTION_COMMAND, &dc);

DescriptionCommand dc; dc.id = DescID(GI_SETUP_DATA_RADIANCE_FLUSH); pVideoPost->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(GI_SETUP_DATA_LIGHT_MAPPING_FLUSH); pVideoPost->Message(MSG_DESCRIPTION_COMMAND, &dc);