You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
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
assets Textures were suprisingly trivial with the plane intersection code hashed out 8 years ago
include 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
kernels SFML packets have no documented structure so I had to packet them out myself. Low Energy 8 years ago
notes Added pdf 8 years ago
shaders Got some geometry up and rotating. It will be pretty trivial to pass in 8 years ago
src 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
.gitignore 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
CMakeLists.txt Added macOS compatability again 8 years ago
FindSFML.cmake 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
README.md Update README.md 8 years ago

README.md

In order to build this project you must have Cmake, GLEW, SFML, and the OpenCL development libraries installed / downloaded. You're also going to need OpenCL compatable hardware that supports the cl_khr_gl_sharing extension. The VS2015 build is working, Linux compiles but I don't have hardware that works, and Mac should compile and run, but I don't have access to a Mac.

Note on cl_khr_gl_sharing: The cl_khr_gl_sharing extension, or cl_APPLE_gl_sharing for macOS, is only supported on certain hardware. Further, cl_khr_gl_sharing is not supported on intel CPU's running linux. You might be able to install and use beignet to get around this. The program will warn you if your CL device doesn't support this extension.

Featuring...

  • Efficient Sparse Voxel Octrees, Laine et al.
  • A fast voxel traversal algorithm for ray tracing, Woo et al.
  • Blinn-Phong lighting
  • Shadowing
  • Textures

Video demo: Video demo

Screenshots: alt tag alt tag