Commit Graph

121 Commits (69471bba848fb516f15c46251a75cd5db96e2bef)

Author SHA1 Message Date
Martin Felis 69471bba84 Using TextureRef for submitting the scene render to ImGui::Image() 2018-03-09 16:16:39 +01:00
Martin Felis d6ac057ce9 (De-)serialization of dock state works 2018-03-04 21:10:57 +01:00
Martin Felis 5cacee03c1 New docks are now automatically added as tabs 2018-03-04 12:31:05 +01:00
Martin Felis 85c0b2cf42 Merge branch 'opengl3' of ssh://i13s.de/martin/protot into opengl3 2018-03-04 11:41:04 +01:00
Martin Felis 14dd2ac35e Imported Lumix imgui_dock files from commit 2f36422e145f535f5 2018-03-02 19:08:13 +01:00
Martin Felis 2348929800 Removed old bgfx files 2018-03-01 13:16:42 +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 c86f535571 Properly drawing VertexArrayMesh plane... yay 2018-02-28 13:37:33 +01:00
Martin Felis 76985c878f Can draw colored stuff using VertexArrayMeshes 2018-02-28 12:39:12 +01:00
Martin Felis 076f051d48 Colored coordinate system works 2018-02-28 10:01:39 +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 d5fe4d366f Initial work for perspective camera 2018-02-27 21:32:29 +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 ea2b5d1e13 Drawing of the Color texture already works... yay ... depth will be trickier 2018-02-16 22:43:40 +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 cf59f6b6ae Updated glfw 2018-02-16 21:22:08 +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 b5f3370570 Can render color and depth buffer 2018-02-14 13:14:10 +01:00
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