Languages Visual Basic & VB.NET .Net Graphics/ Sound  

Alpha blended 3D objects

download download  
important code information
author:
Morten Kvistgaard
minimum requirements:
Alpha blended 3D objects description

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.txt1Kb
AlphaTest/0b
AlphaTest/App.ico1Kb
AlphaTest/AssemblyInfo.cs2Kb
AlphaTest/Camera.cs12Kb
AlphaTest/Form1.cs8Kb
AlphaTest/Form1.resx10Kb
AlphaTest/FramerateCounter.cs1Kb
AlphaTest/Test.csproj6Kb
AlphaTest/Test.csproj.user2Kb
AlphaTest/Test.sln1Kb
AlphaTest/Test.suo8Kb
AlphaTest/bin/0b
AlphaTest/bin/Debug/0b
AlphaTest/bin/Debug/Test.pdb78Kb
AlphaTest/bin/Debug/Thumbs.db24Kb
AlphaTest/bin/Release/0b
AlphaTest/obj/0b
AlphaTest/obj/Debug/0b
AlphaTest/obj/Debug/Game.resources6Kb
AlphaTest/obj/Debug/TempPE/0b
AlphaTest/obj/Debug/Test.pdb78Kb
AlphaTest/obj/Debug/Test.projdata106Kb
AlphaTest/obj/Debug/temp/0b
AlphaTest/obj/Release/0b
AlphaTest/obj/Release/TempPE/0b
AlphaTest/obj/Release/Test.projdata36Kb
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.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 67
version
size in Kb 83
popularity   849/7913374
user rating 3/10
ad


New Code
Popular Code