Commit Graph

14 Commits

Author SHA1 Message Date
MitchellHansen
effed8a2bf Working more on the lights. Trying to get around the packing requirements for passing data to CL 2017-02-03 17:09:44 -08:00
MitchellHansen
3f0a99a435 getting started on the lights 2017-02-02 22:37:27 -08:00
MitchellHansen
129e475b15 Fixed the way lights were linked to opencl, did some tweaking of the phong lighting. 2017-01-15 13:17:33 -08:00
0974ab9e83 Some tweaks to get the linux build running -fixed 2017-01-10 11:16:39 -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
5f24a4cf3f A good portion of the fallback software caster is done.
Need to test, add global lighting, add switch
2016-11-04 04:16:03 -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
5528e03c69 Saving minor tweaks 2016-11-02 15:58:15 -07:00
MitchellHansen
518cc757a3 Lots of work done moving the various raycasting implementations over to a
consolidated RayCaster class.
2016-11-02 00:09:32 -07:00
MitchellHansen
45627e6a85 Whoops, forgot to save the files, same commit as before 2016-10-29 23:56:50 -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
14987e3ba7 There we go! The raycaster now has a camera that renders without distortion and can be pitched, yawed, and moved on the XYZ axis. I'm not sure now if I want to: Add lighting, improve performance, or start working on porting it to OpenCL 2016-08-03 22:29:31 -07:00
2b7dceee1b Moved the view plane calc to the constructor, cleaned up old code. Added / removed relevant comments 2016-08-02 22:40:55 -07:00
MitchellHansen
0b8cd9a194 things are casting now and sfml is rendering the way I want it to.
The voxel stepping is still all messed up, and it seems that there is
some data corruption on the map that I'll need to dig into
2016-07-31 13:52:22 -07:00