Commit Graph

36 Commits

Author SHA1 Message Date
kienan 326212dc5d Copy shaders during build 2020-05-03 17:03:18 -04:00
kienan 56fce78098 Make shader list and program file names more consistent
In particular, the client was loading list.txt, not shader_list.txt
and it seems weird to be incoherent between the source and built
resources in this way.
2020-05-03 16:57:48 -04:00
kienan d6465aafe6 Update build instructions 2020-05-03 12:09:41 -04:00
Kienan Stewart 386a4488a4 Enable depth test 2020-02-25 23:47:14 -05:00
Kienan Stewart aa441eefe7 Fix registration of colour buffer data 2020-02-25 23:46:56 -05:00
Kienan Stewart edb59de234 Fix cube color definition 2020-02-25 23:46:43 -05:00
Kienan Stewart c3c9ab5ede Create a class for Renderable objects 2020-02-25 01:58:20 -05:00
Kienan Stewart 997a50eb72 Translate camera target when panning 2020-02-24 21:40:45 -05:00
Kienan Stewart adb7f45052 Make the global camera move I guess 2020-02-23 22:12:10 -05:00
Kienan Stewart f56d1e558e Add an MVP projection matrix with adjustable FoV 2020-02-19 21:54:31 -05:00
Kienan Stewart baf1b1b808 Remove program printf from client_imgui 2020-02-19 21:11:00 -05:00
Kienan Stewart b23bfbdcd8 Use the default shader program for the triangle render 2020-02-12 21:30:38 -05:00
Kienan Stewart 30b00fc2c8 Add a shader program registry 2020-02-10 23:41:33 -05:00
Kienan Stewart 9df2f0c64f Fix case where shader type from file is unknown
The variable was previously uninitialized, so the value may not have
necessarily been zero for the comparison that follows.
2020-02-07 07:55:59 -05:00
Kienan Stewart d481aa4d19 Add loaded shader fragments into registry 2020-02-06 23:32:00 -05:00
Kienan Stewart a22f719ea8 Enable debug mode for builds by default 2020-02-06 23:21:42 -05:00
Kienan Stewart beaf176819 Fix sample shaders : support limited to 3.0ES 2020-02-06 23:21:22 -05:00
Kienan Stewart df48698ab7 Fix loading shader fragments by path relative to list file 2020-02-06 23:20:58 -05:00
Kienan Stewart 865fa558e9 Add a shader registry and loader 2020-02-06 00:32:26 -05:00
Kienan Stewart efeeb25b0b Update cxx and c standards for build 2019-09-22 22:20:56 -04:00
Kienan Stewart dd7b1cf2d1
Recommit nuklear as a submodule 2019-09-22 20:23:39 -04:00
Kienan Stewart 5ff4c80907
Recommit 3rdparty/imgui as a submodule 2019-09-22 20:22:33 -04:00
Kienan Stewart a579eb9bc0
Recommit glad as a git submodule 2019-09-22 20:18:31 -04:00
Kienan Stewart b3ca7926b2
Add a first draft of a message bus 2019-09-07 21:08:06 -04:00
Kienan Stewart 712da0e988
Fix printing of variables passed in to the logger 2019-09-07 20:27:26 -04:00
Kienan Stewart 8b4da4e6c0
Compile using c++14 2019-09-07 19:49:49 -04:00
Kienan Stewart 60e35a3dfd
Add WIP dev console and logging 2019-09-07 19:48:43 -04:00
Kienan Stewart b9b2b983cb
Add a note explaining why window decorations may be missing in wayland 2019-09-04 09:22:06 -04:00
Kienan Stewart 5b1b7227f8
Example of rendering a a triangle under the UI 2019-09-03 23:17:33 -04:00
Kienan Stewart 982aa18b0c
Add vague frame rate output to nuklear example
It seems that both nuklear and imgui sit around 60fps on my build, but
waving the mouse around drops the fps to ~30 on nuklear, and ~40 on
imgui. The frame rates aren't compared in the same way so... apples to
oranges and all that, but given how little is happening in the
examples at this point it's still a small indication.
2019-09-03 21:17:02 -04:00
Kienan Stewart 9ee302c0e2
Move nuklear specific client files into their own folder 2019-09-03 20:56:30 -04:00
Kienan Stewart 686428b274
Remove superfluous define from imgui-glfw-gl3 compile definitions 2019-09-03 20:51:38 -04:00
Kienan Stewart e0b557bbf0
Remove calls to glBindSampler and glDrawElementsBaseVertex segfault
These defines are set, but calling the functions always segfaults.
2019-09-03 20:49:37 -04:00
Kienan Stewart d6cd223414
Copy imgui_impl examples for glfw and opengl3 2019-09-03 20:46:45 -04:00
Kienan Stewart e7ed798f83
WIP : Add imgui based client to test that ui library 2019-09-03 10:20:25 -04:00
Kienan Stewart d9bc7a5a49
Initial commit 2019-09-03 00:07:40 -04:00