In this project I've used C# combined with Alea GPU and OpenGL.Net to create a simple, hardware-accelerated, 3d animation of rotating cubes. (More details cen be found here: https://www.youtube.com/watch?v=oOUW2xM0GMM)
The premise here is simple. I take a 3d object, voxelize it (describe it in terms of a homogenous grid) and transform each voxel (each grid cell) into a visual cube.
On a more technical level:
- the voxelization is a preprocessing stage,
- generated voxel space is transformed each frame using an updated transformation matrix (this step is done in CUDA)
- OpenGL and its instantiating mechanism takes care of displaying all of the cubes in the real time.