Hi Fabrice,
I thought I would try it anyway...
I just modified AbstractRenderSession to trace lines in the following
format:
{ c:Number, a:[ [Type:String, N:Number, N:Number, N:Number, N:Number],
[etc.], [etc.] ] }
and then iterated through each line in an AS2 file, filling with c as
the color and then using moveTo, lineTo, or curveTo depending on
whether Type was 'M', 'L', or 'C'The model is the word "retirement" extruded in Archer (a serifed font). One frame render of it was 32k, that's a lot of numbers :) If I rounded all of the vertexes to whole numbers it dropped the files size to 14k. The same word, drawn in the Flash IDE, is between 2 and 5 k... Still, it was a worthy experiment and easier than I thought to capture that output to the log file. On Nov 8, 1:59 pm, Jeffrey Blyseth <[email protected]> wrote: > Right, basically record the animation and then playback with the > drawing api. It's a good idea, I've actually tried something like > that in the past before using away3d or papervision. But if you have > a lot of points, as you say, even those text strings can end up > producing an enormous swf. Thanks for the idea. It would be cool if > away had a "recorder" like this, so you could enable it and it would > output drawing api commands, in the proper order for correct depth > ordering... > > On Nov 8, 12:40 pm, Fabrice3D <[email protected]> wrote: > > > > > If the logo is not to complex, there is one way you could consider: > > Define the original order, I mean all vertexes sorted per colors, then > > replace all anchors/points by moviclipsprites > > so that it renders in away (simple dots should be enough), then each > > render, save all position in same sequence, back in F8, just use > > lineto/curveto to reproduce. > > AIR would be great help here, you could open first a file, and each > > render write into the file you will open in f8 to reproduce. > > > Fabrice > > > On Nov 8, 2009, at 7:55 PM, Jeffrey Blyseth wrote: > > > > Here's a crazy question. I need to create a 3d text logo fly through. > > > My big issue is that it needs to be Flash 8 or earlier and file size > > > needs to be <=30k. The flash version requirement removes away3dlite, > > > and my basic scene with everything I need and the model using > > > VectorText is about 125k. So what I'm wondering is, can I create my > > > scene in Away3d, and somehow export vector frames...This would give me > > > a lot cleaner vectors than other options (I tried using Swift3DLW and > > > it's a joke). > > > Is there a way that I can "bake" the whole thing and then put it in an > > > earlier version swf?
