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,066 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

Be the first to ask a question.