AsWing 3D experiment

iiley July 13th, 2009

From AWSSOFT’s Droower comments, i saw Srdjan has done some transform of AsWing components. There is a Rotated/Skewed text with scrollbar, so i guess maybe we can made 3D effects for user interface by just AsWing components, with some test, i first just rotate a JList with JFrame, sadly the text will not be shown when rotated(this should be a well-known flash feature), see this rotation. I guess Srdjan cached his text into a Bitmap, so his Rotated/Skewed text displays well.

Then, i tested the new properties from FP10, rotationX/Y/Z, it’s exciting that FP10 renders text very well in 3D transform. See this rotation_y. It’s almost a realy 3D user interface, currently everything is fine except the Drag function of JFrameTitleBar, maybe the drag() function doesn’t works with 3D transform.

rotation_y

Here’s the source code snip(it’s simple):

AsWingManager.initAsStandard(this);
var sprite:Sprite = new Sprite();
addChild(sprite);

var jf:JFrame = new JFrame(sprite, "Test JFrame");
var jlist:JList = new JList();
var model:VectorListModel = new VectorListModel();
for(var i:int=0; i<100; i++){
model.append(i + " uitem");
}
jlist.setModel(model);
jf.setContentPane(new JScrollPane(jlist));

jf.setSizeWH(300, 160);
jf.show();

sprite.x = sprite.y = 150;
sprite.rotation = -40;

3 Responses to “AsWing 3D experiment”

  1. Srdjanon 05 Aug 2009 at 9:02 am

    i made scrollbox based on AsWing ScrollBar, with skew feature only (this a flash feature and AsWing flexibility as the AsWing component can be attached to the Sprite ), this is something new for me, It’s look really amazing, I hope there is a solution to dragging.

  2. iileyon 05 Aug 2009 at 9:07 am

    Hi Srdjan, here’s a draging one : http://www.victordramba.com/?p=34

  3. Srdjanon 05 Aug 2009 at 9:51 am

    Great, This is a totally new dimension. I will add new task to my todo list: 3D environment.

Trackback URI | Comments RSS

Leave a Reply

Bad Behavior has blocked 826 access attempts in the last 7 days.