Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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.
anaglyphshadereffect_bin.zip
AnaglyphEffect.dll
AnaglyphImage.exe
AnaglyphWebcam.exe
Cube3D.exe
Phantogram.exe
TestEffect.exe
Transparent3D.exe
AnaglyphShaderEffect_demo.zip
AnaglyphShaderEffect
AnaglyphEffect.fx
AnaglyphEffect.ps
bin
Debug
images
left.jpg
right.jpg
phantogram
aalto_left.jpg
aalto_right.jpg
Properties
Settings.settings
AnaglyphShaderEffect_src.zip
AnaglyphEffect
AnaglyphEffect.fx
AnaglyphEffect.ps
Properties
AnaglyphImage
images
left.jpg
right.jpg
Properties
Settings.settings
Cube3D
Properties
Settings.settings
phantogram
aalto_left.jpg
aalto_right.jpg
Properties
Settings.settings
TestEffect
Properties
Settings.settings
TransparentCube3D
Properties
Settings.settings
AnaglyphWebcam
AnaglyphWebcam
AnaglyphEffect.ps
Properties
Settings.settings
WpfCap
AnaglyphWebcam_demo.zip
AnaglyphEffect.ps
bin
Debug
AnaglyphWebcam.exe
Settings.settings
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

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