Table of Contents

Example

Capture - Rendering Settings

by: Alex del Bondio, April 2019
published: here
description: change Capture render settings via macro
remarks:

Remarks

functions

affected properties

Code

capturerendersettings.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
 
  <!-- CaptureRenderingSettings, Alex del Bondio - April 2019 -->
  <macro id="adb.Macros.Capture.qualhigh" name="Capture High Quality">
    <active binding="{propertyLink id='Visualiser.Capture.CaptureRenderingSettings' 
      converter='Math.EnumAsStringEqualityConverter' 
      converterParameter='High'}"/>
    <sequence>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.AutomaticQuality", false)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.BloomAmount", 0)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AtmosphereContrast", 0.6)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AtmosphereSpeed", 0.3)</step>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.SpillLighting", true)</step>
      <step>ActionScript.SetProperty.Enum("Visualiser.Capture.CaptureRenderingSettings", "High")</step>
    </sequence>
  </macro>
 
  <macro id="adb.Macros.Capture.qualmed" name="Capture Medium Quality">
    <active binding="{propertyLink id='Visualiser.Capture.CaptureRenderingSettings' 
      converter='Math.EnumAsStringEqualityConverter' 
      converterParameter='Medium'}"/>
    <sequence>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.AutomaticQuality", false)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.BloomAmount", 0)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AtmosphereContrast", 0.3)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AtmosphereSpeed", 0.1)</step>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.SpillLighting", false)</step>
      <step>ActionScript.SetProperty.Enum("Visualiser.Capture.CaptureRenderingSettings", "Medium")</step>
    </sequence>
  </macro>
 
  <macro id="adb.Macros.Capture.quallow" name="Capture Low Quality">
    <active binding="{propertyLink id='Visualiser.Capture.CaptureRenderingSettings' 
      converter='Math.EnumAsStringEqualityConverter' 
      converterParameter='Low'}"/>
    <sequence>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.AutomaticQuality", false)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.BloomAmount", 0)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AtmosphereContrast", 0)</step>
      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AtmosphereSpeed", 0)</step>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.SpillLighting", false)</step>
      <step>ActionScript.SetProperty.Enum("Visualiser.Capture.CaptureRenderingSettings", "Low")</step>
    </sequence>
  </macro>
 
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

How to use it