Commit Graph

141 Commits

Author SHA1 Message Date
SeanOMik db0cdf32a1
Move all Lua code to separate classes, expose most TransformComponent's methods 2022-12-05 00:42:47 -05:00
SeanOMik 51206d60d4
Create a PoC version of the scripting engine 2022-12-04 01:32:16 -05:00
SeanOMik 50c668c467
Remove unused files, update .gitignore 2022-11-26 21:43:11 -05:00
SeanOMik 181cb15599
Merge pull request #9 from SeanOMik/feature/physics
Create simple physics system
2022-11-20 13:27:44 -05:00
SeanOMik 4d0ac5448b
Merge feature/logging 2022-11-20 13:25:26 -05:00
SeanOMik 9202c10795
Fix compiler errors 2022-11-20 13:08:12 -05:00
SeanOMik 7a7c80af2e
Merge pull request #8 from SeanOMik/feature/logging
Create a logger
2022-11-20 12:56:58 -05:00
SeanOMik 118fce50fa
Fix returning null loggers 2022-11-11 17:58:10 -05:00
SeanOMik dd55b40e60
Use logger instead of std::cout/cerr 2022-11-11 00:44:41 -05:00
SeanOMik 9134d0af23
Code cleanup a tiny bit 2022-11-11 00:01:17 -05:00
SeanOMik bac1ff4a00
Add more collider components 2022-11-10 23:53:03 -05:00
SeanOMik 6577c6c45b
Get collision shapes from collider components 2022-11-10 23:34:38 -05:00
SeanOMik d75491f6ed
Changes to ECS, create simple Bullet physics system 2022-11-10 19:07:05 -05:00
SeanOMik 108382ed54
Finish writting the logger 2022-10-29 16:20:28 -04:00
SeanOMik e634a4dfce
Start working on logging 2022-10-28 18:49:29 -04:00
SeanOMik 8493e2aa86
Merge pull request #6 from SeanOMik/feature/fixed-timestep
Implement fixed timestep
2022-10-23 12:12:06 -04:00
SeanOMik ca546621f1
Move OpenGL stuff out of Game class and into the Renderer class 2022-10-18 16:36:34 -04:00
SeanOMik 1e7e9a4f9e
Increase default TPS 2022-10-16 15:42:19 -04:00
SeanOMik 0a5dc66e4c
Create input update loop with varying timestep 2022-10-16 15:23:35 -04:00
SeanOMik 4a53c24e9c
Implement transform interpolation for slower TPS than FPS 2022-10-15 23:39:20 -04:00
SeanOMik 78ef93bcf5
Start working on fixed timestep
Frame interprelation still needs to be done to make a slow TPS look smooth
2022-10-14 23:17:22 -04:00
SeanOMik ce8886ade1
Always calculate tangent space for Models 2022-10-12 23:35:39 -04:00
SeanOMik 098555453a
Change enum values 2022-10-12 23:27:14 -04:00
SeanOMik fdebcf9499
Some memory management 2022-10-12 23:18:47 -04:00
SeanOMik 4c3a2729c7
Remove use of Shader::use() by keeping track of the inuse shader program 2022-10-12 23:01:31 -04:00
SeanOMik 62321132cc
Merge pull request #2 from SeanOMik/feature/texture-maps
Feature/texture maps
2022-10-11 23:21:29 -04:00
SeanOMik 6944d0ac6d
Implement sorting blending 2022-10-11 23:16:52 -04:00
SeanOMik 19d116ef65
Redo the normal map lighting to be done in tangent space and with blinn-phong lighing 2022-10-02 11:39:07 -04:00
SeanOMik 366ab19544
Make normal maps optional 2022-09-30 17:01:14 -04:00
SeanOMik 9a3240b25f
Don't output tangents and bitangents to fragement shader 2022-09-29 19:24:32 -04:00
SeanOMik da3c56af36
Implement normal maps 2022-09-29 19:13:47 -04:00
SeanOMik dbc12e422c
Get specular maps working and make them optional 2022-09-28 21:21:47 -04:00
SeanOMik 3a61b8495e
Redo the lighting in the shaders 2022-09-28 08:04:24 -04:00
SeanOMik 7f2ff589ac
Remove tex_id from Vertexes 2022-09-27 16:22:04 -04:00
SeanOMik f2258f41c4
Remove the 3d-"batched" rendering 2022-09-27 16:14:36 -04:00
SeanOMik 1ea28a8790
Merge pull request #1 from SeanOMik/feature/ecs-and-submission-rendering
Feature/ecs and submission rendering
2022-09-27 14:43:56 -04:00
SeanOMik e0049c61ba
Calculate normals if there aren't any, texture store file path 2022-09-27 14:43:24 -04:00
SeanOMik ab09107d23
Add some simple post processing stuff for flipping model texture coords 2022-09-27 00:26:50 -04:00
SeanOMik 475bb08f0e
Optimize model texture loading, test assimp with complicated model 2022-09-26 23:43:08 -04:00
SeanOMik ab3f6c98ff
Create a simple RotatingComponent 2022-09-23 00:54:18 -04:00
SeanOMik 3b51dce796
Implement ECS with EnTT and a submission based renderer 2022-09-23 00:44:07 -04:00
SeanOMik 08bcb56a5f
Read diffuse textures from 3d models 2022-09-22 00:11:12 -04:00
SeanOMik 5a7e5cd10f
Use assimp for loading 3d models 2022-09-21 22:52:06 -04:00
SeanOMik 96ac056a5d
Fetch stb header libraries with CMake's FetchContent 2022-09-17 22:19:23 -04:00
SeanOMik ec1d6aebe7
Remove usage of SOIL2, just use stb_image.h 2022-09-17 19:41:38 -04:00
SeanOMik 2a72a30aa2
Readadd obj loading 2022-09-16 17:39:24 -04:00
SeanOMik ca6c2337d6
Create utility function for adding components to entity 2022-09-16 17:01:52 -04:00
SeanOMik 3f39e27174
Add simple EntityManager for updating entities 2022-09-16 11:50:33 -04:00
SeanOMik 04cf19d7bd
Fix rendering entities 2022-09-16 11:14:38 -04:00
SeanOMik c9dd65900b
Remove useless comment, fix formatting, etc. 2022-09-14 23:24:10 -04:00