Blurry Blur Blur

After working on a project for a while utilizing native as3 3d space, moving objects along the z axis, rotation and having the time of my life,
I realized that as soon as you try something stupid like that, every object will be blurred even if you reset their position to their original 2D positions, with no rotation, and the z position set to 0.

The designers would, of course, have none of it.

If any of you have encountered this issue and need a workaround, here is one:

1) remember your objects x/y positions
2) set your matrix3D to null (someObject.transform.matrix3D = null)
this will place your objects in your corner, so you need to
3) reset x/y on your objects. you know them from 1)

For example:

var position:Point = new Point(content.x, content.y);
content.transform.matrix3D = null;
content.x = position.x;
content.y = position.y;

 

One Response to Flash : Objects get blurry after rotating in 3D-space

  1. Malyngo says:

    Great workaround, thank you very much! :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>