You don’t necessarily have to reset the 2d matrix – you just have to make sure 
that all of your 3d properties are set back to the values they would have if 
the object were again in 2d.

In the original example, if the only thing you did was to change the z 
location, and then you reset it to 0, then the text should not be blurry any 
longer (we recognize that the object no longer needs a 3D transform and just do 
the right 2D thing instead). I suspect that you are setting more 3D properties 
than simply the z property (like rotationX, rotationY, etc.), so even though 
you’re zeroing-out the ‘z’ property, that’s not enough to take the object out 
of 3D and put it on the 2D plane again.

Figure out the other 3D properties that you’re tweaking (just take a look at 
the matrix when it’s back in the state where you think it should be 2D) and 
reset the ones that are still in 3D.

Chet.


From: [email protected] [mailto:[email protected]] On Behalf 
Of thomas parquier
Sent: Friday, August 07, 2009 11:21 AM
To: [email protected]
Subject: Re: [flexcoders] Flex & 3d Tweening and best practice/results for Text



Hi,

When objects are back to 2d, you have to reset 2d matrix to get rid of blurry 
effect.

thomas
---
http://www.web-attitude.fr/
msn : [email protected]<mailto:[email protected]>
softphone : sip:[email protected]<mailto:sip%[email protected]>
téléphone portable : +33601 822 056

2009/8/5 djhatrick <[email protected]<mailto:[email protected]>>


I have a displayObject, a panel, doing 3d stuff with the panel... However after 
I tween my object to z=0, the text looks blurry after the animation has stopped.

Is there a way to make the text look sharp:

fontAntiAliasType="advanced"

I've tried but that gives not-passable results.

Thanks,
Patrick


Reply via email to