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.
- Host: GitHub
- URL: https://github.com/tomaszrewak/rotatingvoxels
- Owner: TomaszRewak
- License: mit
- Created: 2019-05-27T17:00:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-07T11:23:33.000Z (almost 7 years ago)
- Last Synced: 2025-04-01T13:43:24.448Z (about 1 year ago)
- Topics: alea-gpu-library, csharp, cuda, gpu, opengl, voxel
- Language: C#
- Homepage:
- Size: 14.9 MB
- Stars: 10
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.