|
|
9b5cc10c1a
|
added glm and template for a player camera
|
2022-01-20 17:04:35 +00:00 |
|
|
|
f1d0f03ae4
|
moved over to cmake
|
2022-01-12 12:17:53 +00:00 |
|
|
|
ba2f426fe0
|
Improved method of getting data file locations
|
2021-05-20 12:02:16 +01:00 |
|
|
|
928efe501c
|
The data files are now installed with the game
|
2021-05-19 18:01:52 +01:00 |
|
Warwick
|
59e32663a1
|
Texture loads
|
2021-05-18 16:39:58 +01:00 |
|
Warwick
|
a867321be7
|
Loaded image into program. (Not used yet!)
|
2021-05-18 14:18:17 +01:00 |
|
Warwick
|
31d45f5e9c
|
Added SDL2_image library to load textures
|
2021-05-18 14:04:21 +01:00 |
|
Warwick
|
59355c8540
|
Removed additional froat from colour data as it will become a 2d pos on texture soon
|
2021-05-18 13:37:06 +01:00 |
|
Warwick
|
9cac126141
|
Removed readfile function from main
|
2021-05-18 13:19:43 +01:00 |
|
Warwick
|
4ca89d3439
|
Added GLM library
|
2021-05-15 15:36:10 +01:00 |
|
Warwick
|
17196e223a
|
Minimized opengl code in main and fixed shader loader check
Used this resource to help minimiz main and fix shader loader
> https://learnopengl.com/code_viewer_gh.php?code=src/1.getting_started/3.3.shaders_class/shaders_class.cpp
> https://learnopengl.com/code_viewer_gh.php?code=includes/learnopengl/shader.h
|
2021-05-15 15:18:07 +01:00 |
|
|
|
654f4a869a
|
Almost replacedshaders in the main file
|
2021-03-25 12:16:00 +00:00 |
|
|
|
c28ca701c7
|
Added shader loading class to be completed
|
2021-03-20 16:06:34 +00:00 |
|
|
|
66226f6c62
|
Messed about with shaders to get coloured triangles
|
2021-03-15 16:58:12 +00:00 |
|
|
|
0e7bb764a6
|
First version of glsl file reader is in
|
2021-03-02 17:27:48 +00:00 |
|
|
|
ca30e9b0a7
|
Error library now logs all errors before throw
mainly done as I don't know how to fix throw for my os
|
2021-02-09 11:06:43 +00:00 |
|
|
|
8a1f700f84
|
Added error check on initialising SDL and OpenGL
|
2021-02-09 10:53:33 +00:00 |
|
|
|
dfe17164b6
|
attempting to use error management
|
2021-02-08 14:43:09 +00:00 |
|
|
|
b091a1a637
|
added error class. (need better method of class discovery)
|
2021-02-08 12:35:57 +00:00 |
|
|
|
16d54ea956
|
Now using indices to make models smaller and have a square
should have done that during my degree project lol
|
2021-02-05 16:30:47 +00:00 |
|
|
|
f0784f5225
|
Attached Shader to triangle
|
2021-02-05 16:11:36 +00:00 |
|
|
|
7d40aa29c6
|
Moved away from plain make to autotools
I'm really glad I know a bit about how to use them now with pkg-config (so
much nicer than cmake or that python like thing in my opinion)
|
2021-02-05 12:38:03 +00:00 |
|
|
|
3652cd82d4
|
We now have a triangle :D
|
2021-02-05 11:17:42 +00:00 |
|
|
|
3291732dd3
|
added gitignore and cleared opengl window
|
2021-01-21 16:33:05 +00:00 |
|
|
|
a1b4bcd546
|
moved from sdl's renderer to a gl context. (still nothing on screen)
|
2021-01-21 16:20:18 +00:00 |
|
|
|
59d7a544a8
|
added method to close sdl window.
|
2021-01-14 17:55:27 +00:00 |
|
|
|
767cdc3c63
|
Created SDL window using https://caveofprogramming.com/guest-posts/creating-a-window-with-sdl.html
|
2021-01-14 17:41:04 +00:00 |
|
|
|
26781d5e6e
|
Initial project.
|
2021-01-10 15:30:51 +00:00 |
|