Commit graph

  • 517f8b2d6c Deleted unused fast noise and added method of installing newer assimp master Warwick 2023-03-21 15:23:05 +0000
  • 268fbd91a6 Translated polygoniseation code to c++ now to create method of drawing. feature/terrain-generation Warwick 2022-08-31 14:12:11 +0100
  • 0afb8e5ad2 Added MC Tri and edge data to Chunk Mesh builder. Warwick 2022-08-30 15:23:43 +0100
  • 566b6ca064 Added a class with the purpose of creating the chunks base terrain. Warwick 2022-08-30 15:05:45 +0100
  • 0b62550f54 Using models seems to be harder than just generating the chunk manually. So to make this possible and less tedious and time consuming I'm now going to move to place models on top of a marching cube terrain using a triangulation table. Warwick 2022-08-30 14:04:50 +0100
  • 5ece3c455f Merge branch 'feature/terrain-generation' of warwicknew.xyz:game into feature/terrain-generation Warwick 2022-08-22 17:07:44 +0100
  • 90897a5698 Added world rotation and started filling mc map Warwick 2022-08-22 16:38:48 +0100
  • 40bbbf07f6 Added world rotation and started filling mc map Warwick 2022-08-22 16:38:48 +0100
  • d328edd169 Created table to contain model transform data Warwick 2022-08-19 14:56:11 +0100
  • 6a3b02dc9d Added some debug tools so I'm ready to start filling in the marching cube table. Warwick 2022-08-18 11:51:41 +0100
  • 01121fe526 Added method of getting cube's index Warwick 2022-08-15 12:08:54 +0100
  • bb349e9994 Loaded all marching cube models into marching cube renderer. Warwick 2022-08-15 11:33:16 +0100
  • 8a699ae422 Fixed resizing of models. Warwick 2022-08-12 12:37:01 +0100
  • 73346ebab9 Added one of the models though resizing doesn't seem to be working rn Warwick 2022-08-11 16:40:48 +0100
  • 592a9febbd Rendering models based on noise values. Warwick 2022-08-11 14:59:27 +0100
  • a0a0861723 Added the ability to set the position of a model. Warwick 2022-08-11 13:50:39 +0100
  • 28cd790e31 Added the OOP infastructure to work on rendering chunks. Warwick 2022-08-10 16:13:32 +0100
  • 38b1d8c92e Offloaded the terrain work into a chunk object so we can manage spaces in chunks in the future. Warwick 2022-08-09 15:10:30 +0100
  • 9fa18286cb Generated first chunk of terrain data. Warwick 2022-08-09 13:41:55 +0100
  • 5c135950e0 Added FastNoise2 as a dependency. Warwick 2022-08-09 12:28:24 +0100
  • f587950771 Added subrepo for model development and ReadMe file. Warwick 2022-08-08 16:23:13 +0100
  • 0cbcc1f094 Cleaned up shader code and removed now incompatible models. feature/normal-mapping Warwick 2022-08-03 13:48:58 +0100
  • d4f5f8eb50 We have normal maps working wew. Now I just need to clean up the code. Warwick 2022-08-02 15:13:07 +0100
  • 157adf0dfa Normal is now mapped correctly but the light's position is in the wrong position Warwick 2022-07-29 13:21:07 +0100
  • b1c966b47d Adding a limit to the number of primitves exiting my geometry shader stops the shape from breaking... Warwick 2022-07-29 13:01:01 +0100
  • ecf7929152 I think I'm close to inserting and using the TBN correctly. Warwick 2022-07-27 16:31:38 +0100
  • 5b1aba34df Added geometry shader to pipeline so I can calculate normal data on the GPU Warwick 2022-07-27 14:30:24 +0100
  • 532382b1f9 not correct way of using normal maps but gives me some preliminary info. Warwick 2022-07-26 15:25:28 +0100
  • 2eabd78ed5 Changed how we track a models position. Warwick 2022-07-26 11:33:33 +0100
  • 811e949def Fixed pbr issue by re reading and implementing https://learnopengl.com/PBR/Lighting Warwick 2022-07-25 14:00:19 +0100
  • cd382435a8 Added method to load normal maps and moved pbr to it's own function Warwick 2022-07-25 13:43:58 +0100
  • 2cd954dc9a PBR is now implemented pbr Warwick 2022-07-25 13:22:42 +0100
  • 4ee8d24f18 Added roughness Warwick 2022-07-25 10:56:58 +0100
  • 58eb18354c Got metal to work Warwick 2022-07-22 15:02:42 +0100
  • 3d3aaa3c3c Solved multiple texture loading problem. Warwick 2022-07-20 16:30:40 +0100
  • 40f12dd510 Added the ability to use renderdoc and warn when uniforms unavailable Warwick 2022-07-20 16:26:40 +0100
  • 1e5544ce1f Almost got metallisism working I just don't know what's up with the textures again. Warwick 2022-07-19 14:58:02 +0100
  • 7e3a7f0df7 Added assimp version requirement as default debian version doesn't support pbr by defualt Warwick 2022-07-18 15:41:49 +0100
  • 187936bea6 Added time variable to shader to see difference in different values Warwick 2022-07-18 14:36:08 +0100
  • a0819a4e98 Added the camera position and the models position to pbr shader Warwick 2022-07-18 14:17:08 +0100
  • b4fda4612c Re-rendered same scene with hard coded values pbr code from https://learnopengl.com/PBR/Lighting Warwick 2022-06-16 15:02:10 +0100
  • 3700494d84 Rotation added to model (whole system is currently dirty) Warwick 2022-06-16 14:23:12 +0100
  • 1f6079dd25 added ability to resize models so I don't have to tinker with gun model. Warwick 2022-06-16 14:04:18 +0100
  • 8ef9ef72ca Added pbr compatible model to be rendered Warwick 2022-06-16 13:36:48 +0100
  • a89a5745ea Fixed camera looking at last frame's forward target. Warwick 2022-06-14 15:01:27 +0100
  • cf964bf235 Unload textures when model is deleted, and remove warnings. Warwick 2022-06-14 14:34:30 +0100
  • a91fc3d57d Added diffuse lighting Warwick 2022-06-13 14:07:55 +0100
  • 16dd10f252 Allowed user to quite the program with the escape key. Warwick 2022-06-13 13:23:03 +0100
  • 9e5514e5ba Fixed the texture issue. The texture was upside down. load-model Warwick 2022-06-09 15:01:30 +0100
  • 3dd235397a Actually added textures to loaded texture buffer so we can skip loading already loaded texetures. Warwick 2022-06-09 13:47:55 +0100
  • 18a785613d The engine can now import models with textures but bugs. Warwick 2022-05-31 14:43:44 +0100
  • a33ff9d029 Added test cube for model loading, discovered vertices are alright it appears to be an issue with the textures. Warwick 2022-05-17 15:07:40 +0100
  • 037233ddf2 fixed filename issue, (WARNING next bug may brick machine) Warwick 2022-04-29 16:40:03 +0100
  • 685aafd45f Fixed being stuck in an infinite loop whilst loading model indecies Warwick 2022-04-29 16:28:16 +0100
  • 753ec9c857 Attempted to follow this tutorial to add model loading. Warwick 2022-04-29 15:03:35 +0100
  • 644ac26403 Imported tool for loading models Warwick 2022-04-29 12:09:25 +0100
  • 5c96f8b90d Enabled face culling Warwick 2022-04-29 11:27:32 +0100
  • fd0acf3dde Models now heve their own relative position (needs optimiseation) Warwick 2022-04-22 12:43:51 +0100
  • 9fcc98fdf4 Added model class with the ability to hold multiple models. Warwick 2022-04-21 14:15:02 +0100
  • 1b82ef0556 Enabled GL Deph buffor so things render in correct order. Warwick 2022-04-21 13:36:46 +0100
  • 53da829dbe Made the project work on default debian libraries (still clang only) Warwick 2022-02-23 12:54:04 +0000
  • bd85989d95
    We can now render multiple meshes. Warwick 2022-02-22 17:41:12 +0000
  • 65e7447fe3
    Added mesh class (unfinished) Warwick 2022-02-22 14:42:07 +0000
  • f42740d8cc
    Allow the game to be run from any directory Warwick 2022-02-14 15:58:25 +0000
  • 5811e13f55
    FInally have a working camera in the engine that can be controlled via both keyboard and mouse Warwick 2022-02-03 16:55:48 +0000
  • 8539780043
    Using a different set of maths to manipulate the camera Warwick 2022-02-03 16:16:32 +0000
  • 19ad21dd7e
    I dunno why it doesn't work currently be we should have a working camera Warwick 2022-01-27 15:30:40 +0000
  • f364da6272
    Finally shifted the camera. Now to move it to the camera class. Warwick 2022-01-24 15:18:44 +0000
  • a1e52621b8
    Everything required for a mouse driven look is in the program just troubleshooting now camera Warwick 2022-01-20 17:05:06 +0000
  • 9b5cc10c1a
    added glm and template for a player camera Warwick 2022-01-12 15:43:10 +0000
  • c377630e17
    added glm and template for a player camera Warwick 2022-01-12 15:43:10 +0000
  • f1d0f03ae4
    moved over to cmake Warwick 2022-01-12 12:17:53 +0000
  • ba2f426fe0 Improved method of getting data file locations Warwick 2021-05-20 11:30:39 +0100
  • 928efe501c The data files are now installed with the game Warwick 2021-05-19 17:45:36 +0100
  • 59e32663a1 Texture loads Warwick 2021-05-18 15:25:43 +0100
  • a867321be7 Loaded image into program. (Not used yet!) Warwick 2021-05-18 14:18:17 +0100
  • 31d45f5e9c Added SDL2_image library to load textures Warwick 2021-05-18 14:04:21 +0100
  • 59355c8540 Removed additional froat from colour data as it will become a 2d pos on texture soon Warwick 2021-05-18 13:32:45 +0100
  • 9cac126141 Removed readfile function from main Warwick 2021-05-18 13:19:43 +0100
  • 4ca89d3439 Added GLM library Warwick 2021-05-15 15:36:10 +0100
  • 17196e223a Minimized opengl code in main and fixed shader loader check Warwick 2021-05-15 15:18:07 +0100
  • 43a9a72509 Created a windows Cmake build of the engine. windows Warwick 2021-04-13 14:33:26 +0100
  • 654f4a869a Almost replacedshaders in the main file Warwick 2021-03-25 12:16:00 +0000
  • c28ca701c7 Added shader loading class to be completed Warwick 2021-03-20 16:06:34 +0000
  • 66226f6c62 Messed about with shaders to get coloured triangles Warwick 2021-03-15 16:58:12 +0000
  • 0e7bb764a6 First version of glsl file reader is in Warwick 2021-03-02 17:25:37 +0000
  • ca30e9b0a7 Error library now logs all errors before throw Warwick 2021-02-09 11:06:43 +0000
  • 8a1f700f84 Added error check on initialising SDL and OpenGL Warwick 2021-02-09 10:53:33 +0000
  • dfe17164b6 attempting to use error management Warwick 2021-02-08 14:43:09 +0000
  • b091a1a637 added error class. (need better method of class discovery) Warwick 2021-02-08 12:35:57 +0000
  • 16d54ea956 Now using indices to make models smaller and have a square Warwick 2021-02-05 16:30:47 +0000
  • f0784f5225 Attached Shader to triangle Warwick 2021-02-05 15:58:57 +0000
  • 7d40aa29c6 Moved away from plain make to autotools Warwick 2021-02-05 12:12:51 +0000
  • 3652cd82d4 We now have a triangle :D Warwick 2021-01-26 16:38:56 +0000
  • 3291732dd3 added gitignore and cleared opengl window Warwick 2021-01-21 16:33:05 +0000
  • a1b4bcd546 moved from sdl's renderer to a gl context. (still nothing on screen) Warwick 2021-01-21 16:20:18 +0000
  • 59d7a544a8 added method to close sdl window. Warwick 2021-01-14 17:55:27 +0000
  • 767cdc3c63 Created SDL window using https://caveofprogramming.com/guest-posts/creating-a-window-with-sdl.html Warwick 2021-01-14 17:41:04 +0000
  • 26781d5e6e Initial project. Warwick 2021-01-10 15:30:51 +0000