Commit Graph

20 Commits

Author SHA1 Message Date
MitchellHansen
3c91614f45 Working on a messaging system for sf events 2017-01-10 08:46:12 -08:00
MitchellHansen
bb9fab6305 Added lookat function. Fixed various coordinate missmatches and issues. Fixed camera movement. Added some input functions. I need some way to log fps and find those hitches 2016-12-30 21:02:04 -08:00
MitchellHansen
8a9237ce50 Added some debug functions 2016-12-18 17:19:16 -08:00
MitchellHansen
c6ac333232 A decent ways towards getting the octree built. Small snag in the way fully valid or invalid non-leafs are handled 2016-12-14 01:22:52 -08:00
MitchellHansen
5e58ade16f Modified CMake to now find and link GLEW
Slight tweaks to how CMake interacts with VS
Added small OpenGL testing class which draws over the raycasted image
Going to use Gl to start helping with debug / enabling hybrid rendering
2016-11-28 22:00:55 -08:00
MitchellHansen
8c1f18ac70 Software raycasting now works, but has some major problems / is extremely
slow. Perhaps it will only be useful in debugging the kernel via emulation
2016-11-04 23:11:24 -07:00
MitchellHansen
d1bd4ce667 The new rendering method now works on the full compat case.
Added a kernel to help test opencl data passing
renamed the kernels, buffers, etc.
2016-11-04 03:28:23 -07:00
MitchellHansen
45627e6a85 Whoops, forgot to save the files, same commit as before 2016-10-29 23:56:50 -07:00
MitchellHansen
561c07c602 Turned off experimental phong lighting in the kernel
fixed all compiler errors thrown by MSVC
Switched experimental octree map back to the old map
Refactored old map system, prettied it up
2016-10-29 00:42:49 -07:00
MitchellHansen
fe0fbc04e1 little edit to get rid of some cl boilerplate 2016-09-22 22:18:30 -07:00
MitchellHansen
e13280bb07 added relative camera controls, now handles like an actual fly cam. 2016-09-22 21:48:38 -07:00
92aee8c4ca Would help if I actually added the files 2016-09-19 03:01:47 -07:00
MitchellHansen
6f5d2b2f6f Changed to non branching algo, sped up a good 30-50 ms at the current max
ray dist. Also changed bounds checking a little, not sure if it's faster
2016-09-04 23:59:39 -07:00
5dea2494a0 Large amount done. OpenCL is almost completely abstracted out to the class
from init to kernel compilation. Next will be getting buffer handling, executing, and reading done.
Changed the kernel to a more minimal example.
Added a jump table for error codes and an assert function for error checking.
Added a routine to compare all the available cl devices and platforms, chooses the high clock of either the GPU or CPU.
2016-08-15 00:07:30 -07:00
MitchellHansen
edd8075afb Added a quick printout of the hardware info. Running into a problem choosing between platforms, going to abstract CL out into it's own class and hide all that logic 2016-08-14 00:03:44 -07:00
c431d7452a Lighting, testing voxel generation 2016-08-06 00:50:48 -07:00
MitchellHansen
eb889f9937 added header to play nice with macos 2016-07-31 17:13:16 -07:00
MitchellHansen
37ef472f61 More work done on the ray 2016-07-31 00:01:50 -07:00
MitchellHansen
4432c0338b added the map, switched branches 2016-07-30 23:05:59 -07:00
Mitchell Hansen
624d2771ac Don't know what is in this one 2016-07-30 20:32:15 -07:00