Commit Graph

38 Commits (9c56d3f061072c0e8c85d7d343e5bfb91d22cea5)

Author SHA1 Message Date
Martin Felis 9c56d3f061 Rendering linearized depth buffer by rendering it to another RGB texture 2018-02-17 23:49:56 +01:00
Martin Felis 540e0d6db8 Implemente LookAt and using values from camera for near and far values for depth rendering 2018-02-16 22:06:09 +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 7ac6e36c1f rendering depth buffer 2018-02-15 09:59:38 +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 0922f482f8 Ripped away bgfx 2018-02-12 21:35:44 +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 a3f3346f3e Docking of the scene somewhat working 2017-07-02 23:26:02 +02:00
Martin Felis a47adeaa20 Initial integration of docking that saves layout and does not crash 2017-07-02 20:18:34 +02:00
Martin Felis 9ec3d00f5b minor rendering refactor 2017-06-28 14:50:49 +02:00
Martin Felis 455f59c4e1 intermediate commit 2017-06-25 15:21:45 +02:00
Martin Felis 94affb09da Refactored IK, added gizmo to edit IK target, disabled IK for now 2017-05-07 11:36:24 +02:00
Martin Felis 86f4b2d751 Updated bgfx and bx 2017-04-11 08:16:34 +02:00
Martin Felis 39cd8bde19 Merge branch 'master' into docking 2017-03-26 14:19:21 +02:00
Martin Felis 203c380609 Added basic walk animation controller
- Added sampling of animations
- Added updating of bone matrices from rig model
- Re-orienting of the entity based on current velocity
2017-03-11 22:16: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 d994949b02 Refactored meshes. Now we can merge them 2017-02-18 17:38:21 +01:00
Martin Felis 2f874b6d0d Initial tests to get docking working 2017-02-18 17:22:21 +01:00
Martin Felis e0e57a2b4f Imgui updates now controlled from main.cc instead of render module 2017-02-05 14:37:58 +01:00
Martin Felis 7ce0b3c000 Added debugDrawCircle and refactored debugDrawSphere 2017-01-22 20:51:12 +01:00
Martin Felis 3e7c7d3acd Refactored line rendering, occluded lines are now dotted, added debug spheres 2017-01-21 23:22:32 +01:00
Martin Felis 4deba61a09 Fixed shadow maps for MeshHierarchies, radius can be specfied when creating sphere meshes 2017-01-14 14:40:21 +01:00
Martin Felis b5141c3b6a Added Google Test, a Transform struct with tests, and a basic mesh hierarchy 2017-01-03 22:47:17 +01:00
Martin Felis ccf8ae71ef Drawing of debug lines using new line rendering seems to work 2016-12-22 23:20:03 +01:00
Martin Felis 0844762eaa First prototype of new line rendering 2016-12-19 22:15:29 +01:00
Martin Felis e88ea62139 Added live reloading of shaders 2016-12-17 23:04:50 +01:00
Martin Felis 273a8e010f fixed lighting. The ball is be-au-ti-ful 2016-11-30 22:11:08 +01:00
Martin Felis ef89ac43fc properly freeing debug draw buffers, added drawing of axes 2016-11-28 21:29:19 +01:00
Martin Felis 61d82c26c3 Added drawing of debug lines 2016-11-27 22:02:17 +01:00
Martin Felis 5be914a99e Added somewhat tedious (but fun) serialization 2016-11-20 21:50:53 +01:00
Martin Felis f01edbea34 Tweaked shadow mapping params 2016-11-10 21:29:47 +01:00
Martin Felis 466e94a939 Added generation of sphere mesh and initial character state 2016-11-06 22:30:09 +01:00
Martin Felis 65a2767c02 intermediate commit. Kinda works with reloading both modules 2016-10-21 22:07:23 +02:00
Martin Felis 2b99174d34 Moved renderer to separate module, moved modules to src/modules 2016-09-23 09:06:46 +02:00