macros:example:captureatmosphere

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:captureatmosphere [2019/04/28 16:19] – created sideshowbondmacros:example:captureatmosphere [2019/05/05 11:43] (current) – external edit 127.0.0.1
Line 11: Line 11:
   * I like to use the macro for low haze settings in a startup cuelist as it helps PCs with less powerful graphics cards to open capture   * I like to use the macro for low haze settings in a startup cuelist as it helps PCs with less powerful graphics cards to open capture
  
-{{tag> capture haze settings }}+{{tag> capture atmosphere haze settings }}
  
 ==== functions ==== ==== functions ====
-  * [[:macros:function:ActionScript.SetProperty]]+  * [[:macros:function:ActionScript.SetProperty.Float]]
  
 ==== affected properties ==== ==== affected properties ====
Line 20: Line 20:
  
 ===== Code ===== ===== Code =====
-<code xml capturehazesettings.xml>+<code xml captureatmosphere.xml>
 <?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
 <avolites.macros> <avolites.macros>
  
   <!-- Atmosphere, Alex del Bondio - April 2019 -->   <!-- Atmosphere, Alex del Bondio - April 2019 -->
-    <macro id="adb.Macros.Capture.hazefull" name="Capture Haze full"> +  <macro id="adb.Macros.Capture.hazefull" name="Capture Haze full"> 
-        <active binding="{propertyLink id='Visualiser.Capture.Atmosphere' converter='Math.EqualityConverter' converterParameter='1'}"/> +    <active binding="{propertyLink id='Visualiser.Capture.Atmosphere'  
-        <sequence> +      converter='Math.EqualityConverter'  
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.Atmosphere", 1)</step> +      converterParameter='1'}"/> 
-        </sequence> +    <sequence> 
-    </macro> +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.Atmosphere", 1)</step> 
-    <macro id="adb.Macros.Capture.hazemed" name="Capture Haze med"> +    </sequence> 
-        <active binding="{propertyLink id='Visualiser.Capture.Atmosphere' converter='Math.EqualityConverter' converterParameter='0.6'}"/> +  </macro> 
-        <sequence> +   
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.Atmosphere", 0.6)</step> +  <macro id="adb.Macros.Capture.hazemed" name="Capture Haze med"> 
-        </sequence> +    <active binding="{propertyLink id='Visualiser.Capture.Atmosphere'  
-    </macro> +      converter='Math.EqualityConverter'  
-    <macro id="adb.Macros.Capture.hazelow" name="Capture Haze low"> +      converterParameter='0.6'}"/> 
-        <active binding="{propertyLink id='Visualiser.Capture.Atmosphere' converter='Math.EqualityConverter' converterParameter='0.1'}"/> +    <sequence> 
-        <sequence> +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.Atmosphere", 0.6)</step> 
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.Atmosphere", 0.1)</step> +    </sequence> 
-        </sequence> +  </macro> 
-    </macro>+   
 +  <macro id="adb.Macros.Capture.hazelow" name="Capture Haze low"> 
 +    <active binding="{propertyLink id='Visualiser.Capture.Atmosphere'  
 +      converter='Math.EqualityConverter'  
 +      converterParameter='0.1'}"/> 
 +    <sequence> 
 +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.Atmosphere", 0.1)</step> 
 +    </sequence> 
 +  </macro>
  
 </avolites.macros> </avolites.macros>
Line 52: Line 60:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-  * ''Visualiser.Capture.Atmosphere'' sets the Smoke Density (or Denisty as it is called in Titan up until 11.3)+  * ''Visualiser.Capture.Atmosphere'' sets the Smoke Density
  
  
macros/example/captureatmosphere.1556468349.txt.gz · Last modified: 2019/04/28 16:19 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki