Commit Graph
92 Commits
Author SHA1 Message Date
grayson b4c704f5ec Basic physics with boxes 2021-10-25 00:40:44 -05:00
grayson 1d97a6f543 Moved the example game's assets 2021-10-21 13:01:40 -05:00
grayson 0559415e5b Added Ogg Vorbis support 2021-10-21 01:42:50 -05:00
grayson cdea6c4b64 Added compression to asset packs 2021-10-18 14:13:53 -05:00
grayson c30f159429 3D sound now updates in realtime 2021-10-15 14:24:08 -05:00
grayson 98d093c285 Fixed lib directory 2021-10-07 13:27:45 -05:00
grayson f9b6f7b46c Fixed intro 2021-10-06 13:24:29 -05:00
grayson d2604e9edc Switched to x64 and added basic 3D sound 2021-10-06 07:46:42 -05:00
grayson f422d1d138 Added instanced drawing to the GBuffer 2021-10-01 14:16:47 -05:00
grayson ba19742bfe Models now draw in a single draw call 2021-10-01 01:21:27 -05:00
grayson 037ad47468 Normal maps now work as expected 2021-09-28 13:51:48 -05:00
grayson bf2c02e240 Fixed crash; Added dev screenshot; Added dependencies into repository 2021-09-27 23:00:04 -05:00
grayson bf649f5d9f Finished deferred renderer for now 2021-09-27 14:13:36 -05:00
grayson be4df5c853 Completed a simple gBuffer 2021-09-24 13:16:20 -05:00
grayson 4d4b6d51ae Started work on GBuffer and the gBuffer shader 2021-09-23 08:02:36 -05:00
grayson 2fc9fa0c2d The mouse now starts tracking only when state loading is complete 2021-09-17 00:00:11 -05:00
grayson 6daa9d8d25 Added gamma correction, Blinn-Phong shading, and normal map support 2021-09-16 14:05:42 -05:00
grayson e7cd6d8132 Added Sound; Only supports WAV for now 2021-09-16 02:04:18 -05:00
grayson 1a8320feab Added basic shadows to point lights; Better than directional shadows 2021-09-13 23:45:42 -05:00
grayson 4b14362a04 Fixed intro gamestate 2021-09-13 08:20:12 -05:00
grayson d74035fc64 Added basic shadows to directional lights; Probably needs to be refined 2021-09-13 02:37:49 -05:00
grayson b007d3f18e Removed the 100 light limit 2021-09-12 20:18:56 -05:00
grayson 0105eeb075 Added 11th dev screenshot 2021-09-11 18:15:40 -05:00
grayson 30e725b2f4 Added the example application; Added the default window icon 2021-09-11 17:39:18 -05:00
grayson 805a1cef1f Added clickable buttons; Custom button textures can be specified; Added default cubemap 2021-09-11 15:33:56 -05:00
grayson cd41123beb Multiple assets with the same name cannot be added to packs 2021-09-10 13:00:14 -05:00
grayson 8bb59e7b6c Input can now deduce pressing and holding keys 2021-09-10 12:35:19 -05:00
grayson 39e0c8e808 Added the materials system; Any model can have any number of materials with different textures and properties 2021-09-09 23:18:42 -05:00
grayson 70318b28fd Fixed another FPS issue 2021-09-08 02:21:15 -05:00
grayson 2d3b3653ff Reworked gamestates to reset NF objects when exiting states; Intro state + fading is now based on delta time 2021-09-08 02:09:20 -05:00
grayson 6e3a576fef No longer need to specify an application when creating a game state 2021-09-07 22:35:44 -05:00
grayson b1efc4934e Added 9th dev screenshot 2021-09-07 11:58:13 -05:00
grayson da2224e7e9 Fixed last commit 2021-09-07 01:13:16 -05:00
grayson 7ea56370d6 Added fading between states 2021-09-07 01:08:37 -05:00
grayson c78abf303e Added test cubemap and updated notes 2021-09-06 11:34:05 -05:00
grayson cdcd8a1994 Set up the intro gamestate; Added opacity and scale controls to UI elements 2021-09-06 03:01:11 -05:00
grayson 9158de2f39 Added Cubemap 2021-09-06 01:06:47 -05:00
grayson f749b29c31 Added directional light type 2021-09-04 20:59:27 -05:00
grayson 5c10fdc1a4 Added basic shading and support for up to 100 lights of any color; By default now, states with no lights are dark 2021-09-04 15:51:03 -05:00
grayson dff0d86558 Added UITexture and font caching 2021-09-02 02:21:27 -05:00
grayson 2af54c4d9e Added fourth dev screenshot 2021-09-01 19:20:42 -05:00
grayson 65fd8e89bb Added UIElement and Text; Custom fonts are supported 2021-09-01 19:17:24 -05:00
grayson c0f7634b5f Moved over from Win32 resources to purely nfpack; Included primitives and default shader in base.nfpack; Camera fixes 2021-09-01 13:08:21 -05:00
grayson 48821afd76 Added Camera and first-person and UI camera types; Added mouse tracking to aid this 2021-09-01 02:04:44 -05:00
grayson d628bbb184 Reworked frame timing again; Reworked input 2021-08-30 23:52:26 -05:00
grayson 9fcd8240e4 Added asset loading and OBJ parsing, including indexing 2021-08-30 21:26:06 -05:00
grayson 086f8a1670 Added custom clean event 2021-08-29 01:46:33 -05:00
grayson 995cd5e80a Wrote the asset pack creator; Encryption no longer needs to be specified in readFile 2021-08-29 01:02:37 -05:00
grayson 29b3f8627e Added AssetPack and basic assets 2021-08-27 22:37:02 -05:00
grayson 933d3f1fe9 Added Texture 2021-08-27 17:41:45 -05:00
grayson 4f1ea8327a Added projection matrix; Now 3D 2021-08-27 12:57:30 -05:00
grayson bd8df1c2cf Removed completed tasks 2021-08-27 01:22:36 -05:00
grayson dd4071c29e Added default shader 2021-08-27 01:18:39 -05:00
grayson 5d32976869 Added Entity and transformations with GLM; Minor changes 2021-08-27 01:10:32 -05:00
grayson bc5c17ebfb Added basic file encryption to writeFile and readFile; Minor changes 2021-08-26 13:17:29 -05:00
grayson d74f808a17 Added Model and default shader; Organization 2021-08-26 00:23:56 -05:00
grayson 1c638bdcb9 Added two render layers and the basic rendering pipeline; Fixed fullscreen graphics; No shader re-binding 2021-08-25 02:59:04 -05:00
grayson e35688373e Rewrote Gamestate to be a class instead of an interface; Added layers 2021-08-25 02:58:25 -05:00
grayson 2f4e0ebfac Added Drawable, rewrote changing states, and organized class definitions and macros 2021-08-24 12:31:15 -05:00
grayson 1f6bb4630c Minor changes 2021-08-24 11:09:07 -05:00
grayson e17d2e283a Rewrote VertexArray to support multiple VBOs; Minor fixes and organization 2021-08-24 01:26:10 -05:00
grayson f75f98d9db Misc. fixes 2021-08-23 14:25:38 -05:00
grayson 5c6dcaf634 Added sleep on input thread to further reduce CPU usage 2021-08-23 11:16:03 -05:00
grayson e238e35bb2 Refactored game loop to use less CPU 2021-08-23 01:13:53 -05:00
grayson c3dd5a22b1 Added first dev screenshot 2021-08-22 22:22:27 -05:00
grayson a9106ee20e Added Shader 2021-08-22 21:40:50 -05:00
grayson 0724c6a84a Added VertexArray 2021-08-22 03:16:54 -05:00
grayson 99404714e8 Removed debugging directives 2021-08-20 14:09:37 -05:00
grayson f6ffb9f87e Started work on the Renderer and added directory-creating functionality to writeFile 2021-08-20 14:06:03 -05:00
grayson 11dc2deb2f Minor updates 2021-08-20 01:47:56 -05:00
grayson 22deb5a7ad Added readFile and writeFile utility functions and changeConfig member function 2021-08-19 16:08:26 -05:00
grayson 9bfbfb637b Fixed threading bug and rewrote syntax of addState 2021-08-19 11:25:03 -05:00
grayson a21c24040d Added keyboard and mouse input 2021-08-19 00:48:33 -05:00
grayson 95426b9205 Fixed FPS timing issue 2021-08-18 22:46:14 -05:00
grayson 5bfcb1f163 Divided engine into two threads 2021-08-18 22:23:01 -05:00
grayson 61768b00f9 Updated quit procedure 2021-08-18 21:32:55 -05:00
grayson 15c732be38 Added NatVis file 2021-08-18 20:32:56 -05:00
grayson cd205d241b Tidied up code and fixed an Alt-Enter bug 2021-08-18 17:25:23 -05:00
grayson ea9c4054bd Tested state changing 2021-08-18 14:26:12 -05:00
grayson e8bc0903e6 Added state changing 2021-08-18 13:54:06 -05:00
grayson c63fd0ec88 Added single instance lock and release error system 2021-08-18 12:22:57 -05:00
grayson c3599ed150 Added check for default gamestate 2021-08-17 14:26:01 -05:00
grayson e540c19860 Added default gamestate and gamestate vectors; Minor fixes and refacorings 2021-08-17 14:07:59 -05:00
grayson b1f6a2b317 Updated notes 2021-08-16 23:45:56 -05:00
grayson 94c503f098 Added Gamestate class 2021-08-16 14:24:36 -05:00
grayson efeec66fad Added FPS cap, added Optimus support, and removed showWindow requirement 2021-08-16 14:07:20 -05:00
grayson 2eb8d55a1c Created OpenGL context 2021-08-15 01:22:35 -05:00
grayson 8e4ed26755 Window Procedure work and Alt-Enter fullscreen toggle 2021-08-14 19:56:23 -05:00
grayson 5777478858 Finished debug logger for now; Started work on the main window and fullscreen functionality 2021-08-14 15:48:52 -05:00
grayson 41d043726c Started work on the debug logger 2021-08-13 15:15:58 -05:00
grayson 9094f8c50c Created solution structure 2021-08-13 13:49:47 -05:00
grayson 52f9d1c1e4 Initial commit 2021-08-13 13:14:56 -05:00