35 Commits (b493d56f7acfa0d46f1ef8b709a605ddd36f57bf)

Author SHA1 Message Date
MitchellHansen b493d56f7a Removed some extra headers in util, restricted the scope of some others
8 years ago
MitchellHansen 7c534500f6 Cut down a few of the compiler warnings, refactored the octree into its own file. Refactored all map items into their own subfolder
8 years ago
MitchellHansen 2ad7383406 Added a struct to pass away from get_voxel
8 years ago
MitchellHansen e45df185f7 Cleaned up Map and the Octree. Did some testing and refactoring of generation code. Interleaved data is now good, also changed the block stack dealio to just a blob of uint64_t data. Used a GCC and by extension MSVC extension which speeds up count_bits by a good bit. After all optimizations, getVoxel is now around 10-15 times faster.
8 years ago
MitchellHansen 5e222a0331 Added new demo, tweaked some values to produce better lighting
8 years ago
MitchellHansen 3aaffce566 Refactored and commented the Hardware Caster. Cleaned up many small things
8 years ago
MitchellHansen 50c6d68944 Switched Utils name back. Converted the current debug text over to ImGui.
8 years ago
MitchellHansen 15fb922c27 Had some include troubles, renamed util but need to rename it back to .hpp. Switched the fps counter to run with imgui
8 years ago
MitchellHansen 033e29d9b1 Fixed small ifdef bug, added quick-sfml-templates fps graph
8 years ago
MitchellHansen 0a457f50a6 A decent amount of progress on voxel traversal. Converted most of it to C code to make the CL version easier
8 years ago
MitchellHansen 0c9ef2ae6a It seems that the octree has been built correctly. Going to use bitset to count children, not sure how I'm going to determine what quadrants they lie in. Perhaps masks?
8 years ago
MitchellHansen 3f0a99a435 getting started on the lights
8 years ago
MitchellHansen 03a7ee43fd working on a little maze generator for the demo
8 years ago
MitchellHansen 73026bc65d Very very close to pixel perfect shadows. Having some of that axis switch malarchy slowing things down
8 years ago
MitchellHansen abec38e7c7 Finally found the root of that off by one error. Changed up the readme.
8 years ago
MitchellHansen 3c91614f45 Working on a messaging system for sf events
8 years ago
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
8 years ago
MitchellHansen 8a9237ce50 Added some debug functions
8 years ago
MitchellHansen c6ac333232 A decent ways towards getting the octree built. Small snag in the way fully valid or invalid non-leafs are handled
8 years ago
MitchellHansen 5e58ade16f Modified CMake to now find and link GLEW
8 years ago
MitchellHansen 8c1f18ac70 Software raycasting now works, but has some major problems / is extremely
8 years ago
MitchellHansen d1bd4ce667 The new rendering method now works on the full compat case.
8 years ago
MitchellHansen 45627e6a85 Whoops, forgot to save the files, same commit as before
8 years ago
MitchellHansen 561c07c602 Turned off experimental phong lighting in the kernel
8 years ago
MitchellHansen fe0fbc04e1 little edit to get rid of some cl boilerplate
8 years ago
MitchellHansen e13280bb07 added relative camera controls, now handles like an actual fly cam.
8 years ago
92aee8c4ca Would help if I actually added the files
8 years ago
MitchellHansen 6f5d2b2f6f Changed to non branching algo, sped up a good 30-50 ms at the current max
8 years ago
mitchellhansen 5dea2494a0 Large amount done. OpenCL is almost completely abstracted out to the class
8 years ago
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
8 years ago
mitchellhansen c431d7452a Lighting, testing voxel generation
8 years ago
MitchellHansen eb889f9937 added header to play nice with macos
8 years ago
MitchellHansen 37ef472f61 More work done on the ray
8 years ago
MitchellHansen 4432c0338b added the map, switched branches
8 years ago
Mitchell Hansen 624d2771ac Don't know what is in this one
8 years ago