Light weight 3d/2d graphics rendering helper. "Engine" is not correct word for this library. It is designed as adapter from low level OpenGL API to more simple high level API. This API contains some high level concepts like scene, material, mesh, shader.. etc. whereas OpenGL API provides low level concepts like Framebuffer, vertex buffer, texture buffer and others.
Lite3d library support only OpenGL graphics API as back end for GPU operations. No sound, no physics, graphics only! One of the reason of using OpenGL API was a potential support of many OS. Windows/Linux supports now, but library may be simply ported on others platforms.
Library provides two API levels:
- Low level C API (3dlite), common graphic operations.
- High level C++ API (3dlitepp), user friendly C++ components and scripting API. (See samples for more details)
Use cmake 3.21.0 or higher. Base dependencies already provided in deps directory (except Bullet). Hovewer on windows recomended to use vcpkg build.
All intructions assume that /path/to/3dlite/ is root of the project.
$ cd /path/to/3dlite
$ mkdir build/
$ cmake --preset=Linux64_ci_gcc_release
$ cmake --build build/ --config Release
Recommended to use cmake GUI to generate Visual Studio projects on windows OR
$ cd /path/to/3dlite
$ mkdir build/
$ cmake --preset=Windows64_ci_release
$ cmake --build build/ --config Release
$ cd /path/to/3dlite
$ mkdir build/
$ cmake --preset=Linux64_vcpkg
$ cmake --build build/ --config Release
$ cd /path/to/3dlite
$ mkdir build/
$ cmake --preset=Windows64_vcpkg
$ cmake --build build/ --config Release
Or just call build_win_2022.bat
- Linux64_vcpkg_debug
- Linux64_vcpkg
- Linux64_ci_gcc_debug
- Linux64_ci_gcc_release
- Linux64_ci_clang_debug (with -fsanitize)
- Linux64_ci_clang_release
- Windows64_vcpkg_debug
- Windows64_vcpkg
- Windows64_ci_debug
- Windows64_ci_release
See here
Check branch master to fetch stable changes, and follow new releases =)
Copyright © 2014-2024 Nikita Korolev (Sirius)