Welcome, Guest. Please login or register.
February 05, 2012, 10:22:59 PM
Home Help Search Login Register
News: A significant upgrade to OpenCL Studio 1.1 has been released including new OpenCL library elements, addtions to the scripting interface and various bug fixes.

+  opencldev.com
|-+  OpenCL Studio
| |-+  Development Environment
| | |-+  Fractal Demos
« previous next »
Pages: [1] Print
Author Topic: Fractal Demos  (Read 502 times)
raistlin969
Newbie
*
Posts: 13


« on: January 26, 2011, 12:53:08 PM »

I know that it will be a couple of weeks before the new tutorials come out so I have just been looking through the current demos that come with the download to try to learn how to work with the environment.  I have seen references on the forum to the Julia demo, but I can't seem to find it.  Is there a different place to download the demos from.

If I wanted to create a Mandelbrot app as a way to get familiar with the studio, where would I start as far as getting the image to the screen.  Would I create a 2D texture under the OpenGL tree and pass that to my kernel, or should I use the Camera framebuffer.  Since a Mandelbrot app is kind of a "hello world" app for parallel  programming I thought that would be a good first app to use to help the learning curve so if anyone has a high level overview of how to go about that with the studio it would be helpful. 
Logged
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.

Logged
opencldev
Administrator
Jr. Member
*****
Posts: 59


« Reply #2 on: February 02, 2011, 03:38:05 PM »

There is a new OpenCL Studio available for download. It is pretty close to the final version of the next major release. There are a few new demos including the old Julia demo. If you are running an NVIDIA GPU make sure to update to the latest drivers.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!