Calculating particles with OpenCL 1.2 and rendering with OpenGL 4.6
Video: https://www.youtube.com/watch?v=VTs5xOGDT5w
- gl3w https://github.com/skaslev/gl3w
- glfw http://www.glfw.org/
- glm https://glm.g-truc.net
- imgui https://github.com/ocornut/imgui
- OpenCL SDK for your hardware:
- For AMD GPUs and CPUs download the OCL_SDK_Light
- For NVIDIA GPUs download the CUDA Toolkit
- For Intel CPUs/GPUs download the Intel OpenCL SDK
- Visual Studio 2017
- Python
- CMake
cd gl3w
python gl3w_gen.py
cd glfw
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=ON -DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_EXAMPLES=OFF ..
Open 'GLFW.sln' in the bild directory and build Debug and Release configuration