le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
le3d is written in C++ and suitable for retrocoding. As such one of the design goals is to enable compilation on old compilers/toolchains. All you need is a C++98 capable compiler.
The build system being used is cmake.
Running a cmake frontend like cmake-ui (windows) or ccmake on UNIX will show you a list of noteworthy options and a short explanation.
To compile the engine follow the instructions for your target system. On a UNIX system le3d can be built like this:
This will compile the engine and the examples.
Please note that the example must be executed relative to the assets.
So to run the cube example:
A simple way to embed le3d in your project is to use cmake in your project. Then you can clone le3d into your root directory and create a CMakeLists.txt
Here is a template that gets you started:
The amiga version is targeting bebbos toolchain:
https://github.com/bebbo/amiga-gcc
Install the toolchain somewhere.
Then you have to run cmake and specify the amiga cross compile toolchain file: