70 Commits (5fcf1c0e44dee85c86a5f66db3dd238c10af467b)

Author SHA1 Message Date
fecf8dd8ee Reveting to an older build. Something on the mac build stopped my card from running it.
8 years ago
mitchellhansen 3220a03677 Redid the colors, added a few comments
8 years ago
mitchellhansen 10bc771807 MBP was having problems with out of bounds memory operations with the way the cam dir was handled. sf::vector3f -> float3 and while accessign the Zth element. I'm assuming it was because of some weird backend stuff regarding that gentypeOdds are actually gentypeOdds + 1. Converted write_imagef's to write_imageui's though I don't think that really helps anything. Fixed the bottom half of the screen getting cut off. View matrix import error. Fixed problem the MBP had with negative values during device init, that was a weird one.
8 years ago
MitchellHansen 4e96985104 added lighting, stole a terrain generator and ported it.
8 years ago
MitchellHansen e1080baab0 opencl has no rand, SO rand method to make fog a little better
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 160756186d mouse and camera movement work, stress testing. Can actually handle an
8 years ago
MitchellHansen f487895f9f that was a pain. Got it working on windows again. MSVC was being really
8 years ago
mitchellhansen 9c99f9edd0 some tweaks, switching to windows for the weekend
8 years ago
mitchellhansen cf607382a9 WORKING! Awesome! It now casts fully inside the gpu,
8 years ago
mitchellhansen c565d0facc Refactored the cl init stuff, added the rest of the image handling in.
8 years ago
mitchellhansen a7234675cb Continuing on adding argument handling.
8 years ago
mitchellhansen 11146a6551 Getting things passed over to cl. No vector4 datatype in sfml,
8 years ago
mitchellhansen 0b9010b007 little tweaks, tomorrow/this week will hook up the arguments and data loading
8 years ago
mitchellhansen 5d9d3c4f4d Ah, I'm a dummy. Forgot to initialize the command queue! No wonder why it
8 years ago
mitchellhansen c3902c2f6e Added args and buffer handling, but now clEnqueueNDRangeKernel is failing
8 years ago
mitchellhansen 0c70c24a52 Switched names, thinking about how to do kernel args, and buffers.
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 d2b79ceec3 Added a compilation routine, probably will abstract all this out into
8 years ago