Search code examples
c#animation3dcube

How to animate rotating cube in C#?


I would like to do something like this: a rotating cube on a form. I don't want to use any external library or dll, just pure .NET 3.5 (without directx). And a cube build with lines only. Could you please tell me how to do this?

I don't want to use external libraries because I don't need > 100 MB library to do this thing right? I want only to animate a rotating cube made with lines.


Solution

  • This is how you go about making a Cube in GDI+

    C# 3D Drawing with GDI+ Euler Rotation

    http://www.vcskicks.com/3d-graphics-improved.html

    C# 3D-Drawing Cube with Shading

    http://www.vcskicks.com/3d_gdiplus_drawing.html