Skip to content

ShamylZakariya/MarchingCubes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d2a1089 · Jul 11, 2022
Dec 28, 2021
Jun 21, 2020
Jun 23, 2020
Jan 11, 2020
Jun 17, 2020
Jun 23, 2020
Jun 11, 2020
Nov 23, 2019
Jun 4, 2020
Nov 23, 2019
Jun 23, 2020
Jun 21, 2020
Feb 29, 2020
Jul 11, 2022
Feb 29, 2020
Dec 28, 2021

Repository files navigation

MarchingCubes

Just a simple marching cubes experiment.

This started as an experiment in writing a multi-threaded marching cubes implementation, and spiralled slowly, inexoribly into an LV-426 simulator, and I couldn't be happier.

example

Building

Marching Cubes depends on libepoxy, glfw3 and glm

#linux
sudo apt-get install libepoxy-dev libglfw3-dev libglm-dev

The VSCode project depends on meson building into build

# manually
CC=clang CXX=clang++ meson setup --layout flat build

# or alternately
./setup.sh

Then you can open the project in VSCode

code .

Note, since the VSCode build task depends on build/compile_commands.json it's recommended to run meson setup build once before opening the project in VSCode.

From here, the default build task is ctrl-shift-b and debugging via F5 works as expected.

If using gcc, use (gdb) Launch, and if using clang, use (CodeLLDB) Launch. The latter requires the CodeLLDB extension to be installed.´

Running

The build specifies two targets, hello_mc which is a simple exploratory playground, and terrain which is an "infinite" procedural world.

About

Just a simple marching cubes experiment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages