Pena Contents
Introduction
Control Pane
Brush Pane
Texture Pane
Effects Pane
Color Picker
Save/Load Pane
Selection Pane
Preferences Pane
Intelligent Canvas
Wacom Bluetooth Stylus
Jot Bluetooth Stylus
 
The Effects Library
Effects Introduction
Color Source Effects
Procedural Source Effects
Color Filter Effects
Spatial Filter Effects
Math and Logic Effects
  • Math and Logic Introduction
  • Clock Limiter
  • Clock Reset
  • Color Add 1+2
  • Color Burn
  • Color Difference
  • Color Dodge
  • Color Exclusion
  • Color Hard Light
  • Color Multiply 1x2
  • Color Overlay
  • Color Restore
  • Color Save
  • Color Screen
  • Color Soft Light
  • Color Subtract 1-2
  • Color Subtract 2-1
  • Special Effects
     
    Artists Gallery
    The Artist Gallery
     
    Pena Support
    Troubleshooting

       

      Previous SectionHide ContentsNext Section


      Effect:Color Restore
      Category:Math and Logic
      Speed:Fast

      Description: The Color Restore Effect works together with the Color Save Effect to provide two additional Color Slots besides Color 1 and Color 2.

      You may find that when creating very complex combinations of Effects, you need more than Color 1 and Color 2.

      For example... let's say you want to use Color 1 and Color 2 to create a new Color (we'll call that Color New 1). Then you want to take a completely different Color 1 and Color 2 to create another new color (we'll call that Color New 2) - and then you want to combine Color New 1 and Color New 2. You can't do that because the creation of Color New 2 destroyed Color New 1.

      The Color Save and Color Restore Effects give you the ability to create one additional copy of both Color 1 and Color 2, and then restore those at a later time.

      This lets you create a new Color 1 (or Color 2), save it, create a totally different one, and then combine that with what was saved. This allows you to string many Effects together that utilize both Color 1 and Color 2 in such a way that each Effect can use different colors.

       
      Options: The Color Restore Effect has the following Options Pane:

      Restore Tmp 1 to 1:If set to a Green Check Mark the Temporary Color 1 is restored to Color 1.
      Restore Tmp 1 to 2:If set to a Green Check Mark the Temporary Color 1 is restored to Color 2.
      Restore Tmp 2 to 1:If set to a Green Check Mark the Temporary Color 2 is restored to Color 1.
      Restore Tmp 2 to 2:If set to a Green Check Mark the Temporary Color 2 is restored to Color 2.

      Example: To show the Save Color and Restore Color Effects we are going to create a long, 10 Effect program.

      We begin by presenting the entire program. The following represents our program Slots:

      1. 2-Color Gradient, with default values
      2. Stripes, Vertical, with Output Color 1 set to Ignore and Output Color 2 set to Replace
      3. Color Difference, with default values
      4. Color Save, with default values
      5. Color, with default values
      6. 4-Color Gradient, with default values
      7. Stripes, Horizontal, with Output Color 1 set to Ignore and Output Color 2 set to Replace
      8. Color Difference, with default values
      9. Color Restore, with Restore Tmp 1 to 2 turn on, and all other options turned off
      10. Color Difference, with default values

      Now lets go through the above Effects and see what they produced.

      Slot 1 and Slot 2 give us a 2-Color Gradient in Color 1 and a Stripes, Vertical in Color 2:

      Slot 3 applies a Color Difference between Color 1 and Color 2 and outputs the result to Color 1, giving us this:

      Now is where we have a problem... in a moment we are going to need both Color 1 and Color 2 to create a brand new Effect... but we don't want to destroy the Color 1 we just created, so we need to save it.

      Slot 4 has a Color Save and we save both Color 1 and Color 2 to temporary colors (we really only need to save Color 1).

      Now that we have put Color 1 in a safe place, we can destroy it with a new Effect.

      Slot 5 has a Color Effect with default values which resets Color 1 to white and Color 2 to black (we do this for the Strips, Horizontal that comes up).

      Slot 6 and Slot 7 give us a 4-Color Gradient in Color 1 and a Stripes, Horizontal in Color 2:

      Slot 8 applies a Color Difference between Color 1 and Color 2 and outputs the result to Color 1, giving us this:

      We new have a new result in Color 1. We need to Restore our old Color 1.

      Slot 9 applies a Color Restore with all options turned off except for Restore Tmp 1 to 2. This forces the temporary Color 1 to be restored to Color 2.

      Finally, Slot 10 applies a Color Difference between Color 1 and Color 2 and outputs our final result:

       

      Previous SectionHide ContentsNext Section

    pena © 2014 by David Cook
    Apple®, the Apple logo, iPad, iPad Air, iPad Mini, iPod, iPhone, and iTunes
    are trademarks of Apple Inc., registered in the U.S. and other countries.
    Wacom®, and Wacom Intuos Creative Stylus are trademarks of Wacom, registered in the U.S and other countries.