Click here to Skip to main content
13,597,485 members
Click here to Skip to main content

Stats

88.5K views
2.8K downloads
104 bookmarked
Posted 18 Jan 2009
Licenced CPOL

Anaglyph ShaderEffect in WPF

, 8 Nov 2009
This article shows how to use a WPF ShaderEffect for anaglyph blending (for red/cyan glasses). The effect can be used for both 2D and 3D elements.
AnaglyphEffect.dll
AnaglyphImage.exe
AnaglyphWebcam.exe
Cube3D.exe
Phantogram.exe
TestEffect.exe
Transparent3D.exe
AnaglyphShaderEffect
bin
Debug
images
left.jpg
right.jpg
phantogram
aalto_left.jpg
aalto_right.jpg
Properties
AnaglyphEffect
Properties
AnaglyphImage
images
left.jpg
right.jpg
Properties
Cube3D
Properties
phantogram
aalto_left.jpg
aalto_right.jpg
Properties
TestEffect
Properties
TransparentCube3D
Properties
AnaglyphWebcam
AnaglyphWebcam
Properties
WpfCap
bin
Debug
AnaglyphWebcam.exe
path %path%;"C:\Program Files\Microsoft DirectX SDK (June 2008)\Utilities\bin\x86";"C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Utilities\bin\x64"


fxc /T ps_2_0 /E main /Fo AnaglyphEffect.ps AnaglyphEffect.fx
pause

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

objo
Norway Norway
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web02 | 2.8.180621.3 | Last Updated 8 Nov 2009
Article Copyright 2009 by objo
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid