GithubHelp home page GithubHelp logo

learnopengl's Introduction

LearnOpenGL

File structure should be:
./LearnOpenGL/ (this repo)
./include/
./lib/
./3dModels/
As outlined in the project settings
(in VS: Project->Properties->VC++ Directories and Project->Properties->Linker->Input)

OpenGL 3.3
https://learnopengl.com/

Dependencies

Notes are provided for manual building with CMake and Visual Studio.

https://github.com/glfw

  • compile with CMake, build with Visual Studio
  • put glfw3.lib in the ./lib/ foler
  • put glfw3.h and glfw3native.h in the ./include/GLFW/ folder (if it doesn't exist then make it)

https://github.com/Dav1dde/glad/tree/master

  • If the webservice is unavailable, Compile with CMake, build with Visual Studio
  • If the webservice is availaible, "make sure the language is set to C++, and in the API section select an OpenGL version of at least 3.3 (which is what we'll be using; higher versions are fine as well). Also make sure the profile is set to Core and that the Generate a loader option is ticked... and click Generate to produce the resulting library files."
  • put the glad/ and KHR/ include folders in the ./include/ folder
  • put glad.c into the ./LearnOpenGL/src/ folder if it doesn't already exist.
  • Make sure you choose glad 1 not glad 2

https://freetype.org/ (freetype2)

  • go into builds/windows/vc2010/freetype.sln and build freetype.sln
  • put the [freetype]/include/freetype/ folder in the project ./include/ folder
  • put ft2build.h in the ./include/ folder
  • "Due to how FreeType is developed (at least at the time of this writing), you cannot put their header files in a new directory; they should be located at the root of your include directories."
  • put freetype.lib in the ./lib/ folder

https://github.com/assimp/assimp/blob/master/Build.md

  • put the raw includes/assimp/ (the folder with all of the header .hpp files) folder in in the ./includes/ folder
  • compile with CMake, build with Visual Studio
  • put assimp-vc143-mtd.lib in the ./lib/ folder
  • put assimp-vc143-mtd.dll in the ./LearnOpenGL/ folder
  • put copy the assimp/ includes folder into the ./include/ directory (should be ./include/assimp/)

https://glm.g-truc.net/0.9.9/

  • do not build
  • put glm/glm/ (the folder with all of the header .hpp files) into ./include/

3d Models

https://learnopengl.com/data/models/backpack.zip

  • put contents in ./3dModels/backpack/

https://github.com/superg3m/LearningOpenGL/blob/master/Resources/Neon.fbx

  • put in ./3dModels/Neon/ (create folder)

learnopengl's People

Contributors

kylekrause3 avatar

Stargazers

Jovanni D avatar Andrew Male avatar

Watchers

 avatar

Forkers

superg3m

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.