opencldev
Administrator
Jr. Member
    
Posts: 59
|
 |
« Reply #1 on: January 31, 2011, 01:04:44 PM » |
|
Sorry for the late reply.... somehow the email notification got lost. If you want to create a 2D Mandelbrot set then I suggest to use a canvas. Just create a window under the GUI and then a canvas under the window. Then you can call the getBuffer() function to get the clBuffer or clImage2D (you can specify which one under the property sheet of the canvas) which you pass to the kernel via clsetkernelArg. That should be the easiest way. Don’t forget to call canvas:repaint() after the kernel has executed. Canvaes are also used in the volume, video and soebel demos.
The Julia demo was removed for a while beause it would crash under the recent NVIDIA drivers. This problem will not occur anymore under the latest drivers so we will add it again in the next download which should be available some time this afternoon or tomorrow morning. I will ping you once it is up. It will also contain new demos including radix sort, Gaussian, HDR, Bloom etc.
|