I am writing a Java engine ( http://victoryengine.org ) and I experimented with creating "3d" images with depth, you can see these red / blue glasses. I am using Java2D for graphics.
I created something that works, but very slowly (manually copying pixel values, etc.).
I need to take two BufferedImages (one for the left eye, one on the right) and combine them into one (either the other buffer, or directly on the screen). For one, I just want a red channel, and for the other, green and blue. What is the fastest way to do this?
java graphics java-2d
Bart van heukelom
source share