Using Poserframes without recipes (legacy mode) and hard-coded settings

The settings are hard coded at the top of the script file and are written as Javascript variable declarations, like this:

var fancy = true;

It’s important to keep this format when you make changes. Make sure the = or the ; doesn’t accidentally get deleted when you change a value. All variables must be declared, so make sure you don’t accidentally delete any lines.

To begin using the script without recipes you need to change the setting legacy to this:

var legacy = true;

If you want the script to save the images after it’s run change the setting save to this:

var save = true;

The hard coded settings are the same as the ones used in a recipe above. There are also a number of additional settings available in the script file:

  1. force_8_bit: When set to true, the script converts a 16 bit image to 8 bits, before running the spatter filter to dirty up outer mask edges. If set to false, no bit conversion takes place and the spatter filter is skipped.
  2. feather_factor_35mm: How much feathering of the border you like for 35mm. The lower value, the more feathering. Preset value is 1200.
  3. feather_factor_645: How much feathering of the border you like for 645. The lower value, the more feathering. Preset value is 1800.
  4. feather_factor_67_square: How much feathering of the border you like for square and 67. The lower value, the more feathering. Preset value is 2400.
  5. feather_factor_45: How much feathering of the border you like for 4x5. The lower value, the more feathering. Preset value is 5400.
  6. mask_flip_probaility: The probability of the scanner mask being rotated 180 degrees. Initially set to 20 out of 100.
  7. blue_artefacts_odds: The probability of rendering blue artefacts. Initially set to 20out of 100. If set to 100, you’ll get blue artefacts on every run.
  8. matted_border_size: The thickness of the white border in matted crop styles, given in percentages. Initially set to 10.

These settings are always active, even when the script is run in recipe mode.

Note that the setting movement_direction, also used in recipes, must be enclosed with quotation marks in the script file, like this:

var movement_direction = "random";