O'Reilly logo

Mastering openFrameworks: Creative Coding Demystified by Denis Perevalov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using image sequence

In the previous sections, we have considered how to work with videos stored in video files or captured by cameras. Here we will consider working with the third source of video – image sequences.

Sometimes using ofVideoPlayer for drawing movies is not appropriate. Two main cases are:

  • You need to render a big amount of movies on one screen simultaneously. For example, in a 2D computer arcade game, there can be about 100 moving characters and objects. You can play about 10 different video files in openFrameworks simultaneously, but 100 is too much for it; so some other solution is needed.
  • You need to draw many layers of videos using alpha channel. But at the time of writing this, openFrameworks does not support videos with alpha ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required