- get bgfx and follow https://bkaradzic.github.io/bgfx/build.html#quick-start for your platform
- you need the two repos
bimg
andbx
next tobgfx
- inside
bgfx
run something like../bx/tools/bin/darwin/genie --with-combined-examples xcode10
(for your platform, xcode is for mac) - in the end you should run something like
make osx-release64
(or similar for your platform)
- copy the code in one of the examples (I used
bgfx/examples/05-instancing
) cd bgfx/examples/platform
and run from there the application in the build folder
- for mac you can use
../../.build/osx64_clang/bin/examples.app/Contents/MacOS/examplesRelease
Or use another visualization software of your choosing.. Qt is quite nice, but I had issues with Metal support on my Mac.