Commit Graph
100 Commits
Author SHA1 Message Date
Dane Johnson bef0498398 Let the OS do some cleanup at the end 2021-03-08 13:54:36 -06:00
Dane Johnson 45d564bccf Encapsulate GLFW windows 2021-03-08 13:50:50 -06:00
Dane Johnson 19e5e1b959 Adjust the lighting on the box demo 2021-03-05 13:45:29 -06:00
Dane Johnson 721b9416b4 Fix scale on box demo 2021-03-05 13:41:12 -06:00
Dane Johnson 85c2474f25 Add inabox demo 2021-03-05 13:37:39 -06:00
Dane Johnson 556eb3fef7 Externalize the freecam 2021-03-05 12:03:32 -06:00
Dane Johnson de2f74af8d Update roadmap 2021-03-04 16:58:13 -06:00
Dane Johnson a0936c92a9 Point light specular intensity and shininess 2021-03-04 15:10:48 -06:00
Dane Johnson 0562cd8aea Add ambient light from point lights 2021-03-04 14:49:48 -06:00
Dane Johnson 55f293137f Add point lights 2021-03-04 14:29:48 -06:00
Dane Johnson 0a2f9ac7bf Fix light doc 2021-03-04 10:43:31 -06:00
Dane Johnson 4c6b4587c3 Directional Light get/set 2021-03-04 10:41:45 -06:00
Dane Johnson 6e19b44981 Fix the windows version (Fuck that was a trip) 2021-03-04 10:31:36 -06:00
Dane Johnson c568da15be Remove dependency cycle (build for windows is working?) 2021-03-02 15:03:55 -06:00
Dane Johnson a792d05ba1 Getters/Setters for basic lights 2021-03-02 11:48:18 -06:00
Dane Johnson 335f596393 Start working on more lights 2021-03-02 10:39:38 -06:00
Dane Johnson 6445434310 Fixup cmake files (windows build is broke :<) 2021-02-05 15:54:37 -06:00
Dane Johnson 35d18c0f16 Externalize Assimp 2021-02-05 11:22:37 -06:00
Dane Johnson d84681c23a Added collision meshes from files 2021-01-30 19:39:25 -06:00
Dane Johnson f8614f8199 Move the demos down a directory 2021-01-30 16:50:13 -06:00
Dane Johnson 2d09db9605 More roadmap updates 2021-01-30 16:49:25 -06:00
Dane Johnson 53bf12d211 Wake up physic objects when activation with code 2021-01-30 16:44:22 -06:00
Dane Johnson abbd5f4f98 Error handling in lua code 2021-01-30 15:34:27 -06:00
Dane Johnson aec78299ac Can free instanced game elements from within the game 2021-01-27 17:34:03 -06:00
Dane Johnson 3852065c95 Delete allocated memory in main 2021-01-27 16:37:23 -06:00
Dane Johnson 8a19a4af7a cfloats are just floats, no overcomplication 2021-01-27 16:17:22 -06:00
Dane Johnson eed011b898 Allow non-lua builds 2021-01-27 16:05:46 -06:00
Dane Johnson 7045b8fefd No lists 2021-01-27 15:20:25 -06:00
Dane Johnson cd0fe6f27e Mesh refactor and documentation 2021-01-27 15:15:40 -06:00
Dane Johnson 1bf1486e0a Refactor and document Rigidbody 2021-01-27 00:01:17 -06:00
Dane Johnson 2eab32ec36 Camera documentation 2021-01-26 23:32:36 -06:00
Dane Johnson d6db1c16c7 Refactor spatial, add documentation 2021-01-26 23:28:20 -06:00
Dane Johnson 62059079cd More docs 2021-01-26 22:04:57 -06:00
Dane Johnson d2b6aafce5 Build documentation 2021-01-26 16:51:27 -06:00
Dane Johnson 14ed96161d Begin refactor, add documentation 2021-01-26 16:42:28 -06:00
Dane Johnson cd20bc490d Added more collision shapes and rigidbody driving 2021-01-25 15:17:32 -06:00
Dane Johnson f27cf4bd88 Added rigid bodys 2021-01-24 22:55:36 -06:00
Dane Johnson d51528dd0f Add instancing system 2021-01-24 16:37:35 -06:00
Dane Johnson 799257bfdb Cull vertices beyond cull distance 2021-01-23 23:49:13 -06:00
Dane Johnson 651ad69c26 Fix ground overlap in demo 2021-01-23 23:39:13 -06:00
Dane Johnson d012554db9 Use correct normal matrix 2021-01-23 23:31:46 -06:00
Dane Johnson 0bc3a89e66 Initializer for a new spatial 2021-01-23 13:03:22 -06:00
Dane Johnson 59da3c088f Mesh duplication 2021-01-23 13:00:08 -06:00
Dane Johnson 5e8e7b3ce0 Correct for non uniform scale in lighting 2021-01-23 12:33:10 -06:00
Dane Johnson 5c4ac7712d Test transform parenting 2021-01-23 12:01:06 -06:00
Dane Johnson 776b297150 Skybox 2021-01-23 11:54:34 -06:00
Dane Johnson 14ddf47d0d Scene arrangement and flyby 2021-01-23 10:19:47 -06:00
Dane Johnson 91b61cd88c Barn 2021-01-22 20:32:45 -06:00
Dane Johnson fe65f7491b Black clear color 2021-01-22 20:12:15 -06:00
Dane Johnson 1d97f6d855 Import materials from files 2021-01-22 18:44:43 -06:00
Dane Johnson 1ee5ed3e88 Shader refactor 2021-01-22 15:27:32 -06:00
Dane Johnson b08552c9fa Better vertices on ball 2021-01-22 15:09:39 -06:00
Dane Johnson deec629ef4 Vertex exports all lights independently 2021-01-22 14:40:45 -06:00
Dane Johnson 950cc3ce16 Remove perspective hack 2021-01-22 14:37:32 -06:00
Dane Johnson 12add5bd20 Add a ball, use actual flat shading 2021-01-21 18:29:49 -06:00
Dane Johnson 7ebf34c3e0 Phong lighting, flat shader 2021-01-21 18:03:50 -06:00
Dane Johnson 96f1e23a54 Fix diffuse lighting 2021-01-21 15:35:21 -06:00
Dane Johnson 8fb29d389a Start work on lighting 2021-01-21 15:26:39 -06:00
Dane Johnson 43996eb2e6 More quality of life 2021-01-21 11:12:45 -06:00
Dane Johnson 6f03ed7295 Apply rotations in the correct order 2021-01-20 22:17:33 -06:00
Dane Johnson 7ac961ea42 More constants 2021-01-20 21:58:43 -06:00
Dane Johnson cf39a40f29 Scripting quality of life adjustments 2021-01-20 21:42:14 -06:00
Dane Johnson 087a75eaab Add alpha scissor 2021-01-20 20:49:12 -06:00
Dane Johnson 25c5d925fb Install couch 2021-01-20 17:37:56 -06:00
Dane Johnson 4955d77de8 Added scaling 2021-01-20 17:18:39 -06:00
Dane Johnson 391060d9ba Remove ball (meshes must be loaded from file) 2021-01-20 17:05:59 -06:00
Dane Johnson 0c9935a3c0 Materials are just structs 2021-01-20 15:16:44 -06:00
Dane Johnson 745f03d8a2 Can add models with multiple textures 2021-01-20 14:54:54 -06:00
Dane Johnson f95ba69047 Pare down assimp thirdparty library 2021-01-20 12:53:51 -06:00
Dane Johnson 68f373bf69 Some demo stuff 2021-01-20 12:50:59 -06:00
Dane Johnson 472e269b01 Added a uniform die function 2021-01-19 16:36:10 -06:00
Dane Johnson a0620bd760 Reorganize core 2021-01-19 16:16:54 -06:00
Dane Johnson ddb10abb03 Added affine texture mapping 2021-01-19 16:08:37 -06:00
Dane Johnson 2d4e162cd6 Added framebuffer to render screen to 2021-01-19 16:06:01 -06:00
Dane Johnson 22016f9d98 Fix texture filtering (should all be nearest) 2021-01-18 19:06:37 -06:00
Dane Johnson 155b572aca Model loading and texturing 2021-01-18 18:25:47 -06:00
Dane Johnson 66bf7776c7 Remove "Drawable" virtual class to simplify class hierarchy 2021-01-18 13:31:09 -06:00
Dane Johnson 0f3dbdff64 Transform shader sources to header files 2021-01-17 18:03:09 -06:00
Dane Johnson 5e8d693758 Textures and colors passed to shader via Uniforms 2021-01-17 14:36:38 -06:00
Dane Johnson e243a666f1 Add some window hints 2021-01-17 12:41:14 -06:00
Dane Johnson 95ccf7af6b Access to vector operators 2021-01-15 20:33:25 -06:00
Dane Johnson 7651923ee8 Somewhat improved wrapping 2021-01-15 17:51:19 -06:00
Dane Johnson 2a12a1f119 Added new shader types 2021-01-15 16:15:47 -06:00
Dane Johnson e99b623fec More abstraction for scripting languages 2021-01-15 15:43:32 -06:00
Dane Johnson db160c2de4 Added a quick script to build all the platforms 2021-01-15 14:49:49 -06:00
Dane Johnson 353dd07704 For the moment, builds on windows and linux 2021-01-15 14:20:25 -06:00
Dane Johnson 34c96722fe Started trying to build for windows 2021-01-14 18:31:18 -06:00
Dane Johnson 4d1f0160c1 Port to CMake 2021-01-14 14:36:37 -06:00
Dane Johnson e326f2c4ea Update roadmap 2021-01-14 12:50:20 -06:00
Dane Johnson a5a32cb4e9 Add GPL 2021-01-14 12:47:36 -06:00
Dane Johnson a3e4a0d512 Scene tree 2021-01-14 11:52:01 -06:00
Dane Johnson 35f43e9520 Mouse control 2021-01-13 22:50:01 -06:00
Dane Johnson ca8a44a017 Proper rotation 2021-01-13 21:23:22 -06:00
Dane Johnson d9a4a4bf05 Camera rotation 2021-01-13 20:50:08 -06:00
Dane Johnson e9a669eebe Rotation 2021-01-13 20:08:39 -06:00
Dane Johnson 3c652884c2 Balls can dance 2021-01-13 18:51:58 -06:00
Dane Johnson 86f6203efc lua integration 2021-01-13 16:47:16 -06:00
Dane Johnson d5788228f6 Show my square 2021-01-13 13:17:31 -06:00
Dane Johnson 41b99aa442 Drew a triangle 2021-01-13 10:42:57 -06:00
Dane Johnson 584a8654a8 Init commit 2021-01-12 14:09:38 -06:00