Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flash 3d Blurred text

I have one of the most common issues that people face when they use transformations in the 3d space. The problem is that the content that is being transformed in 3d gets blurry.

Now to fix this there is one famous solution.

i.e assuming the object is say mc.

mc.transform.matrix3d = null;

Once the animation ends you could set the movieclip's 3d matrix to null. This fixes the problem but there is a definite jerking you see when the animation completes and the matrix3d is nullified.

One of the solutions defined in flashandmath is

http://www.flashandmath.com/flashcs4/blursol/index.html

But this is not working fine for me.

If someone has a better solution that works across the board ( without any jerks! ) please let the community know !

like image 378
ganaraj Avatar asked Aug 02 '12 16:08

ganaraj


1 Answers

Without an actual source code it's hard to pinpoint the exact cause for it, but in general, all blurring in Flash happens due to either the resampling of the image (compensating smoothness/sharpness when showing the image in size different than its original size) or due to non-integer values of the object's coordinates.

To fix this, you usually have to make sure that all your objects have integer (non-floating point) coordinates (especially the text objects) and make sure you apply that scaling correction fix that you linked to, to prevent the resampling of the 3d objects, and you should be good to go.

like image 95
ArtBIT Avatar answered Oct 17 '22 00:10

ArtBIT