A simple 3D application that loads a .blend file and displays and allows manipulating it with SDL and OpenGL
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source
.gitignore
README.md
Rock.blend
SDL2.dll
dub.sdl
model.fs
model.vs

README.md

3ddemo

No longer maintained

First commit builds with DMD 2.076.0 but not later versions. Last commit builds with DMD 2.082.0 and might actually work, but no promises. I get an access violation error on loadSymbols() on Windows, and can't currently test on Linux. If you test and it works, let me know.

Written in D.

Dependencies

  • GFM and SDL for window/input handling.
  • assimp for asset loading.

Building

You need a D compiler to compile the program.

You can get one at dlang.org

You'll also need DUB for building.

Once all the required programs are installed,

run dub build in the root directory.

Usage

  1. Run the program
  2. Hold the mouse and move around to orbit around the model
  3. Scroll up/down to zoom in/out