// Class: cm.core.Photo Removed: extend public RenderSettings giSettings() Removed: extend public RenderSettings giSettings=(RenderSettings settings)
The methods above was empty since 10.5. If you want to control the GI quality you need to do this through Photo.renderSettingsG2. For instance:
RenderSettingsG2 settings = photo.renderSettingsG2; settings.masterQuality = renderQuality.medium;
Keep in mind that the code above affects overall quality of the rendering. If you need to tweak the GI settings explicitly you can do the following:
photo.renderSettingsG2."RAY_GI_CACHE_HEMI_SAMPLING_RATE" = 22; photo.renderSettingsG2."RAY_GI_ESTIMATOR_SAMPLING_RATE" = 200; photo.renderSettingsG2."RAY_GI_CACHE_PRECISE" = false; photo.renderSettingsG2."RAY_GI_CACHE_PASSES_COUNT" = 1; photo.renderSettingsG2."RAY_GI_CACHE_INTERP_SAMPLES_COUNT" = 20;