Font Exporter [UPDATED]
UPDATE: Version 1.1 of the FontExporter is available in the download link below. This is the version I am using now with FlashCS3 and is working correctly.
I've been developing a second component for vectors in Away3D these days. This time, its a FontExporter panel for Flash that creates a font class containing all the vector data for that a given typography. It's very similar to Five3D's exporter, but for Away3D. It really simplifies the task of using 3d vector fonts with the engine.
The latest Away3D trunk was just merged yesterday into the textfields branch, which is currently changing to adapt to this component, plus receiving overall improvements for vector element handling. At the moment, the runtime ttf parser used in the engine is unplugged, so that's why I decided to post this FontExporter component even though its not finished... its the only way to work with fonts at the time in Away3D, but it works smoothly, and its really easy to use. The TextField3D primitive behaves a little different now.
To use it:
Install the component: http://www.lidev.com.ar/demos/fontexporter/FontExporter.mxp.zip
Restart Flash and look for the panel in Window -> Other Panels.
Select a font and click on the generate button. Then paste the content that was generated into the clipboard in your font class. Then:
var font:MyFont = new MyFont(); //Generated by the exporter...
var txt3d:TextField3D = new TextField3D("blah blah blah", font);
_scene.addChild(txt3d);
Contact me if you need help! As soon as I finish all this, I will make a tutorial to clarify things...
Enjoy!
Sprite3DExporter v1.1
A new release of the Sprite3D generator component. The exporter is now made more robust and easier
to use. Download it here.
New Features.
- Recursive vector data analysis. Export much more complex vector graphics, as those expected to
be produced in Adobe Illustrator.
- Recursive break apart. No need to worry about what kind of elements are in your clip; groups, movie clips, graphics, etc... it doesn't matter =)
- No changes to your clip. The exporter generates a copy of your clip to make its analysis, so you can be 100% certain that your clip will not be altered.
- Slight changes to the panel's UI with instructions included in a help panel.
Sprite3DExporter Component [UPDATED]
[UPDATE] This refers to an old version of the component.
I'm working on a handy component for Flash + Away3D. Its a little panel that basically converts any vector art designed in the Flash IDE to an actionscript class that can be used in Away3D as a full 3d vector object. Just draw your graphics, click the button in the panel and paste the code in your Away project. Simple, but powerful!
Make sure to have a go at testing it if you're interested in this topic, its extremely simple to use. Creating extruded logos is specially a simple process of a few steps. I would appreciate any suggestions, enhancements, bug reports, etc, from the community. These features are still experimental and subject to grow towards a lot of possible directions from here.
Enjoy!
Instructions [UPDATED]:
1 - Click on the header image to download the component.
2- With flash closed, unzip the file and double click the mxp installer. Follow the Suite's Extension Manager to complete the installation.
3 - In Flash go to Window, Other Panels, Sprite3DGenerator. Follow the instructions from there by clicking the help button.
NOTE - Set your Away3D project normally, but make sure to use the textfields branch: http://away3d.googlecode.com/svn/branches/textfields/src/away3d/




