Auto Stroke Playback Scripts for Corel Painter
The following tutorial, associated scripts and custom script icons are copyright of David Gell.
The A_Playback Painter script resources have been developed to supplement my 'Auto Painter' Auto Playback scripts, providing yet another solution to excessive stoke rendering speeds which may be encountered using Painter's built-in Auto Playback option in combination with fast processors.
Essentially, these scripts facilitate 'one click' preset numbers of Auto Playback strokes (ranging between 1 and 100 in this case), with the added option of fixed number undo and redo presets. The addition of these latter presets allows for quick fine tuning of stroke density after stroke playback.
Unlike the Auto Painter Auto Playback scripts, there is not a major issue with undo levels, as in this case, the 100 strokes applied by a single click of the 'Playback 100' icon in the associated custom palette may be undone with a single undo. Below is a screen-shot of my Auto Playback_Undo_Redo custom palette.
Screen-shot of associated custom palette
The heart of the interface is a custom script library. The buttons in the custom palette allow the individual scripts within this library to be executed (run). Several associated command buttons were added to the custom palette using the Add Command option (in Painter IX, Window menu> Custom Palette> Add Command).
Fixed number auto playback presets
As I thought it would be useful to to build up predetermined numbers of strokes incrementally, and then have the option to undo and redo increments (adjusting to taste), I then added undo and redo preset scripts to the mix. Now it was possible to lay down multiple strokes and fine tune their density (quantity) with both speed and ease.
Fixed Number and Max/Min Undo and Redo Presets.
It is important to note that the total level of undo will depend on that set in the Painter Undo preferences (a maximum of 32).
Undo = black background icon.
In the case of the fixed number auto playback presets, the relevant number of stokes are applied pretty much simultaneously, so the need to stop the playback does not apply in this case (there may be a small delay in rendering when using the higher number presets). Simply perform a single undo to remove all the stokes laid down by the last preset if you are not happy with the results. Also bear in mind that the auto playback placement location of the brushstrokes on the canvas is random, so if you playback one stroke, it is most likely to appear in a different location on the canvas if undone and the Playback 1 script run again. If however you applied an undo followed by a redo, the brushstroke positions will remain the same. The Undo/Redo scripts are not limited to use only with Auto Playback brush strokes, so are very useful in their own right.
The A_Playback script libraries have been compiled by me, David Gell using Painter IX (Mac). David Gell does not accept responsibility for the performance of your computer, software or loss of any kind whilst downloading or using these scripts.
Download and Related Links.
Note: Although built and tested in Painter IX, it is possible that these scripts may function in earlier Painter versions. Download and use at your own risk, and please do not redistribute these resources.
|Auto Painter Resources for Corel Painter PC;
A_Playback_PC.zip (44 KB)
Auto Painter Resources for Corel Painter Mac;
A_Playback_Mac.dmg (56 KB)
A_Playback_Mac.sit (28 KB)
Important information regarding custom Script Library location in Painter IX.
|Important information regarding Custom Palettes in Painter IX.|
In the fixed number playback presets, the number of strokes played back is exactly the number displayed on the script icon in the respective custom palette. The playback stroke numbers are readily editable by opening the script in the Script palette window. I created the custom script icons at 60 x 60 pixels, and recorded a File> Clone on the image. A sequence of Select All>Clear and Paste was then used via the Scripts palette menu to replace the clone script data with a previously recorded and copied Auto Playback script, which was then edited to match the number of strokes required.
Note that when editing scripts in the scripts palette window of Painter IX, neither the icon in the Script Selector window nor the displayed script name do not update to reflect the current script displayed in the Script palette edit window. This can be very confusing, and I manually changed the displayed script in the Script Selector window for the purpose of the above screen-shot.