Marchingcubesgpu

(A pretty old) Marching Cubes algorithm implementation on the GPU with DirectX 10 / C++. Heavy lifting done on the geometry shader. The first completely open-source with this combination as far as I know.
Alternatives To Marchingcubesgpu
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Directxmesh665
7 days ago11mitC++
DirectXMesh geometry processing library
Geometryfx159
4 years agomitC++
DirectX 11 library that provides convenient access to compute-based triangle filtering (CTF)
Grass.directx49
2 years ago1TeX
Realistic Grass Rendering using DirectX 11 and a geometry-shader based approach.
Quaternions Revisited26
8 years agoC++
Sample code for a 'Quaternions revisited' article from GPU Pro 5
Csharpdirectxraytracing15
3 years agomitC#
DirectX Raytracing Tutorials in CSharp
Lowspec10
3 years ago
This utility serves for lowering settings of a general DX11 application
Marchingcubesgpu9
4 years agoC++
(A pretty old) Marching Cubes algorithm implementation on the GPU with DirectX 10 / C++. Heavy lifting done on the geometry shader. The first completely open-source with this combination as far as I know.
Gltfviewer7
6 months ago12apache-2.0C++
A glTF file viewer in Directx 12
Mirage Vvvv3
6 years ago1iscC#
A plugin for physically based rendering with DirectX 11 and VVVV.
Ridged Multifractal Terrain1
4 years agoC++
DirectX 11 | Ridged-Multifractal Procedural Terrain
Alternatives To Marchingcubesgpu
Select To Compare


Alternative Project Comparisons
Readme

DirectX GPU Marching Cubes

Marching Cubes algorithm implementation with DirectX / C++. Heavy lifting done on the geometry shader.

It's an old hobby project, the code could be way cleaner :)

How to use

For now the only way to use the program is to download the project, fix DirectX SDK paths if needed, run the project and observe the results.

  • To change the precision of the resulting geometry, change the data size (height, depth, width) variables in the beginning of DirectXApp::setupVisualizationData().
  • To change how the geometry is coloured, play with the variables that are named something related to colors in the geometry shader.
  • To visualize different kinds of density data, select (comment/uncomment) one of the functions in the beginning of VolumetricData::CreateTestData(). The descriptions of the images below have the name of the function that was used to create the densities for that image in the parentheses.

Example outputs

Ugly gif of the thing live Ugly gif of the thing live

A sphere which we've distorted with coherent 3d noise (used VolumetricData::createBumpySphere()) A sphere which we've distorted with coherent 3d noise

Only coherent 3d noise (used VolumetricData::createRandomNoise()) Only coherent 3d noise

No noise, just a sphere (used VolumetricData::createSphere()) Sphere

Popular Geometry Projects
Popular Directx Projects
Popular Mathematics Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Gpu
Shaders
Geometry
Directx