I'm not sure if this is the right place for this question but I thought I would start here. I've been trying to create a suite of FreeFrame plugins using OpenFrameworks/ofxffglplugin and I'm running into some strange rendering issues when I run the applications as FreeFrame plugins in Resolume. I'm not sure if it's a Resolume issue or (more likely) if I'm not using ofxffglplugin correctly or missing some OpenGL nuance. The problem is as follows:
I've created a plugin that renders 10 points at random locations on screen. Ever 60 frames I move the points to new random locations. Before drawing the points, I call glBegin( GL_TRIANGLE_STRIP ) so that the points are connected to create an angular blob shape (here's what it should look like: http://www.vimeo.com/15401256). If I run my code as a standalone OpenFrameworks application, I can render my shape so that the points are all 2D (ie. have a z location of 0) or in 3D (ie. they have random z locations). However, when I run my code as a plugin in Resolume, only the 2D version renders as I expect. The 3D version either doesn't render or renders just the connecting lines between the points and not the planes (here's what it looks like: http://www.vimeo.com/15401278).
If anybody can suggest a reason why this might be happening, it would be much appreciated. If you want to see the code, it's available here: http://sffreeframe.svn.sourceforge.net/ ... oints/src/. The class that does most of the heavy lifting is SpiderPoints.cpp.
Thanks in advance for your help.