I'm writing a Java game engine (http://victoryengine.org) and I've been experimenting with generating "3d" images with depth that you can see with those red/blue glasses. I'm using Java2D for graphics.
I've created something that works, but is very slow (by manually copying pixel values and stuff like that).
What I need to is take two BufferedImages (one for the left eye, one for the right) and combine them into one (either another buffer or directly to screen). For one I just want the red channel, and for the other one the green and blue ones. What's the fastest way to do this?