A lightweight and not very usefull SDK created in the will of learning OpenGL 3.3.
- Model loading
- Orbit camera
- FPS Camera
- Multiple lights
- Terrain generation with perlin noise
- UI with imgui
- Texture loading
- Phong shader
- Object and light transformation
- Object duplication (instancing)
- Billboard (light icons in the viewport)
- Skybox
Every dependency is managed with git and cmake expect these ones:
The dependencies managed by git and cmake are the following:
On linux
# Install dependancies not managed by the repository
cmake .
make
On windows with Visual Studio 2017
-
Build assimp and glfw and add generated libs in
distant
`like sodistant ... glfw include/GLFW glfw3.h ... lib-vc2012 (just keep this one, delete the others) glfw3.lib ... assimp include/assimp ... lib assimp-vc140-mt.lib ...
You can find assimp source code here. And GLFW pre-builded libraries here.
Be sure to compile everython in x64 or in x86. You can't mix various libraries with various architertures.
- Open the folder with visual studio
- CMake > Generate cache
- Select TurtleSDK.exe
- Build and run
./TurtleSDK