gradient
4018c021b0
node editor: dragging!
8 years ago
gradient
0445327fce
node editor: draw slot dots
8 years ago
gradient
c08bd3cfca
node editor: push/pop imgui ID scopes when rendering nodes
This is a really bad, undefined-behavior hack.
we should hash or something?
or just use the index in the render ordering[1]
[1]: topological ordering of the render graph
8 years ago
gradient
a97b7e5dcb
node editor: draw edges
8 years ago
gradient
ee9352958f
node_editor.h: set up edgeList, emplace some test data
8 years ago
gradient
1794f0cde3
+GuiEdge, a line between two slots
8 years ago
gradient
6654768aa4
GuiNode: slot location computation, unprotect fields
8 years ago
gradient
03d6e3865f
pull gl3w into the main tree, fix the build
8 years ago
gradient
2ab1dfdcf1
editorconfig
8 years ago
gradient
96378d36bd
bump the test example
8 years ago
gradient
a2c1b64552
ld.gold notes
8 years ago
gradient
1879ff8984
src/gui/node_editor.h: start implementing a node editor
8 years ago
gradient
8025c27ed9
move gui stuff to src/gui/
8 years ago
gradient
77d269e8e4
+src/geom.{cpp, h}: Rect, << for Rect and ImVec2
8 years ago
gradient
e3eed807a9
src/main.cpp: build hmm
8 years ago
gradient
ee548950f4
update scoping in uistyles/basic.toml
8 years ago
gradient
7a311095c3
fix a few method names
8 years ago
gradient
bafa3863ba
update src/TODO.md
8 years ago
gradient
a581e91f1c
remove pipeline/post.h and refs
8 years ago
gradient
9504aa1c16
CMakeLists: fix build with clang++
8 years ago
gradient
ee9e63fbd5
deps/cpptoml: bump version
8 years ago
gradient
cf9e8546c5
+deps/handmademath
8 years ago
gradient
0f3415987f
gui.cpp: adjust function order [aesthetics]
8 years ago
gradient
59dfebaa33
make the test scene vaguely more interesting
8 years ago
gradient
61b8c1823a
whitespace
8 years ago
gradient
65b3986c15
reloading: replace inotifytools with my spork of a C++ inotify library
8 years ago
gradient
7f3845152d
bump to c++17, use std::experimental::filesystem
8 years ago
gradient
97a1df16c8
main.cpp: wire up inotify
8 years ago
gradient
124c939739
test_tr.frag: trans flag on a ball and distorted. i have no idea
8 years ago
gradient
7b87a7f95b
add a todo file
8 years ago
gradient
c2fcaa4c6d
port notify.h over to inotify-tools
8 years ago
gradient
6d8094d8dd
Project: remember the basepath
8 years ago
gradient
dd0838b302
Project: add dedicated reload_shaders method
8 years ago
gradient
4bc3b4b457
some random utils.glsl stuff
8 years ago
gradient
b6c3f2beae
8 years ago
gradient
c262e54718
so much hacking on the test.frag scene
8 years ago
gradient
a72365fad2
initial pass at an autoreloader (broken! non-recursive inotify)
8 years ago
gradient
59f984361d
disable nfd dialogs because nfd's build is fucking trash
8 years ago
gradient
a4621f4660
Move the sphere to (1,1,1)
8 years ago
gradient
7eace1efe4
Gamma correction
8 years ago
gradient
22e6297c7f
Make shade() understand materials
8 years ago
gradient
f07ce24194
Black background
8 years ago
gradient
bcf586a2be
Rotate the camera eye around
8 years ago
gradient
56b5a7c7de
Rename calcLookAtMatrix => look_mat
8 years ago
gradient
4e714faf4b
Update raymarch() to use a SceneResult
8 years ago
gradient
5a78198fe7
Update estimate_scene_normal to use a SceneResult
8 years ago
gradient
65b932f7bc
Switch scene_f over to returning a SceneResult{dist, mat_idx}
8 years ago
gradient
8d2193ff81
Bump the FOV up, move the far plane to 20 units
8 years ago
gradient
088982faa3
Add a demo project
8 years ago
gradient
703f6cf3e5
Add src/main.cpp; wire everything together
8 years ago