Click here to Skip to main content
12,304,821 members (66,050 online)
Click here to Skip to main content

Stats

76.2K views
2.6K downloads
102 bookmarked
Posted

Anaglyph ShaderEffect in WPF

, 8 Nov 2009 CPOL
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
AnaglyphEffect.fx
AnaglyphEffect.ps
bin
Debug
images
left.jpg
right.jpg
phantogram
aalto_left.jpg
aalto_right.jpg
Properties
AnaglyphEffect
AnaglyphEffect.fx
AnaglyphEffect.ps
Properties
AnaglyphImage
images
left.jpg
right.jpg
Properties
Cube3D
Properties
phantogram
aalto_left.jpg
aalto_right.jpg
Properties
TestEffect
Properties
TransparentCube3D
Properties
AnaglyphWebcam
AnaglyphWebcam
AnaglyphEffect.ps
Properties
WpfCap
AnaglyphEffect.ps
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...

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