An open API service indexing awesome lists of open source software.

https://github.com/tomaszrewak/rotatingvoxels

In this project I use C#, Alea GPU and OpenGL.Net to create a simple, hardware-accelerated, 3d animation of rotating cubes.
https://github.com/tomaszrewak/rotatingvoxels

alea-gpu-library csharp cuda gpu opengl voxel

Last synced: about 1 year ago
JSON representation

In this project I use C#, Alea GPU and OpenGL.Net to create a simple, hardware-accelerated, 3d animation of rotating cubes.

Awesome Lists containing this project

README

          

# RotatingVoxels

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.