Skip to content

A not very usefull project written in the will to learn OpenGL

Notifications You must be signed in to change notification settings

oktomus/TurtleSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurtleSDK

Documentation

A lightweight and not very usefull SDK created in the will of learning OpenGL 3.3.

App looks when you open it App looks when you open it After implementing normal calculation App with some tweaks Some wireframe terrain

Features

  • 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

Dependencies

Every dependency is managed with git and cmake expect these ones:

  • Opengl 3.3 at least
  • Python 2.7 or newer (required by gl3w)
  • Assimp
  • glfw

The dependencies managed by git and cmake are the following:

Compile it

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 so

    distant ... 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.

Assimp lib files

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

Run it

./TurtleSDK

About

A not very usefull project written in the will to learn OpenGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published