Commit Graph

46 Commits

Author SHA1 Message Date
rich_b
38749dff87 Add Freetype2 to includes and lib folders, update CMakeLists.txt to
properly build the text_rendering example as just one more project.
2020-06-23 09:59:08 -04:00
Joey de Vries
e5d75fb881 Fix texture rename on CMakeLIsts. 2020-06-03 17:07:22 +02:00
Joey de Vries
a3bf2ee860 Add first demo to repo (was still linking to old demo code). 2020-05-22 18:01:27 +02:00
Joey de Vries
ee1d0fa2d2 Fix lighting maps' 4th exercise rename compile target. 2020-05-17 18:40:49 +02:00
Joey de Vries
ceff4a43f5 Fix CMakeLists debug paths so debugging in the editor works (with correct shader paths). 2020-05-17 17:34:44 +02:00
Joey de Vries
d756ed80fa Add full source code of the finished (and revised code) Breakout example. Not set up for cross-platform compilation as it has irrKlang and FreeType dependency, but at least source code is available online (and can be referenced from Breakout chapters). 2020-04-22 15:47:23 +02:00
xuveroleg
35271459e7 fix dl link error
fixes https://github.com/JoeyDeVries/LearnOpenGL/issues/64
2018-04-24 17:28:46 +03:00
Chen Shuquan
1e2bf7104c 1. add *.vs *.fs *.gs into xcode project as source file
2. create symbolic link for *.vs *.fs *.gs: changes made in Xcode project for shader will come into effect while running the project
2018-03-03 00:36:19 +08:00
Chen Shuquan
b1ff9b1908 can run with xcode project genrated by cmake client: output binary into the same dir with resource 2018-02-28 19:48:15 +08:00
David Stutz
0cea4ab65e Fix building, using correct assimp library path, on Linux (Debian). 2018-02-14 10:32:38 +01:00
Joey de Vries
e0edef36dd Update CMakeLists for consistent paths on Linux builds. 2017-11-03 19:12:22 +01:00
dotlive
922e127d0e fix macOS load shader failed. 2017-10-19 07:28:10 +08:00
lost plesed
0cb58d04ba fix mac build failed
#82
2017-08-29 11:47:04 +08:00
Shivpratap Chauhan
95598f250a osx cmake build fixes. 2017-07-12 00:45:06 +05:30
Joey de Vries
701f4fe608 Fix build errors w/ long path name. 2017-05-26 15:07:44 +02:00
Joey de Vries
7dc79cd5fa Code re-work: parallax mapping. 2017-04-23 16:30:06 +02:00
Joey de Vries
cdcc3be029 Code re-work: advanced lighting. 2017-04-22 17:07:31 +02:00
Joey de Vries
9994831d5d Code re-work: anti-aliasing. 2017-04-20 21:30:22 +02:00
Joey de Vries
4b6b4d6377 Start code re-work Advanced OpenGL chapter. 2017-04-17 20:40:26 +02:00
Joey de Vries
4b4e0cc839 Code re-format: lighting. 2017-04-10 22:08:47 +02:00
Joey de Vries
d2a4a1e655 PBR IBL Specular tutorial code. 2017-03-31 22:34:26 +02:00
Joey de Vries
534b6ec8c9 IBL Diffuse irradiance source code. Note that these projects use stb_image.h directly, but still link with SOIL causing libray conflicts. Run these specific projects by not linking to SOIL. This will get resolved the moment all projects run on stb_image.h instead of SOIL. 2017-02-16 22:42:05 +01:00
Joey de Vries
c5b584deb9 Improved CMakeLists for clearer project setup with added library support for stb_image. 2017-01-18 21:56:31 +01:00
Joey de Vries
0a46f53608 Template PBR lighting tut with folder re-structure to fit PBR tuts. 2016-12-12 21:10:58 +01:00
Sergey Tikhomirov
ee739051cb Fix CMakeLists.txt for macOS 2016-10-18 17:31:53 +03:00
J. de Vries
4d3a93859d Issue #33: removed text rendering from repository for now. 2016-05-24 14:11:10 +02:00
J. de Vries
336df22af5 Added source code for debugging tutorials; new code_viewer directly loads from GitHub. 2016-05-11 19:43:32 +02:00
Marin Nilsson
1d2b1dae19 Out-of-source builds without environment variables.
Using CMake's configure_file command to generate a header file defining
a C string containing the path to the source root directory; the
directory where the resource folder is. Textures and models can now be
found directly as long the user doesn't move stuff around.

Shaders are still a problem.
2015-08-04 19:41:08 +02:00
Marin Nilsson
83497513eb Using CMake variables setup but find_package(GLFW3) instead of hard-coding the name. 2015-08-04 18:37:03 +02:00
zryan3
bebe39c0be refactored CMakeLists to build for Linux Mint 17.2, and removed std::sqrtf which is not apart of GCC C++ libraries apparently 2015-08-02 00:40:56 -07:00
Joey de Vries
eac76c9a50 New tutorial code
Added code of new tutorials to the repository
2015-07-15 11:48:45 +02:00
Joey de Vries
711be5ad90 new CMake with added tutorials
new CMake with added tutorials
2015-06-20 11:56:32 +02:00
Joey de Vries
c4c3221de9 Added Parallax Mapping code/resources
Added code samples and necessary texture resources for upcoming Parallax
Mapping tutorial
2015-06-04 19:59:04 +02:00
Joey de Vries
2a0a415c8f Normal mapping code
Normal mapping code for normal mapping tutorial (+ few extra's for next
tutorial)
2015-05-26 22:00:21 +02:00
Joey de Vries
f6c5ac42fc Shadow tutorials added
Added source code of shadow mapping and omnidirectional shadow mapping
tutorial.
2015-05-15 11:25:35 +02:00
Joey de Vries
231651b44f Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL 2015-04-27 13:38:11 +02:00
Joey de Vries
8d0df8edb8 Added new project/code files 2015-04-27 13:37:18 +02:00
zmertens
2193cb3fc4 fixed issue with Linux and CMake not finding resource files when launching executable and edited README for Linux more precise building instructions 2015-04-08 14:20:44 -07:00
Joey de Vries
33dba66ea1 Edited/removed comments, changes readme
Edited/removed comments, changes readme
2015-04-04 13:33:31 +02:00
zmertens
ea910a55ca changed Win32 and Unix method for copying shaders and executables 2015-04-02 13:48:28 -07:00
zmertens
80d126cfa2 added bin directory to build process to allow resources to load from exectuable 2015-04-01 19:37:41 -07:00
zmertens
38f1272107 moved Apple lib append to Apple if / else statement 2015-03-31 19:13:01 -07:00
zmertens
2098e992b2 CMake builds GLFW correctly and some changes to the layout 2015-03-31 19:01:31 -07:00
Joey de Vries
3321b60f79 CMakeList updated + Readme
Merged changes from Inner_Product s.t. makelist still works as it did
before, now with proper Linux libraries.
2015-03-31 17:00:57 +02:00
Joey de Vries
18cc43ad85 added flag
Added C++11 flag to CMakeLists thanks to Inner_Product
2015-03-30 18:00:47 +02:00
Joey de Vries
f28ad1e256 Initial commit, all code samples with working CMake script for VS/Windows. 2015-03-23 15:42:04 +01:00