Author Topic: Spaghetti Westerns  (Read 27114 times)

0 Members and 1 Guest are viewing this topic.

Agent C

  • Guest
Spaghetti Westerns
« on: February 27, 2009, 06:12:50 pm »
Just thought that would be a funny name for plugins ---
To build on the concept started in the Laser Agent thread, what would the architecture for a plugin look like?

I will do some poking around this weekend on the VST plugin arch and also reach out to my friend who wrote some pretty famous After Effects plugins just to get a handle on how to design a plugin arch from the ground up.  I really have no clue what plugins look like under the hood.



Offline Fanny Pack

  • Moderator
  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Spaghetti Westerns
« Reply #1 on: February 27, 2009, 06:25:27 pm »
A plug-in would be a class library.  It would contain a GUI control and a frame generator of some sort.  The GUI would obviously configure the frame generator.  The frame generator class would have some function to return a frame based on a frame number.  I actually already use this type architecture for the effects you see.

Most likely I would add some section to my config file that lets you specify the name of an assembly (.NET speak for DLL) and class name as well as a human readable name and description for the plug-in.  That's about all that is necessary to be able to load it and use it.

The problem comes in when a show project file is encountered that references a plug-in that the user doesn't have.  The easy solution is to just ignore those sections of the project I guess.

Finally, the plug-ins could be completely stand-along frame generators (abstract generators, text generators, even preconfigured patterns) or they could be new effects that could be added.  For example, someone might want to make an explode effect or a flashing effect.

It wouldn't not take too much effort to support this thing in Spaghetti I don't think.
« Last Edit: February 27, 2009, 09:25:16 pm by Hyena »

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Spaghetti Westerns
« Reply #2 on: February 27, 2009, 11:21:50 pm »
for shows that reference plugins that are not there.. you COULD give an error that says "plugin xxxx missing" and hell, even give a link to download it. the link could be in the plugins ini file. so each plugin would consist of the dll and an INI.. if thats the case you could add a plugin manager in the interface to allow a user to add new plugins in a easy way..

i think its a creat idea and opens up a market for free and commercial plugins.. as long as the underlying code to handle plugins in a generic way is there..

Plugins would add another efect option and could even include an icon for the bar either in the package or as a rescource in the dll.

i thinks its a fantastic idea



« Last Edit: February 27, 2009, 11:25:17 pm by BlinkenLights »

Offline drlava

  • Sr. Member
  • ****
  • Posts: 314
  • Milliwatts: 18
    • View Profile
Re: Spaghetti Westerns
« Reply #3 on: February 28, 2009, 01:52:59 am »
cool stuff.  also when you write out the show, the plugin is no longer needed to play the show because its output is captured in the show as frames.  The plugins would not need an ini file, just a standard function that modifies an info structure pointer that contains a web DL string among other things.
All you would need is to code this in and publish a basic example plugin 'solution' and people could build on that.
« Last Edit: February 28, 2009, 01:56:53 am by drlava »

Offline Fanny Pack

  • Moderator
  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Spaghetti Westerns
« Reply #4 on: February 28, 2009, 09:25:35 am »
Good ideas.  I like idea of having web links so that they can automatically be installed from some website.  Not everyone would put them on a website but it would still be nice to add such functionality for those people that do, though.

I don't plan on adding support for plug-ins unless the use of Spaghetti picks up to the point where it makes sense.  But, I'll keep that in mind as develop the application so that it won't be impossible to add support for it if it ever becomes desireable.

For now, I'll just add everything directly to the application. 

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Spaghetti Westerns
« Reply #5 on: February 28, 2009, 11:19:08 am »
well im using it :) im in a holding pattern for the next month but after that its all full on laser time..


 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal