This is a program that I wrote which uses Cg fragment and vertex programs to convert the four planes in the scene into the planes you can see in the video above or image below. One plane becomes filled with transparent holes, another uses the Mandelbrot set to display a fractal pattern, another displays the results of an edge detection routine that has been run on an image of a duck, and the final plane becomes wavy and blue.
- Download the .zip from the link above
- Extract the contents of the .zip to a folder
- Run g_prog.exe within the debug folder of the cg_prog project folder
- To compile the program, open the solution file g_prog.sln with visual studio
- Run the compile command