The cube and the ripple
The video above shows a two-layered tech demo of Vision Factory :
- one scene with webcam kaleidoscopic background (shameless plug from Flight404), distance to the plane+rotation are driven by midi device.
- that good ol’ ripple effect applied as a filter on the background.
- scene with rgb debug cube, driven by javascript. [see script here]
I just wrote a module for handling and sending midi messages. It is essentially a wrapper around the cool rtmidi library written by Gary P. Scavone. In Vision Factory, a module is a special plug-in that can extend core functionnalities of the main application, and is registered as a global object so that every other plug-ins can access its interface.
I also integrated the management of frame buffer objects (FBOs) for being able to draw in a texture. It is merely used by the core engine for main rendering, but the api allows their creation for directly drawing onto the graphic card.
Ah. I just discovered this week that I had important memory leaks within javascript … I have absolutely no idea what causes them, which is very annoying. I guess I’ll have to look more carefully at the documentation.

No Comments Yet