Metaballs

metaballs_blue.png

Mostly due to time constraints, I have chosen XNA and C# for most of my recent works. This project is an opportunity for me to use C++ on a game related project, while focusing on code quality and performance.

Metaballs are best described as the iso surface of a scalar field. I'm currently implementing the marching cubes algorithm to generate the surface mesh in real time.

This project has gone through numerous iterations. I have rewrote my code for the use of SIMD calculations. I focused on the memory layout of the data, using structure of arrays, aligned allocation and batched computations.

Framework:

  • C++
  • DirectX 10
  • SIMD instructions

Code samples:


Download:

The links belows are works in progress:

Media:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License