Skip to content

fangshufeng/LearnOpenGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LearnOpenGL

使用

安装一些子依赖

git clone https://github.com/fangshufeng/LearnOpenGL.git

目录如下

|-blogs
|-CMakeLists.txt
|-Glitter
|-README.md
|-Samples
cd Glitter
mkdir Vendor
cd Vendor

git clone  https://github.com/assimp/assimp.git
git clone -b c https://github.com/Dav1dde/glad.git
git clone  https://github.com/glfw/glfw.git
git clone  https://github.com/g-truc/glm.git
git clone  https://github.com/nothings/stb.git
git clone  https://github.com/bulletphysics/bullet3.git bullet

生成xcode工程

回到项目目录

cd ../..

执行下面的命令

mkdir Build
cd Build
cmake -G "Xcode" ../.

添加Source文件夹,打开任意你想运行的.cpp文件,比如16-模型加载/LoadModel.cpp

image

运行结果

笔记

记录自己学习过程中的一些心得,可以见blogs目录下

感谢

  1. Glitter
  2. LearnOpenGL CN

About

记录学习OpenGL过程中的心得

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published