https://github.com/nikvoronin/clootoopengl
OpenCL parallel calculations w/ OpenGL renderer
https://github.com/nikvoronin/clootoopengl
cloo fractals kernel mandelbrot opencl opengl opentk opentk-library procedural procedural-generation sharpgl
Last synced: 3 months ago
JSON representation
OpenCL parallel calculations w/ OpenGL renderer
- Host: GitHub
- URL: https://github.com/nikvoronin/clootoopengl
- Owner: nikvoronin
- License: mit
- Created: 2016-11-10T11:08:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T00:12:49.000Z (over 6 years ago)
- Last Synced: 2025-01-16T11:27:06.518Z (5 months ago)
- Topics: cloo, fractals, kernel, mandelbrot, opencl, opengl, opentk, opentk-library, procedural, procedural-generation, sharpgl
- Language: C#
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# .oO@ ClooToOpenGL @Oo.
Live rendering of Mandelbrot fractal with help of .NET, Cloo and OpenTK/SharpGL. Actually, collaboration of OpenCL and OpenGL.

- Left Mouse click to center image.
- Scrool wheeeel to zoom/unzoom.
- Cursor up/down - Increments/decrements the number of iterations (Shift+ would get x10 speed up)At start it's looking for NVIDIA graphics card but you can start your own journey from changing this. Just replace the string "NVIDIA" to the "INTEL" or "AMD":
*MainWindow.xaml.cs*
```c#
private void Cloo_Initialize(OpenGLEventArgs args)
{
[...]
foreach (var p in ComputePlatform.Platforms)
foreach(var d in p.Devices)
if (d.Vendor.ToUpperInvariant().Contains("NVIDIA")) // "INTEL")) // "AMD"))
[...]
```## Kernels Here
Since version 1.1 you can edit kernel which you can find under the `/kernels` folder. The kernel file could be edited in isolation of main application.
## Deeper and Darker

