Commit Graph

62 Commits (851a26c4459d3935833a7e5c978466dacaa49a86)

Author SHA1 Message Date
Martin Felis 851a26c445 Minor cleanup 2019-04-23 23:30:36 +02:00
Martin Felis 4875e63950 Using Vector4fs for debug draw calls. 2019-04-23 11:43:57 +02:00
Martin Felis 3e6b89f22c Minor fixes, added physfs 2018-12-26 23:40:59 +01:00
Martin Felis f3715f3a87 Using Posix Signals to trigger module reload, exposing more gltf properties to the gui 2018-12-26 23:34:13 +01:00
Martin Felis 09a1b24b42 Fix issues on my laptop 2018-12-17 22:35:45 +01:00
Martin Felis 6d7bd06c2c Fix erratic camera movement when right clicking and minor cleanup. 2018-12-15 23:19:14 +01:00
Martin Felis ea7e3113f4 Fix rendering of debug bone 2018-12-15 23:00:11 +01:00
Martin Felis eb67c1deaf Switch to the docking code of dear imgui 2018-12-15 15:58:47 +01:00
Martin Felis 88898dedfc Some progress with new simple math (though still things wrong, e.g. orientation of model) 2018-10-15 21:52:43 +02:00
Martin Felis 2bd2a99f29 Using newer simplemathv2, compiles fine but crashes :/) 2018-10-13 22:23:21 +02:00
Martin Felis 09db06fbfd Working on single header simple math version 2018-09-28 09:17:22 +02:00
Martin Felis 9588ee0674 Added DebugDrawing of bones 2018-09-14 20:41:24 +02:00
Martin Felis 36dad56871 Refactored drawing of debug stuff 2018-09-14 19:41:05 +02:00
Martin Felis 8694cddcdf Clean up 2018-07-26 14:07:06 +02:00
Martin Felis aa4925b6c8 Properly computing splits for the given camera and light 2018-07-03 21:14:15 +02:00
Martin Felis 796886b717 And after a great deal of slow debugging we have deferred blinn-phong. Yayso 2018-04-10 14:08:28 +02:00
Martin Felis 532a0fa9f2 Initial work to support SSAO: rendering position and normal maps 2018-04-04 22:59:22 +02:00
Martin Felis eb189326b1 Can now draw mesh hierarchies from gltf files (no textures, not yet animated) 2018-03-28 22:21:21 +02:00
Martin Felis 07fbfb3c8c intermediate commit 2018-03-28 20:05:51 +02:00
Martin Felis 5a0d1a91e9 intermediate commit 2018-03-28 14:01:35 +02:00
Martin Felis 711b6ab7fe intermediate commit 2018-03-28 11:46:21 +02:00
Martin Felis ed18691b1a Working on gltf loading and debug gui for gltf assets 2018-03-22 23:05:45 +01:00
Martin Felis a51c1936f2 Can now load gltf models (but not display them yet) 2018-03-19 23:01:46 +01:00
Martin Felis fc58ba5513 Use a shadow2DSampler for softer shadows 2018-03-16 11:36:20 +01:00
Martin Felis f27a354226 Simple shadow mapping works - Yay 2018-03-15 11:54:00 +01:00
Martin Felis cb13324846 Working on shadow maps 2018-03-15 11:01:55 +01:00
Martin Felis ef4479ba71 Drawing of light framebuffers kind of works 2018-03-12 21:48:26 +01:00
Martin Felis 0810224356 Rendering of perspective linearized depth map kind of works now 2018-03-11 22:05:42 +01:00
Martin Felis fb3e1e7432 Cleanup, using blinn-phong 2018-03-11 17:30:56 +01:00
Martin Felis cf024f4f72 Diffuse and ambient lighting implemented 2018-03-11 11:58:50 +01:00
Martin Felis 499eba60b7 Shader reload works 2018-03-10 21:22:35 +01:00
Martin Felis c1a82427c0 Prepared reloading of shaders 2018-03-10 08:48:41 +01:00
Martin Felis 2550bb5407 Can now set index buffers and use them ... and draw a 2-size-unit cube 2018-02-28 21:36:44 +01:00
Martin Felis e2671e8de4 Fixed perspective camera gedöns 2018-02-28 21:11:51 +01:00
Martin Felis 76985c878f Can draw colored stuff using VertexArrayMeshes 2018-02-28 12:39:12 +01:00
Martin Felis 454ea72a85 Added OpenGL error logging, trying to draw colored lines... 2018-02-27 23:31:13 +01:00
Martin Felis 207094b0c8 Trying to draw a colored coordinate system ... 2018-02-27 23:15:07 +01:00
Martin Felis 39fe10ffc7 Serializing camera parameters, added Textures and default texture 2018-02-19 14:33:29 +01:00
Martin Felis 9c56d3f061 Rendering linearized depth buffer by rendering it to another RGB texture 2018-02-17 23:49:56 +01:00
Martin Felis 7bf244be37 Simplified querying of uniforms 2018-02-16 21:22:34 +01:00
Martin Felis 48c8cde66b Added projection matrices code, tweaked stuff 2018-02-16 11:35:09 +01:00
Martin Felis b5f3370570 Can render color and depth buffer 2018-02-14 13:14:10 +01:00
Martin Felis ad4d671344 Rendering frame buffer texture 2018-02-13 14:27:16 +01:00
Martin Felis b15e2f8421 rendering to a frame buffer (but not yet drawing it again) 2018-02-13 12:44:34 +01:00
Martin Felis 469fbffb8e red triangle ... yay 2018-02-13 12:05:07 +01:00
Martin Felis dc1ee2e33c Docking kind of works but overall unstable
* crashes when reloading render module
* spurious crashes on the first frame
2018-02-12 13:05:19 +01:00
Martin Felis f716a228f4 Updated bgfx, bx, and bimg 2018-02-03 17:39:28 +01:00
Martin Felis 29431abde7 Added Mesh::Transform and bounding box calculation 2017-02-26 14:26:12 +01:00
Martin Felis 6573a36c90 Split up MeshHierarchy into Skeleton and SkeletonMeshes, minor code style cleanup 2017-02-23 15:19:26 +01:00
Martin Felis d1ada7f3a4 Loading visuals data from LuaModel, added stub for capsule mesh creation, added sample model rig 2017-02-22 23:19:38 +01:00