Commit Graph

6 Commits

Author SHA1 Message Date
cf607382a9 WORKING! Awesome! It now casts fully inside the gpu,
context is then switched to gl and then rendered via sfml.
It has no loop, no controls, and the aspect ratio is off,
but holy hell it works!
2016-09-01 22:45:48 -07:00
c565d0facc Refactored the cl init stuff, added the rest of the image handling in.
The test kernel now draws a few pixels to the screen. Pretty much set up nowto start writing the raycaster
2016-09-01 21:35:08 -07:00
a7234675cb Continuing on adding argument handling.
Added a small sample texture and sprite which can be handed over to either gl or cl and then handed back. It can then be rendered.
Changed to just an array of floats for the view matrix
2016-08-31 21:47:56 -07:00
11146a6551 Getting things passed over to cl. No vector4 datatype in sfml,
and cl only passes by even numbers of vectors. Update to 2.4? or
make my own sf::Vector4?
2016-08-30 20:43:35 -07:00
0b9010b007 little tweaks, tomorrow/this week will hook up the arguments and data loading 2016-08-29 21:31:04 -07:00
c3902c2f6e Added args and buffer handling, but now clEnqueueNDRangeKernel is failing
with the error invalid command queue. Haven't seen that one before, and
cursory google suggests it's a problem with MBP's. Fun! I'll keep taking
a look, and I'll try it on my windows machine here soon
2016-08-29 18:51:46 -07:00