Commit Graph

98 Commits (8d718eb71fc12b1374ecf36ee91bd83ca1266be7)

Author SHA1 Message Date
Martin Felis 8d718eb71f Properly resizing render target and view 2018-02-13 17:46:31 +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 18255b8b29 minor cleanup 2018-02-12 22:02:25 +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 bf5c1a5528 bgfxmod: disabled imgui dock shipped by bgfx 2018-02-03 22:46:15 +01:00
Martin Felis 412eab5dff Applied local modifications to bgfx 2018-02-03 17:41:07 +01:00
Martin Felis f716a228f4 Updated bgfx, bx, and bimg 2018-02-03 17:39:28 +01:00
Martin Felis aca4af5f6a Reactivated docks of the different modules 2017-07-06 11:28:27 +02:00
Martin Felis 7deddf3397 Fixed view transform of the docked 3D view 2017-07-06 11:13:49 +02:00
Martin Felis 663c4dc535 Getting closer to fixing ImGuizmo with docks 2017-07-03 22:34:09 +02: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 45efe57988 Started trying to integrate https://github.com/vassvik/imgui_docking_minimal 2017-06-28 16:01:19 +02:00
Martin Felis ff99c25eac Another minor refactor 2017-06-28 15:12:57 +02:00
Martin Felis 9ec3d00f5b minor rendering refactor 2017-06-28 14:50:49 +02:00
Martin Felis 73f432c266 Added CMake stuff to compile bgfx shaderc 2017-06-25 21:02:28 +02:00
Martin Felis a3d5bfcce5 Restructured code layout of shaders 2017-06-25 16:01:45 +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 ba35e909c0 Initial works for character IK 2017-04-11 14:07:11 +02:00
Martin Felis 5921b226d8 using docks now for panels, also early tests for gizmo widget 2017-04-11 12:56:09 +02:00
Martin Felis e6d12e22a2 tweaked docking so that windows do not float by default 2017-04-11 12:55:30 +02:00
Martin Felis 5fc54a04f6 ignoring more files 2017-04-11 10:57:29 +02:00
Martin Felis eb7f958bb3 another update of bgfx and added its bimg dependency 2017-04-11 09:15:27 +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 992e0fe6a2 Enabled MSAA 2017-03-26 14:19:09 +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 9f64e0ee38 Also parsing mesh rotation and translation 2017-02-26 14:50:16 +01:00
Martin Felis 66ed82ccbd Parsing mesh transform and dimension from LuaModel file 2017-02-26 14:28:08 +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
Martin Felis caf00bc3ac Added loading of model rig via LuaTables, minor code style cleanups 2017-02-22 22:44:05 +01:00
Martin Felis aee0a433e8 Added RBDL to 3rdparty, added empty rig model, used better coding style in CharacterModule 2017-02-22 21:35:14 +01:00
Martin Felis fcd44dc3b9 Properly re-initializing entity on module reload, fixed mesh merging 2017-02-22 14:50:41 +01:00
Martin Felis 28c45e05f6 Merge branch 'mesh_refactor' 2017-02-22 14:14:23 +01:00
Martin Felis 91172e2429 fixed lights. Diffuse, shadows, work, specular a bit off 2017-02-22 14:13:02 +01:00
Martin Felis 59522a9560 diffuse and specular better, but shadow maps off 2017-02-22 13:49:43 +01:00
Martin Felis 3c6752ed34 snowman now rotates around 2017-02-20 10:49:39 +01:00
Martin Felis a49290885e Tweaked debug lines (thinner, darker when occluded) 2017-02-20 10:48:59 +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 19f3ddb901 Refactored reload heuristic of modified modules
Previously I used a fixed time offset when a file change was detected.
Now I trigger a reload no module file size has changed over the last
5 updates.
2017-02-05 10:37:49 +01:00
Martin Felis 748299c155 uncommented serializer output 2017-02-05 10:36:54 +01:00
Martin Felis f25654f153 Added global logging function gLog 2017-02-05 10:36:37 +01:00