Creating and manipulating 3D anaglyphic images

Category:
Screen/Graphics
Type:
Snippets
Difficulty:
Beginning

Author: Anonymous

Version Compatibility: Visual Basic 6

More information:
Almost everyone is familiar with the standard 3D glasses (left:red, right:cyan), which are used in viewing anaglyphic images and movies. Anaglyphs are created using two separate images, one for the left eye and the other for the right. Below I will describe the methods of converting steroscopic image pairs to anaglyphs, and some things you can do with existing anaglyphs.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: