Import SWF animation as a Texture?

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Fred_Pyo
Posts: 25
Joined: Sat Nov 02, 2002 8:31 pm
Location: Somewhere in South America

Import SWF animation as a Texture?

Post by Fred_Pyo »

How hard could it be to code a plugin (or hardcode it into Blender) with which you can specify a SWF file you want to load allowing you to use the animation as a texture for an object? Just wondering... (I'm not asking for you to code it, although that would be neat, I'm just considering the possibilities :roll: )

- Thanks :)

z3r0_d
Posts: 289
Joined: Wed Oct 16, 2002 2:38 am
Contact:

Post by z3r0_d »

can't quicktime load swf files? ... though I don't know exacly how well that works

Fred_Pyo
Posts: 25
Joined: Sat Nov 02, 2002 8:31 pm
Location: Somewhere in South America

Post by Fred_Pyo »

Well, I don't know how that app opens flash... The thing is, I think it would be interesting to be able to import a vector animation as a texture (for placing 2d sprites) and render them seamlessly with the 3d environment, this I think could come specially handy because the vector graphic will be small in size and LIKE we all know, there wouldn't be a size limitation... Hmmm... maybe I should start learing to code plug-ins for blender...

How hard can it actually be?

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip »

There are tools that can convert a swf to an mpg or avi, I realy have no idea how hard creating an swf loader would be nor what sort of tools are available to do so,

good luck with the idea.

LetterRip

Brandano
Posts: 0
Joined: Mon Apr 19, 2004 6:03 pm

Post by Brandano »

Depending on the kind of SWF making a reader can be either a little difficult or incredibly difficult. If you were to specify that the SWF to be used as texture has to be a keyframed animation, wth no actions, probably readig them is feasible. However, the SWF format isn't a simple format per se. SWF animations are actually interpreted by a virutal machine, and can be dynamically controlled by their scripting language. In any case the content of SWF files is mostly vectors (though you can have bitmaps in them as well, both JPG and PNG compressed, just to make life easier) and writing a reader for them isn't quite the easiest task. It's little wonder that while the file format is public the code for the browser plugin isn't

oyster
Posts: 0
Joined: Sat Mar 29, 2003 4:41 pm
Contact:

Post by oyster »

LetterRip wrote:There are tools that can convert a swf to an mpg or avi
Is there a free one, especially on windows?

poutsa
Posts: 0
Joined: Sat Jan 03, 2004 4:49 pm
Location: Munich (Germany)

Post by poutsa »

Here:

http://www.pizzinini.net/projects/swf2avi/


seeYa

Vassilios Boucer

Post Reply