More
See all Show me
16. OpenCL particles test
1 month ago
13. Parque
6 months ago
11. vortex
9 months ago
10. metaballs study
9 months ago
9. Untitled (2006)
10 months ago
8. Soft Body test1
10 months ago
7. air doom
1 year ago
6. Criaturas
1 year ago
5. slugs
1 year ago
2. blood rush
1 year ago
a test using opencl and openframeworks.
5000 particles interact with each other and mouse cursor.
this runs easily at 30fps but snapz killed the framerate a little :)

this is running only on cpu and letting opencl do its thing. Its a lot faster than simply running it with "normal" code, but it definitely could run much faster on gpu.

source for this can be downloaded here: code.google.com/p/ruisource/
it includes a slightly modified version of the ofxOpenCL addon by Memo Akten.

:)

26 Likes

Tags

  • toneburst plus 1 month ago
    That looks really nice. THe particles are a bit small to be easily visible once Vimeo's compression has done it's thing though.

    I'm intrigued to know why the OpenCL code is running on the CPU, rather than the GPU. I'd have thought there wouldn't be any advantage to running the OpenCL kernel on the CPU, over something written in straight-up C or C++. It's impressively fast as it is though.

    Great stuff,

    a|x
  • Rui Madeira plus 1 month ago
    yea, ill make another video with bigger particles when i get some time.

    im running it on cpu because my graphics card doesnt support opencl :)
    but its still faster than running in plain c++. Opencl will multithread things and run it a lot faster.
  •  
  • marco amaral 1 month ago
    Que movimentos perfeitos, essa mão não treme NADA! Fantástico, deves ser um jovem bem robusto.
  • Rui Madeira plus 1 month ago
    muito obrigado marco. sei que posso sempre contar contigo para esses comentários profundos!
  • marco amaral 1 month ago
    É sempre um prazer avaliar o teu trabalho.
  • Rui Madeira plus 1 month ago
    e a minha robustes fisica ;)
  • marco amaral 1 month ago
    pronto, isso também. mas vamos acabar com estes comentários parvos e esperar que alguém realmente olhe para o video - que por acaso até nem é feio.
  •  
  • Nao Tokui 25 days ago
    This is awesome!!

    It reminds me of Keiko Kimoto's works.
    kimoto-k.com/imaginary_numbers/movie.html
  • Nao Tokui 25 days ago
    As you might notice, these are not realtime rendering. She once told me it took more than a day to compute and generate these movies.
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

1 Related collections

Albums Albums

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 652
    likes 26
    comments 9
  • Dec 7th
    plays 8
    likes 0
    comments 0
  • Dec 6th
    plays 6
    likes 0
    comments 0
  • Dec 5th
    plays 8
    likes 0
    comments 0
  • Dec 4th
    plays 7
    likes 0
    comments 0
  • Dec 3rd
    plays 7
    likes 0
    comments 0
  • Dec 2nd
    plays 11
    likes 1
    comments 0
  • Dec 1st
    plays 8
    likes 0
    comments 0
  • Nov 30th
    plays 17
    likes 0
    comments 0
Previous Week

Downloads

Please join Vimeo or log in to download the original file. It only takes a few seconds.