Class BitMaskFilterAnaglyphGenerator

All Implemented Interfaces:
processing.core.PConstants

public class BitMaskFilterAnaglyphGenerator extends AnaglyphGenerator
Simple bitmask filter anaglyph algorithm. This is what you would get if you combined the red channel of one image with the green+blue channel of another image. This is the algorithm the previous RedBlue library used.
  • Constructor Details

    • BitMaskFilterAnaglyphGenerator

      public BitMaskFilterAnaglyphGenerator(int leftFilter, int rightFilter)
  • Method Details

    • generateCompositeFrame

      public void generateCompositeFrame(int[] pixelDest, int[][] pixelStorage)
      Description copied from class: Generator
      Combine the component frames into one composite frame.
      Specified by:
      generateCompositeFrame in class Generator