A few boilerplate examples to get started with anaglyph stero-pair rendering in Processing.
-
Scene example
From Ancient Greek ἀναγλυφή (anagluphḗ, “work in low relief”); from ana (up) + glyphein (to carve out)
Noun Anaglyph (plural anaglyphs)
-
A decorative ornament worked in low relief or bas relief, such as a piece of cameo jewelry.
-
A matched pair of images designed to produce a three-dimensional effect when viewed using spectacles that have usually one red and one bluish-green lens, corresponding to the colors of the pairs of images.
The examples shown here are a mere assemblage of work done by others:
-
http://paulbourke.net/stereographics/stereorender
Calculating Stereo Pairs -
http://www.3dtv.at/knowhow/anaglyphcomparison_en.aspx
Anaglyph Methods Comparison -
https://vimeo.com/62505109
A Processing example with more resources in the comment area