Microsoft Developer Network > Samples >
Colored (Non-Textured) 3D Cube Sample (Silverlight)

Colored (Non-Textured) 3D Cube Sample (Silverlight)

This sample demonstrates how to create and automatically rotate a 3D cube whose surfaces are solid colors using Silverlight 5 beta.If you update the shader files in this sample, run the CompileShaders.bat file (with DirectX SDK installed) to recompile the shader files and see the


Select a language
 
 
 
 
 
(0)
857 times
9/12/2011
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Browse Code
Q and A (1)
Sign in to Ask a Question


  • GraphicsDevice
    2 Posts | Last Post December 20, 2011
    • I have an error:
      
      GraphicsDeviceManager.Current.GraphicsDevice is always null. what am I doing wrong?
    • Hi,
      you should allow 3D graphics acceleration on the plugin page settings. Then it works
      
      best regards