Animated Textured Cube Sample

This sample constructs a 3D cube using Silverlight, applies a texture to it, and sets it up to automatically rotate according to a timer value. Silverlight 5 Beta introduces the ability to use hardware accelerated 3D graphics in your Silverlight applications. This opens up a

C# (134.8 KB)
 
 
 
 
 
(0)
3,054 times
Add to favorites
9/12/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • have error with texture
    1 Posts | Last post March 31, 2012
    • When i change image, it shows error at: graphicsDevice.DrawPrimitives(..)
      "XNA Framework Reach profile requires TextureAddressMode to be Clamp when using texture sizes that are not powers of two"
      Please help me! Thanks
  • Great Green Screen
    3 Posts | Last post August 04, 2011
    • I'm not having problems getting any of the other examples working, but this example seems to be incomplete or something. I'm just seeing a green screen when I run it. I'll try to figure out what the deal is later, but is anyone else having this issue?
    • I have the same issue with this sample, investigating...
    • It seems that you have to specify the web-project to be the startup project, otherwise Visual Studio will try to load the webpage from c:\... instead of http://...
  • Is it anything to do with the project file?
    1 Posts | Last post April 25, 2011
    • Is it anything to do with my project file:
      <ItemGroup>     <Reference Include="Microsoft.Xna.Framework.Math">       <HintPath>..\..\XNA Math Helper\Microsoft.Xna.Framework.Math.dll</HintPath>       <Private>True</Private>     </Reference>     <Reference Include="mscorlib" />     <Reference Include="System.Windows" />     <Reference Include="system" />     <Reference Include="System.Core" />     <Reference Include="System.Net" />     <Reference Include="System.Xml" />     <Reference Include="System.Windows.Browser" />   </ItemGroup>I found something about adding references in this link (but I do not understand what mine should be):
      http://www.blog.ingenuitynow.net/Workaround+For+VS+2010+Amp+Silverlight+Add+Reference+Hint+Path+Bug.aspx
      
       
      
      
      
  • Xna Framework
    1 Posts | Last post April 25, 2011
    • I am having trouble to get this and other examples working.
      I right click on the References|Add Reference|Browse and then click the Microsoft.Xna.Framework.Math.dll which I have in the same directory as my solution sln file.
      
      It has a yellow triangle next to it.
      
      How can I solve this?