Triangle Sample 3D (Silverlight)

This sample shows the creation of a triangle as a polygon in 3D space using Silverlight 5 beta. The three vertices that comprise the triangle are assigned a position and color.If changing the shader files (*.hlsl), run the CompileShaders.bat file (with the DirectX SDK installed)

C# (50.1 KB)
3,111 times
Add to favorites
E-mail Twitter Digg Facebook