Creating transparent objects in DirectX is really faily simple. All you have to do is to play with the followring renderstates: device.RenderState.SourceBlend = Blend.SourceAlpha; device.RenderState.DestinationBlend = Blend.InvSourceAlpha; device.RenderState.AlphaBlendEnable = true; When these are set all you have to do is to create a regular material with the diffuse alpha channel set to < 255. The uploaded code demonstrates a nice example of this.
File List:
@PSC_ReadMe_4211_10.txt
1Kb
AlphaTest/
0b
AlphaTest/App.ico
1Kb
AlphaTest/AssemblyInfo.cs
2Kb
AlphaTest/Camera.cs
12Kb
AlphaTest/Form1.cs
8Kb
AlphaTest/Form1.resx
10Kb
AlphaTest/FramerateCounter.cs
1Kb
AlphaTest/Test.csproj
6Kb
AlphaTest/Test.csproj.user
2Kb
AlphaTest/Test.sln
1Kb
AlphaTest/Test.suo
8Kb
AlphaTest/bin/
0b
AlphaTest/bin/Debug/
0b
AlphaTest/bin/Debug/Test.pdb
78Kb
AlphaTest/bin/Debug/Thumbs.db
24Kb
AlphaTest/bin/Release/
0b
AlphaTest/obj/
0b
AlphaTest/obj/Debug/
0b
AlphaTest/obj/Debug/Game.resources
6Kb
AlphaTest/obj/Debug/TempPE/
0b
AlphaTest/obj/Debug/Test.pdb
78Kb
AlphaTest/obj/Debug/Test.projdata
106Kb
AlphaTest/obj/Debug/temp/
0b
AlphaTest/obj/Release/
0b
AlphaTest/obj/Release/TempPE/
0b
AlphaTest/obj/Release/Test.projdata
36Kb
AlphaTest/obj/Release/temp/
0b
Similar code
Camera-Capture-Streaming-Playing
(Popularity: ) : Use any video-audio-capture-device and watch it or stream it over your LAN and connect to it using MS Mediaplayer. A 3d Shapes control
(Popularity: ) : This a custom control for adding 3d shapes to your project for example Text, Rectangle, Ellipse, Line, Circle, FillEllipse, FillRectangle etc The Control have properties like 3d style, 3d size, font, color, border, back color, fill style etc. the control ... Color Hash Code
(Popularity: ) : It allows the user to choose any color by dialog color box or by entering the hash code number for the color.