VJForums  

Go Back   VJForums > Technique > Developers Area

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 27th July 2006, 08:43 PM
victimofleisure's Avatar
victimofleisure victimofleisure is offline
senior human
 
Join Date: Jan 2006
Location: UNITED STATES
Posts: 248
Lightbulb MFC template for Freeframe source plugins (try it!)

After I wrote the Whorld source plugin, I got the idea that it would have been handy to have some kind of template project to start from, along the lines of "TODO: add your drawing code here". I looked at the FreeFrame SDK, but it wasn't quite what I had in mind. I wanted something optimized for writing source plugins, rather than effects. Specifically, I wanted the template to mirror the structure of a typical MFC graphics app, with a surrogate main frame and view, so that drawing code could be transplanted from an app to a plugin with minimal modifications. For example, in Whorld, the view uses the exact same source file in both the app and plugin; the differences are simple enough to be managed with #ifdefs.

So I finally got around to making the template project. It's called FFSrcPlug. It has a rudimentary demo view which draws a bouncing ball, and it exposes a single Freeframe parameter (the ball speed). The plugin DLL and the template project sources are in the same zip file, which is here:

http://whorld.org/temp/FFSrcPlug-1.0.0.zip

I've only tested FFSrcPlug.dll under TZT and Resolume. If you can test it in other hosts and post the results here, I would be grateful.

Speculation: could it be that part of the reason why Freeframe source plugins aren't so common is because there wasn't a clear example to start from? If that's so, maybe this template will spark an explosion of cool source plugins! You never know...

Chris Korda
http://whorld.org
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger