Darcey,

1. Will the Away3D v2.5 include the TextField3D?
Perhaps... I think so.

2. What version of Away3D is the TextField branch built on?
2.2, as soon as it came out.

3. Do you have a pure AS3 example of this working?
The demo on away3d.com is right'clickable for source view.

 // I placed a trace in away3d.loaders.TTFLoader for result
on Arial loader complete (was success)
ttf loading and parsing is still experimental and it may fail at some
points. I am willing to correct bugs and continue development as you guys
use the feature and detect problems.

var _textfield:TextField3D = new TextField3D("hello",
"assets/embedded/fonts/Arial.
>
> ttf", {textSize:40});
>            _textfield.material = new ColorMaterial(0xFFFFFF);
>            _textfield.extrudeMaterial = new ColorMaterial(0x333333);
>            _textfield.extrude(10);
>            scene.addChild(_textfield);

There might be a problem with ttf parsing here... My parser really works for
simple mac ttf files so far, and ttf files can vary a lot regarding internal
encoding stuff, so its not that simple to have a light parser that can
handle anything.

I am working on a much more holistic solution that should be ready soon, but
on the mean time I recommend using Five3D´s flash panel to convert the fonts
into an AS3 class and then parse that data with the away parser.

If you need help or guidelines on how to do this, let me know.

go here http://five3d.mathieu-badimon.com/ and click on make a new
typography file v2 and follow the instructions on the documentation in the
download.
The right'clickable demo on away3d.com is using classes generated by this
panel, check out there how to use them.

Hope it helps, and please let me know if you have any problems. I want to
see what people do with this feature, so I can help remove any obstacles in
the way.

On Thu, Dec 4, 2008 at 9:03 AM, Darcey <[EMAIL PROTECTED]> wrote:

>
> Hi Guys,
>
> I'm trying to user the vector text into a project I am working on.
>
> Got some questions:
>
> 1. Will the Away3D v2.5 include the TextField3D?
> 2. What version of Away3D is the TextField branch built on?
> 3. Do you have a pure AS3 example of this working?
>
> I have tried with no success:
>            // Code
>            // I placed a trace in away3d.loaders.TTFLoader for result
> on Arial loader complete (was success)
>            // Also tried a camera.lookat = _textfield still no joy
>
>            var _textfield:TextField3D = new TextField3D("hello",
> "assets/embedded/fonts/Arial.ttf", {textSize:40});
>            _textfield.material = new ColorMaterial(0xFFFFFF);
>            _textfield.extrudeMaterial = new ColorMaterial(0x333333);
>            _textfield.extrude(10);
>            scene.addChild(_textfield);
>
>            // ** RESULT**
>            // Nothing displayed
>
> Does anyone have an examples of how to use the class correctly?
>
> Thanks
>
> Darcey

Reply via email to