Commit Graph

46 Commits

Author SHA1 Message Date
Joey de Vries
c272fd263e Add assimp glm helpers. 2021-02-07 20:37:11 +01:00
Joey de Vries
90f44b65bb Update include files to add appropriate model_animation include. 2021-02-07 19:15:34 +01:00
Joey de Vries
01a2962d01 Add model and include files for Ankit's Skeletal Animation tutorial. 2021-02-07 19:11:46 +01:00
daeunSong
5e511ef621 Generate smooth normals 2020-08-19 16:20:52 +09:00
daeunSong
3c4a88761b Fix texture coordinate tangent and bitangent calculation 2020-08-13 17:53:03 +09:00
rich_b
a694c848c7 Change CMakeLists.txt to add 2d_game project, and added irrKlang to LIBS.
Added irrKlang.dll and ikpMP2.dll to dlls folder.  Added irrKlang as a
sub-folder under includes.  Added irrKlang.lib to lib folder.  At this point
running cmake gave an error it couldn't find source files under 2d_game.
Moved 2d_game source up one folder level, then cmake found the files.
2020-06-23 14:39:31 -04:00
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
3c5fd34424 Pass shader by reference on mesh/model classes. 2020-06-04 17:25:52 +02:00
Joey de Vries
e7d809b317 Readjust camera's FOV zoom code. 2020-05-17 17:06:07 +02:00
Joey de Vries
66d51ae668 Update model chapter, and add new backpack model to repo (w/ attribution mention). Also use new model on deferred source code. 2020-04-30 14:32:14 +02:00
Joey de Vries
8d8a449480 Update mesh include class to match updated Mesh chapter. 2020-04-29 15:46:23 +02:00
Joey de Vries
481d9b7957 Update Assimp lib/dll/includes. Update glfw3 lib (all 64 bit now). 2020-04-29 15:24:03 +02:00
Toni Uhlig
dcdf94fce7 fixed compiler warnings reported by gcc/clang
* changed some catch blocks to use exception references instead of value types
 * fixed missing use of SCR_WIDTH/SCR_HEIGHT for glfwCreateWindow
 * fixed implicit numeric type casts regarding signedness
 * removed unused variables

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2020-03-18 18:34:17 +01:00
James
ef18a856b8 Fixing spacing in mesh.h
This file doesn't display properly in the code viewer due to a mixture of spaces and tabs
https://learnopengl.com/code_viewer_gh.php?code=includes/learnopengl/mesh.h
2019-12-23 09:14:40 +11:00
Joey de Vries
f4b6763356 Update GLM to latest version (0.9.9.3). This includes GLM's change of matrices no longer default initializing to the identity matrix. This commit thus also includes the update of all of LearnOpenGL's code to reflect this: all matrices are now constructor-initialized to the identity matrix where relevant. 2018-12-30 14:27:14 +01:00
linesight
ce0c6dab4e fix unreferenced local variable warning 2018-09-20 01:23:38 -07:00
linesight
95a8b4dd8c fix unreferenced local variable warning 2018-09-20 00:33:58 -07:00
linesight
437ba8b08d fix unreferenced local variable warning 2018-09-12 22:24:36 -07:00
klayklogg
498fa36396 Fix some spelling mistakes in constants, comments 2018-02-23 17:07:04 +13:00
Galfatron
2178776423 decoupled assimp from mesh.h 2017-11-27 20:16:05 -08:00
Zlixine
f68f84e8d9 Much faster mesh rendering with c++11 std::to_string
Easier, Faster, More beautiful!
What do you want more.
2017-10-30 02:10:15 +02:00
Matthew Taylor
120c8c8c11 Fix OSX errors and warnings 2017-06-18 00:39:07 +01:00
Joey de Vries
30caeb3489 mesh/model header include fixes. 2017-06-16 19:11:52 +02:00
Joey de Vries
70b789d3b9 Code re-work with content: model-loading. 2017-05-31 19:02:05 +02:00
Joey de Vries
18e5fdb443 Code/content re-work: getting started. 2017-05-29 23:47:28 +02:00
Joey de Vries
5846428705 Getting started content code-rework updates. 2017-05-29 20:36:10 +02:00
Joey de Vries
bc718162b1 Another shader tab/whitespace fix. 2017-05-28 08:58:38 +02:00
Joey de Vries
d78752800f Shader tab fix. 2017-05-28 08:56:30 +02:00
Giuseppe Barbieri
745ad721bd Update shader_s.h
typo
2017-04-24 19:25:55 +02:00
Joey de Vries
919084ba39 Code re-work: shadow mapping. 2017-04-23 12:52:47 +02:00
Joey de Vries
85530ab997 Code re-work: shadow mapping. 2017-04-22 20:40:35 +02:00
Joey de Vries
02784e1edf Code re-work: model loading 2017-04-12 22:51:42 +02:00
Joey de Vries
76de32530d Add GLAD to repository. 2017-04-06 21:05:15 +02:00
Joey de Vries
c4c0588163 LearnOpenGL's header fixes. 2017-04-06 21:04:47 +02:00
Joey de Vries
fabdd1c86d Model: string comparrison fix, see issue #49. 2017-02-15 21:51:15 +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
J. de Vries
bd75a3b830 Issue #32: Removed C++ variable list initialization due to compiler conflicts. 2016-05-24 13:31:26 +02:00
J. de Vries
a4c2bb2498 Updated GLM version w/ now standard radians as angles. 2016-05-11 20:04:52 +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
a8a8d11f22 Support for out-of-source builds.
Uses environment variable to tell the program where to find resource
files.
Sharder sources are still search for in the current workind directory.
2015-07-30 21:48:41 +02: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
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
8d0df8edb8 Added new project/code files 2015-04-27 13:37:18 +02:00
zmertens
4a96cd428c modified CMakeLists and fixed includes 2015-03-31 00:02:08 -07: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