170 Commits

Author SHA1 Message Date
ec630a454d More bugfixing on the negative ray directions. Again having the forgetful while loop 2018-04-18 23:24:28 -07:00
91e5d1bcd6 Getting ever so closer to fully working oct rendering. Fixed a very very weird bug that caused either register corruption or messing with the program counter or whatever. Caused by the parent stack index not being populated for the root index. Weird 2018-04-16 21:40:35 -07:00
c1e18ce17b Fixed small error in scale when doing the downward traversal step. For some reason OpenCL has decided to start completely skipping the downward traversal loop when the jump power is equal to 1/2 dimension. What the hell? 2018-04-15 22:32:22 -07:00
67ec7b7785 Traversal is finally able to render coherent images, lots of artifacting. Probably logic error with traversal as opposed to math error in intersection_t's 2018-04-14 02:47:42 -07:00
MitchellHansen
9ab0770bdb tweaking, fixed logic errors in the DFS vox function along with some traversal errors. Hunting down a driver crash that I somehow introduced 2018-04-08 05:37:35 -07:00
MitchellHansen
20f36d4eb1 lots of little tweaks, the cl is still completely broken, need to revert the oct position calc 2018-03-21 22:31:17 -07:00
MitchellHansen
8a1eb5e430 Running on windows, for some reason doesn't crash as well 2018-03-03 06:43:52 -08:00
24a97e47e1 hackily adding the event count to the graph 2018-02-28 20:40:08 -08:00
5a47d3bad4 Debugging of a mouse polling issue, refactored the graph thing and finished tweaking it, added a few profiles to the graph, so pretty 2018-02-27 22:13:59 -08:00
29612edd61 changed to c++ input args. Also, C++11 is the one true god 2018-02-27 20:27:24 -08:00
7679a5a938 modifying multilines to fit what I want it to do 2018-02-26 23:12:00 -08:00
dd44955f33 Updated Imgui and ImguiSFML 2018-02-26 21:40:55 -08:00
33a8e3af8b working on a more versitile fps counter, but need to move to the newest imgui first 2018-02-26 20:49:27 -08:00
d431352e8f Added display for settings buffer data 2018-02-25 02:47:25 -08:00
6464fceece Added enabling and disabling of the octree from the settings buffer 2018-02-24 21:29:17 -08:00
d2bc5e483a The settings buffer is fully operational 2018-02-24 21:04:29 -08:00
da461a0ee4 Removed the rest of the compiler warnings 2018-02-21 21:42:55 -08:00
fb6557fba2 Cleaned up includes, fixed compiler warning 2018-02-21 21:30:01 -08:00
bb8f87267b Fixed a segfault on shutdown 2018-02-21 21:02:08 -08:00
c17d937ee5 Fixed the most common crash on exit, still one more hiding and crashing in libc 2018-02-17 14:54:43 -08:00
d6bdcbdeca Leaving it compiling at least, CL seems to have broken at some point on my thinkpad 2018-02-17 02:08:48 -08:00
51be54c964 partway through some documentation and bug fixing 2018-02-17 01:08:31 -08:00
176d9f7a54 And also made the camera react to gravity, not fall through the floor 2018-02-08 00:52:01 -08:00
c698711fdf Finally converted the camera lens to a proper frustrum, no more fish eye 2018-02-07 23:58:48 -08:00
2baabf5bc5 Holy hell, finally got this working with an R9 390 + Ubuntu. 2017-11-15 23:07:50 -08:00
MitchellHansen
36bf5697fa Tweaking, fixed a very old off by one bug on voxel gen 2017-10-21 06:54:09 -07:00
MitchellHansen
513a827645 Worked out a bit more of the traversal. Up to the point of assessing the situation with intersection_t updating 2017-10-19 21:30:16 -07:00
MitchellHansen
3f09515c0a Update video demo, tweaking my refactor of the maps. Working on downwards navigation in the oct traversal 2017-10-18 22:10:31 -07:00
MitchellHansen
c35f867c76 Shuffling the map stuff around to make more sense structurally. Also shrunk the scope of the demos wayyyy down to facilitate easier debugging in my next planned steps 2017-10-17 23:59:15 -07:00
MitchellHansen
76189ef0b4 Optimizing, fixing things in the kernel. More oct work 2017-10-14 14:18:26 -07:00
MitchellHansen
8894d5e3a7 Still plucking away at the octree traversal 2017-10-13 20:57:05 -07:00
MitchellHansen
b9c1bef7bc Fixed a small bug that was breaking the far ptr's 2017-10-12 00:04:06 -07:00
MitchellHansen
2519532172 committing in a broken state, we got problems with the far pointers. Acting as absolute when should be relative 2017-10-09 23:53:59 -07:00
MitchellHansen
787e308bcb Removed the demo movement, added fog, correctly this time! 2017-10-09 22:52:21 -07:00
MitchellHansen
f733ca4aec 'Demo Mode' release 2017-10-07 23:22:47 -07:00
MitchellHansen
c5c65474d6 ~10 FPS from moving some oct stuff to const, ~0.5 fps from adding a few more consts to initializers in the kernel 2017-10-07 21:32:22 -07:00
58ef1da02a Did this work? 2017-10-05 23:30:12 -07:00
2d2a854f0f This is going to require a major rewrite of every component of this program. Going to revert back to the linear game loop for now 2017-10-05 22:51:02 -07:00
MitchellHansen
5fcf1c0e44 working on the frame controller, this might get messy 2017-10-01 17:01:05 -07:00
MitchellHansen
4d6cecc7e0 Thinking about doing a simple scheduling system next. Perhaps tick tied to the step_size? 2017-09-28 22:11:14 -07:00
MitchellHansen
3ff6fb0b14 Adding a method of rendering GUI's that avoid the whole throwing raw
data around everywhere thing I had going on before
2017-09-27 23:36:20 -07:00
MitchellHansen
ed250d1291 Octree works out to 128x128 as is, and performance seems very promising. Traversal or octree generation fixes will be next 2017-09-24 18:28:32 -07:00
MitchellHansen
305ef917e0 Thankfully it wasn't a problem with the data format, I was passing the
address of a ptr, not the address contained by the ptr. With that,
preliminary GPU octree interaction works perfectly
2017-09-24 17:48:06 -07:00
7c86c60f9f Added EGL linking and useage for the linux cl_khr_gl_sharing
interaction. This still crashes on my machine but at least its getting
closer to working. Fixed some warnings and errors while compiling with
clang++
2017-09-24 17:07:51 -07:00
MitchellHansen
ebce781eb3 Got the octree data to the GPU and it's traversing it, but it having some corruption issues. Endianness??? 2017-09-24 00:50:09 -07:00
MitchellHansen
3f19c2e13d Cleaned up some stray GL shit 2017-09-23 13:41:06 -07:00
MitchellHansen
7cc1b23799 Copy pasted main.cpp over into it's own class, hopefully in time will clean up some of this cruft 2017-09-23 13:31:06 -07:00
MitchellHansen
8c193acd40 quick save before the main.cpp refactor 2017-09-23 13:05:50 -07:00
MitchellHansen
0b42481020 More tweaking and refactoring 2017-09-23 12:46:26 -07:00
MitchellHansen
e0cb26a9d1 More error checking, probably way more than I would ever need but oh well, it looks cool 2017-09-23 01:25:45 -07:00